#31560E#31560E
#31560E is a dark, moderate yellow-green. Relative luminance 0.073; OKLCH L 41.0% C 0.107 H 133.5°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).
Color values
| HEX | #31560E |
|---|---|
| RGB | rgb(49, 86, 14) |
| HSL | hsl(91, 72%, 20%) |
| HSV | hsv(91, 84%, 34%) |
| CMYK | cmyk(43%, 0%, 83.7%, 66.3%) |
| CIE-LAB | lab(32.57, -26.17, 34.90) |
| CIE-LCH | lch(32.57, 43.62, 126.87°) |
| OKLab | oklab(40.99% -0.0736 0.0775) |
| OKLCH | oklch(40.99% 0.107 133.5) |
| XYZ | xyz(4.6736, 7.3400, 1.5859) |
| Luminance | 0.0734 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Navy Green
#35530A
ΔE00 1.73
Forest
#0B5509
ΔE00 4.91
Forest Green
#2D5A27
ΔE00 5.07
Dark Olive Green
#3C4D03
ΔE00 5.48
Deep Green
#02590F
ΔE00 5.72
Army Green
#4B5D16
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31560E #330E56
analogous
#55560E #31560E #0E560F
triadic
#31560E #0E3156 #560E31
tetradic
#31560E #0E5556 #330E56 #560F0E
square
#31560E #0E5556 #330E56 #560F0E
split-complementary
#31560E #0F0E56 #560E55
monochromatic
#0F1A04 #132105 #31560E #4F8B17 #6DBF1F
Accessibility & contrast
On white
8.51
#31560E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#31560E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #31560E
8.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31560E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31560E | 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)
#5A4E00
Deuteranopia (green-blind)
#554C16
Tritanopia (blue-blind)
#315249
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #31560e; /* rgb */ color: rgb(49, 86, 14); /* oklch */ color: oklch(41.0% 0.107 133.5);
Tailwind
colors: {
custom: {
50: '#6d8653',
500: '#31560e',
950: '#000000',
},
}SCSS
$custom: #31560e; $custom-light: #6d8653; $custom-dark: #000000;
JSON
{
"hex": "#31560e",
"rgb": {
"r": 49,
"g": 86,
"b": 14
},
"hsl": {
"h": 90.833,
"s": 72,
"l": 19.608
},
"oklch": {
"l": 0.40994,
"c": 0.10689,
"h": 133.5
},
"luminance": 0.0734
}Semantic roles & 50–950 ramp
primary
#31560E
secondary
#613090
accent
#39EF96
background
#F6F8F4
surface
#ECEFE8
border
#C7CAC4
text
#070B03
muted
#7A7C78