#597E12#597E12
#597E12 is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.5% C 0.135 H 127.9°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #597E12 |
|---|---|
| RGB | rgb(89, 126, 18) |
| HSL | hsl(81, 75%, 28%) |
| HSV | hsv(81, 86%, 49%) |
| CMYK | cmyk(29.4%, 0%, 85.7%, 50.6%) |
| CIE-LAB | lab(48.37, -28.81, 48.92) |
| CIE-LCH | lch(48.37, 56.77, 120.50°) |
| OKLab | oklab(54.52% -0.0831 0.1067) |
| OKLCH | oklch(54.52% 0.135 127.9) |
| XYZ | xyz(11.6899, 17.0889, 3.2548) |
| Luminance | 0.1709 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 1.85
Dirty Green
#667E2C
ΔE00 3.60
Olive Green
#677A04
ΔE00 4.45
Sap Green
#5C8B15
ΔE00 4.72
Mossy Green
#638B27
ΔE00 4.98
Swamp
#698339
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#597E12 #37127E
analogous
#7E6D12 #597E12 #237E12
triadic
#597E12 #12597E #7E1259
tetradic
#597E12 #127E6D #37127E #7E1223
square
#597E12 #127E6D #37127E #7E1223
split-complementary
#597E12 #12237E #6D127E
monochromatic
#131B04 #33480A #597E12 #7FB41A #A2E12A
Accessibility & contrast
On white
4.75
#597E12 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.42
#597E12 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #597E12
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##597E12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##597E12 | 1.00 | 4.75 | 4.42 | 4.75 |
| #FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857400
Deuteranopia (green-blind)
#80721F
Tritanopia (blue-blind)
#5D786B
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #597e12; /* rgb */ color: rgb(89, 126, 18); /* oklch */ color: oklch(54.5% 0.135 127.9);
Tailwind
colors: {
custom: {
50: '#8ca35c',
500: '#597e12',
950: '#000000',
},
}SCSS
$custom: #597e12; $custom-light: #8ca35c; $custom-dark: #000000;
JSON
{
"hex": "#597e12",
"rgb": {
"r": 89,
"g": 126,
"b": 18
},
"hsl": {
"h": 80.556,
"s": 75,
"l": 28.235
},
"oklch": {
"l": 0.54523,
"c": 0.13525,
"h": 127.9
},
"luminance": 0.17089
}Semantic roles & 50–950 ramp
primary
#597E12
secondary
#6238B4
accent
#36F276
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0C0F04
muted
#7D7F79