#5F7E13#5F7E13
#5F7E13 is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 54.9% C 0.132 H 125.5°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #5F7E13 |
|---|---|
| RGB | rgb(95, 126, 19) |
| HSL | hsl(77, 74%, 28%) |
| HSV | hsv(77, 85%, 49%) |
| CMYK | cmyk(24.6%, 0%, 84.9%, 50.6%) |
| CIE-LAB | lab(48.76, -26.26, 49.13) |
| CIE-LCH | lch(48.76, 55.71, 118.12°) |
| OKLab | oklab(54.94% -0.0765 0.1071) |
| OKLCH | oklch(54.94% 0.132 125.5) |
| XYZ | xyz(12.2978, 17.4014, 3.3269) |
| Luminance | 0.1740 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 2.55
Dirty Green
#667E2C
ΔE00 3.03
Olive Green
#677A04
ΔE00 3.28
Murky Green
#6C7A0E
ΔE00 4.22
Sap Green
#5C8B15
ΔE00 4.95
Poop Green
#6F7C00
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F7E13 #32137E
analogous
#7E6713 #5F7E13 #297E13
triadic
#5F7E13 #135F7E #7E135F
tetradic
#5F7E13 #137E67 #32137E #7E1329
square
#5F7E13 #137E67 #32137E #7E1329
split-complementary
#5F7E13 #13297E #67137E
monochromatic
#141B04 #37490B #5F7E13 #87B31B #ABDF2C
Accessibility & contrast
On white
4.69
#5F7E13 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.48
#5F7E13 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F7E13
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F7E13 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F7E13 | 1.00 | 4.69 | 4.48 | 4.69 |
| #FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#81731F
Tritanopia (blue-blind)
#64786B
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #5f7e13; /* rgb */ color: rgb(95, 126, 19); /* oklch */ color: oklch(54.9% 0.132 125.5);
Tailwind
colors: {
custom: {
50: '#90a35d',
500: '#5f7e13',
950: '#000000',
},
}SCSS
$custom: #5f7e13; $custom-light: #90a35d; $custom-dark: #000000;
JSON
{
"hex": "#5f7e13",
"rgb": {
"r": 95,
"g": 126,
"b": 19
},
"hsl": {
"h": 77.383,
"s": 73.793,
"l": 28.431
},
"oklch": {
"l": 0.54942,
"c": 0.13165,
"h": 125.5
},
"luminance": 0.17402
}Semantic roles & 50–950 ramp
primary
#5F7E13
secondary
#5D39B4
accent
#37F06D
background
#F9FAF5
surface
#F1F3E9
border
#CBCDC5
text
#0D0F05
muted
#7E7F79