RAL Classic color

RAL 6000 Patina green #316650

RAL 6000 Patina green is shown here as #316650, a widely published sRGB approximation of the printed swatch. It is a dark muted green in the green family. In OKLCH it sits at lightness 0.467, chroma 0.068 and hue 164.5°. The nearest CSS named color is darkslategray (#2F4F4F), ΔE2000 12.6 away.

Relative luminance
0.1073
OKLCH L · C · h
0.467 · 0.068 · 164.5
Best text
White 6.67:1
Hue family
Green

#316650 color codes

HEX
#316650
RGB
rgb(49, 102, 80)
HSL
hsl(155, 35%, 30%)
OKLCH
oklch(0.467 0.068 164.5)
OKLab
oklab(0.467 -0.065 0.018)
CIELAB (D65)
L* 39.13, a* -23.50, b* 7.08
XYZ (D65)
X 7.47, Y 10.73, Z 9.27
CMYK (naive)
cmyk(52%, 0%, 22%, 60%)

CIELAB and XYZ use the D65 white point; CSS lab() uses D50, so paste the OKLCH or HEX value into stylesheets. CMYK here is a plain formula with no press profile.

RAL and RAL Classic are trademarks of RAL gGmbH, which this site is not affiliated with. The sRGB value is an approximation of the printed swatch; check a physical RAL color card before you specify a paint.

Legibility

Contrast: is #316650 accessible?

White text on it reaches 6.67:1, passing AA. Black text manages only 3.14:1, enough for large text only.

WCAG 2 gives the same ratio whichever color is the text; APCA does not, so its Lc changes sign and size with polarity.

Open the Contrast System
  • Black text on it

    3.14:1

    • AA fails
    • AA large passes
    • AAA fails
    • APCA Lc +21
  • White text on it

    6.67:1

    • AA passes
    • AA large passes
    • AAA fails
    • APCA Lc −87
  • As text on black

    3.14:1

    • AA fails
    • AA large passes
    • AAA fails
    • APCA Lc −19
  • As text on white

    6.67:1

    • AA passes
    • AA large passes
    • AAA fails
    • APCA Lc +82

Nearest versions that pass 4.5:1

  • For text on white

    #316650 6.67:1

    It already reaches 6.67:1 on white, so no change is needed.

  • For text on black

    #4A7F68 4.52:1

    Lightening its OKLCH lightness from 0.47 to 0.55 reaches 4.52:1 on black, keeping the hue.

Checking another pair? Use the Contrast Checker.

Studio

Adjust #316650 live

Move lightness, chroma and hue in OKLCH, or drag on the map. The map is every lightness and chroma at the current hue: sRGB inside the solid area, Display P3 out to the dashed line.

The studio needs JavaScript.

Scale

Shades and tints of #316650

Eleven OKLCH lightness steps at this hue, each with its contrast against white and black. #316650 sits at step 700.

  1. 50#DBFFEE
    White
    1.07
    Black
    19.55
  2. 100#CAF8E2
    White
    1.16
    Black
    18.03
  3. 200#B4E5CD
    White
    1.39
    Black
    15.02
  4. 300#98CBB3
    White
    1.82
    Black
    11.52
  5. 400#7AAF97
    White
    2.49
    Black
    8.40
  6. 500#5E937C
    White
    3.53
    Black
    5.94
  7. 600#477B64
    White
    4.90
    Black
    4.28
  8. 700This color#316650
    White
    6.67
    Black
    3.14
  9. 800#194A37
    White
    10.11
    Black
    2.07
  10. 900#023121
    White
    14.34
    Black
    1.46
  11. 950#001C11
    White
    17.88
    Black
    1.17

Under each step, white and black text on it; a bold figure passes 4.5:1.

Gamut

How vivid #316650 can get

At its lightness and hue, sRGB reaches OKLCH chroma 0.099; #316650 uses 69% of it. Display P3, which many recent phones and laptops show, reaches 0.136 there: 37% more.

0.00.20.40.60.80.20.40.60.8 460480500520540560580600620
  • sRGB
  • Display P3
  • Rec. 2020
  • Dominant wavelength
OKLCH chroma
0.068
sRGB edge
0.099
Display P3 edge
0.136
Rec. 2020 edge
0.213
Dominant wavelength
512 nm
Excitation purity
14%
Chromaticity
x 0.2718, y 0.3908
  • This color#316650
  • Most vivid in sRGB#006B4B
  • Most vivid in Display P3oklch(0.467 0.136 164.5)

On a screen without Display P3 the last tile shows the sRGB edge instead.

Use the wider color where screens show it
.accent {
  color: #316650;
}
@media (color-gamut: p3) {
  .accent { color: color(display-p3 0 0.4311 0.2845); }
}

Mixing

Mixing #316650

