#316237#316237
#316237 is a dark, moderate green. Relative luminance 0.097; OKLCH L 45.0% C 0.087 H 146.6°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #316237 |
|---|---|
| RGB | rgb(49, 98, 55) |
| HSL | hsl(127, 33%, 29%) |
| HSV | hsv(127, 50%, 38%) |
| CMYK | cmyk(50%, 0%, 43.9%, 61.6%) |
| CIE-LAB | lab(37.23, -26.85, 19.47) |
| CIE-LCH | lch(37.23, 33.16, 144.05°) |
| OKLab | oklab(44.97% -0.0729 0.0481) |
| OKLCH | oklch(44.97% 0.087 146.6) |
| XYZ | xyz(6.3235, 9.6637, 5.1458) |
| Luminance | 0.0966 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 1.79
Hunter Green
#355E3B
ΔE00 2.56
Forest Green
#2D5A27
ΔE00 3.70
Spruce
#0A5F38
ΔE00 4.52
Deep Green
#02590F
ΔE00 7.74
Forest
#0B5509
ΔE00 8.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#316237 #62315C
analogous
#446231 #316237 #316250
triadic
#316237 #373162 #623731
tetradic
#316237 #314462 #62315C #625031
square
#316237 #314462 #62315C #625031
split-complementary
#316237 #503162 #623144
monochromatic
#0A140B #1D3920 #316237 #458B4E #5FAF68
Accessibility & contrast
On white
7.16
#316237 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#316237 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #316237
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##316237 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##316237 | 1.00 | 7.16 | 2.93 | 7.16 |
| #FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#635A34
Deuteranopia (green-blind)
#5C563A
Tritanopia (blue-blind)
#296057
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #316237; /* rgb */ color: rgb(49, 98, 55); /* oklch */ color: oklch(45.0% 0.087 146.6);
Tailwind
colors: {
custom: {
50: '#6d8f6e',
500: '#316237',
950: '#000000',
},
}SCSS
$custom: #316237; $custom-light: #6d8f6e; $custom-dark: #000000;
JSON
{
"hex": "#316237",
"rgb": {
"r": 49,
"g": 98,
"b": 55
},
"hsl": {
"h": 127.347,
"s": 33.333,
"l": 28.824
},
"oklch": {
"l": 0.44965,
"c": 0.08737,
"h": 146.6
},
"luminance": 0.09664
}Semantic roles & 50–950 ramp
primary
#316237
secondary
#935C8C
accent
#5EBCC9
background
#F6F8F6
surface
#ECF0EC
border
#C7CBC7
text
#070C07
muted
#7A7D7A