#31640E#31640E
#31640E is a mid, vivid yellow-green. Relative luminance 0.098; OKLCH L 45.0% C 0.126 H 136.2°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).
Color values
| HEX | #31640E |
|---|---|
| RGB | rgb(49, 100, 14) |
| HSL | hsl(96, 75%, 22%) |
| HSV | hsv(96, 86%, 39%) |
| CMYK | cmyk(51%, 0%, 86%, 60.8%) |
| CIE-LAB | lab(37.48, -32.50, 39.47) |
| CIE-LCH | lch(37.48, 51.13, 129.47°) |
| OKLab | oklab(45.02% -0.0907 0.0871) |
| OKLCH | oklch(45.02% 0.126 136.2) |
| XYZ | xyz(5.9029, 9.7986, 1.9957) |
| Luminance | 0.0980 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Darkgreen
#006400
ΔE00 4.14
Camouflage Green
#4B6113
ΔE00 5.86
Deep Green
#02590F
ΔE00 6.01
Navy Green
#35530A
ΔE00 6.12
Forest
#0B5509
ΔE00 6.28
Forest Green
#2D5A27
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31640E #410E64
analogous
#5C640E #31640E #0E6416
triadic
#31640E #0E3164 #640E31
tetradic
#31640E #0E5C64 #410E64 #64160E
square
#31640E #0E5C64 #410E64 #64160E
split-complementary
#31640E #160E64 #640E5C
monochromatic
#0D1B04 #172E06 #31640E #4B9A16 #66CF1D
Accessibility & contrast
On white
7.10
#31640E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#31640E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #31640E
7.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31640E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31640E | 1.00 | 7.10 | 2.96 | 7.10 |
| #FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#685B00
Deuteranopia (green-blind)
#615718
Tritanopia (blue-blind)
#2F6054
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #31640e; /* rgb */ color: rgb(49, 100, 14); /* oklch */ color: oklch(45.0% 0.126 136.2);
Tailwind
colors: {
custom: {
50: '#6f9055',
500: '#31640e',
950: '#000000',
},
}SCSS
$custom: #31640e; $custom-light: #6f9055; $custom-dark: #000000;
JSON
{
"hex": "#31640e",
"rgb": {
"r": 49,
"g": 100,
"b": 14
},
"hsl": {
"h": 95.581,
"s": 75.439,
"l": 22.353
},
"oklch": {
"l": 0.45023,
"c": 0.12571,
"h": 136.2
},
"luminance": 0.09799
}Semantic roles & 50–950 ramp
primary
#31640E
secondary
#71319D
accent
#36F2A5
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C03
muted
#7B7D78