#31560F#31560F
#31560F is a dark, moderate yellow-green. Relative luminance 0.073; OKLCH L 41.0% C 0.106 H 133.7°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).
Color values
| HEX | #31560F |
|---|---|
| RGB | rgb(49, 86, 15) |
| HSL | hsl(91, 70%, 20%) |
| HSV | hsv(91, 83%, 34%) |
| CMYK | cmyk(43%, 0%, 82.6%, 66.3%) |
| CIE-LAB | lab(32.57, -26.10, 34.53) |
| CIE-LCH | lch(32.57, 43.29, 127.09°) |
| OKLab | oklab(41% -0.0734 0.0769) |
| OKLCH | oklch(41% 0.106 133.7) |
| XYZ | xyz(4.6806, 7.3428, 1.6225) |
| Luminance | 0.0734 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Navy Green
#35530A
ΔE00 1.79
Forest
#0B5509
ΔE00 4.88
Forest Green
#2D5A27
ΔE00 4.93
Dark Olive Green
#3C4D03
ΔE00 5.54
Deep Green
#02590F
ΔE00 5.68
Army Green
#4B5D16
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31560F #340F56
analogous
#54560F #31560F #0F5611
triadic
#31560F #0F3156 #560F31
tetradic
#31560F #0F5456 #340F56 #56110F
square
#31560F #0F5456 #340F56 #56110F
split-complementary
#31560F #110F56 #560F54
monochromatic
#0F1A05 #132206 #31560F #4F8A18 #6CBE21
Accessibility & contrast
On white
8.51
#31560F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#31560F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #31560F
8.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31560F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31560F | 1.00 | 8.51 | 2.47 | 8.51 |
| #FFFFFF | 8.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A4E01
Deuteranopia (green-blind)
#554C16
Tritanopia (blue-blind)
#315249
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #31560f; /* rgb */ color: rgb(49, 86, 15); /* oklch */ color: oklch(41.0% 0.106 133.7);
Tailwind
colors: {
custom: {
50: '#6d8654',
500: '#31560f',
950: '#000000',
},
}SCSS
$custom: #31560f; $custom-light: #6d8654; $custom-dark: #000000;
JSON
{
"hex": "#31560f",
"rgb": {
"r": 49,
"g": 86,
"b": 15
},
"hsl": {
"h": 91.268,
"s": 70.297,
"l": 19.804
},
"oklch": {
"l": 0.41001,
"c": 0.10629,
"h": 133.7
},
"luminance": 0.07343
}Semantic roles & 50–950 ramp
primary
#31560F
secondary
#623190
accent
#3BED98
background
#F6F8F5
surface
#ECEFE8
border
#C7CAC4
text
#070B03
muted
#7A7C78