Each row is the same mix worked out in a different space, with the halfway color at its end. sRGB, which older CSS gradients use, can sag gray or dark in the middle; OKLab keeps the lightness steps even; OKLCH holds chroma and hue as it goes.

White #FFFFFF

  • sRGB50%#98B3A8
  • OKLab50%#96B0A3
  • OKLCH50%#96B0A3

Black #000000

  • sRGB50%#193328
  • OKLab50%#0C231A
  • OKLCH50%#0C231A

Its complement #754A63

  • sRGB50%#53585A
  • OKLab50%#5A5A5A
  • OKLCH50%#3F5C7F
In CSS
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #316650, white);
color: color-mix(in oklch, #316650 50%, white);

In use

#316650 in an interface

A button, a link, a heading, a focused field, an icon and a chart line in this color, on a light page and a dark one. Each check is a WCAG 2 contrast minimum: 1.4.3 for text, 1.4.11 for the rest.

Light page

  • Button labelText, 4.5:16.67:1 Passes
  • Link and body-size textText, 4.5:16.67:1 Passes
  • Large headingLarge text, 3:16.67:1 Passes
  • Icons, borders and focus ringsNon-text, 3:16.67:1 Passes

Dark page

  • Button labelText, 4.5:16.67:1 Passes
  • Link and body-size textText, 4.5:12.80:1 Fails
  • Large headingLarge text, 3:12.80:1 Fails
  • Icons, borders and focus ringsNon-text, 3:12.80:1 Fails

For text on this page, the nearest shade that passes is #538870 4.57:1

Color vision

How #316650 looks with color blindness

Achromatopsia changes it most, ΔE2000 19.6; tritanopia changes it least, 7.1.

Simulated with Machado et al. (2009) at full severity, in linear light.

Simulate a whole page What each type sees
  • Protanopia

    No working red (long-wavelength) cones

    #64604F ΔE2000 18.1

    Distinct

    Reads as grayish brown

  • Deuteranopia

    No working green (medium-wavelength) cones

    #5C5A51 ΔE2000 18.3

    Distinct

    Reads as dark gray

  • Tritanopia

    No working blue (short-wavelength) cones

    #1F6660 ΔE2000 7.1

    Noticeable

    Reads as dark muted teal

  • Achromatopsia

    No cone color vision; lightness only

    #5C5C5C ΔE2000 19.6

    Distinct

    Reads as dark gray

Pairing check

Checked against its complement, #754A63. Their lightness contrast is only 1.07:1, so where hue collapses, add a label, icon or pattern.

VisionThe pairΔE2000Verdict
Normal vision#316650 · #754A6337.2Stays distinct
Protanopia#64604F · #4D536418.9Stays distinct
Deuteranopia#5C5A51 · #575A6210.0Harder to tell apart
Tritanopia#1F6660 · #7A4A5342.8Stays distinct
Achromatopsia#5C5C5C · #5757571.8Easily confused

Harmony

Color harmonies for #316650

Its complement is #754A63, a dark muted magenta, on the warm side of the wheel.

Hue rotations in OKLCH, mapped into sRGB by trimming chroma so hue and lightness stay put.

Open the Harmony Studio
  • Base#316650
  • Complement#754A63

Complementary

Open in Harmony Studio
  • −30°#4A623B
  • Base#316650
  • +30°#206665
  • Base#316650
  • +120°#55557F
  • +240°#7A4D3A
  • Base#316650
  • +150°#684E74
  • +210°#7B4A4E

Split-complementary

Open in Harmony Studio

Code

Design tokens

Ready-to-paste tokens in six formats. Rename them to fit your system.

CSS custom property

:root {
  --color-ral-6000: #316650;
}

Tailwind config

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        'ral-6000': '#316650',
      },
    },
  },
};

Tailwind v4 theme

/* app.css — Tailwind CSS v4 */
@import "tailwindcss";

@theme {
  --color-ral-6000: oklch(0.467 0.068 164.5);
}

Design token (W3C DTCG)

{
  "color": {
    "ral-6000": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [0.1922, 0.4, 0.3137],
        "hex": "#316650"
      },
      "$description": "RAL 6000 Patina green (approximate sRGB)"
    }
  }
}

SwiftUI color

import SwiftUI

enum Palette {
    static let ral6000 = Color(.sRGB, red: 0.192, green: 0.400, blue: 0.314, opacity: 1)
}

Jetpack Compose color

import androidx.compose.ui.graphics.Color

object Palette {
    val Ral6000 = Color(0xFF316650)
}

Matches

The nearest match in each system

The closest CSS name, Tailwind shade, RAL Classic paint and Crayola crayon by ΔE2000; under 2 is hard to tell apart side by side. RAL and Crayola values approximate physical colors.

Tools

Open #316650 in the tools

Each opens over this page. More colors live in the Color Library, and every color page is listed on the hub.