#31591C#31591C
#31591C is a dark, moderate yellow-green. Relative luminance 0.079; OKLCH L 42.0% C 0.101 H 136.5°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).
Color values
| HEX | #31591C |
|---|---|
| RGB | rgb(49, 89, 28) |
| HSL | hsl(99, 52%, 23%) |
| HSV | hsv(99, 69%, 35%) |
| CMYK | cmyk(44.9%, 0%, 68.5%, 65.1%) |
| CIE-LAB | lab(33.73, -26.42, 30.04) |
| CIE-LCH | lch(33.73, 40.00, 131.34°) |
| OKLab | oklab(41.98% -0.0732 0.0694) |
| OKLCH | oklch(41.98% 0.101 136.5) |
| XYZ | xyz(5.0485, 7.8813, 2.3536) |
| Luminance | 0.0788 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.74
Navy Green
#35530A
ΔE00 3.79
Forest
#0B5509
ΔE00 4.67
Deep Green
#02590F
ΔE00 5.02
Pine
#2B5D34
ΔE00 5.91
Bottle Green
#044A05
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31591C #441C59
analogous
#4F591C #31591C #1C5925
triadic
#31591C #1C3159 #591C31
tetradic
#31591C #1C4F59 #441C59 #59251C
square
#31591C #1C4F59 #441C59 #59251C
split-complementary
#31591C #251C59 #591C4F
monochromatic
#0D1707 #172A0D #31591C #4B882B #64B639
Accessibility & contrast
On white
8.15
#31591C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#31591C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #31591C
8.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31591C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31591C | 1.00 | 8.15 | 2.58 | 8.15 |
| #FFFFFF | 8.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C5115
Deuteranopia (green-blind)
#574E21
Tritanopia (blue-blind)
#2F564C
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #31591c; /* rgb */ color: rgb(49, 89, 28); /* oklch */ color: oklch(42.0% 0.101 136.5);
Tailwind
colors: {
custom: {
50: '#6d885b',
500: '#31591c',
950: '#000000',
},
}SCSS
$custom: #31591c; $custom-light: #6d885b; $custom-dark: #000000;
JSON
{
"hex": "#31591c",
"rgb": {
"r": 49,
"g": 89,
"b": 28
},
"hsl": {
"h": 99.344,
"s": 52.137,
"l": 22.941
},
"oklch": {
"l": 0.41984,
"c": 0.10087,
"h": 136.5
},
"luminance": 0.07882
}Semantic roles & 50–950 ramp
primary
#31591C
secondary
#74428F
accent
#4CDCAA
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070B04
muted
#7A7C79