#5F7F22#5F7F22
#5F7F22 is a mid, vivid yellow-green. Relative luminance 0.177; OKLCH L 55.3% C 0.124 H 126.8°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #5F7F22 |
|---|---|
| RGB | rgb(95, 127, 34) |
| HSL | hsl(81, 58%, 32%) |
| HSV | hsv(81, 73%, 50%) |
| CMYK | cmyk(25.2%, 0%, 73.2%, 50.2%) |
| CIE-LAB | lab(49.16, -25.95, 44.40) |
| CIE-LCH | lch(49.16, 51.42, 120.30°) |
| OKLab | oklab(55.29% -0.0745 0.0997) |
| OKLCH | oklch(55.29% 0.124 126.8) |
| XYZ | xyz(12.5975, 17.7269, 4.2710) |
| Luminance | 0.1773 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dirty Green
#667E2C
ΔE00 1.99
Avocado
#568203
ΔE00 3.05
Swamp
#698339
ΔE00 3.60
Mossy Green
#638B27
ΔE00 4.36
Olive Green
#677A04
ΔE00 4.59
Sap Green
#5C8B15
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F7F22 #42227F
analogous
#7F7122 #5F7F22 #317F22
triadic
#5F7F22 #225F7F #7F225F
tetradic
#5F7F22 #227F71 #42227F #7F2231
square
#5F7F22 #227F71 #42227F #7F2231
split-complementary
#5F7F22 #22317F #71227F
monochromatic
#171E08 #3B4F15 #5F7F22 #83AF2F #A2CF4C
Accessibility & contrast
On white
4.62
#5F7F22 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.55
#5F7F22 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #5F7F22
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F7F22 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F7F22 | 1.00 | 4.62 | 4.55 | 4.62 |
| #FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867612
Deuteranopia (green-blind)
#81742A
Tritanopia (blue-blind)
#63796D
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #5f7f22; /* rgb */ color: rgb(95, 127, 34); /* oklch */ color: oklch(55.3% 0.124 126.8);
Tailwind
colors: {
custom: {
50: '#8fa464',
500: '#5f7f22',
950: '#000000',
},
}SCSS
$custom: #5f7f22; $custom-light: #8fa464; $custom-dark: #000000;
JSON
{
"hex": "#5f7f22",
"rgb": {
"r": 95,
"g": 127,
"b": 34
},
"hsl": {
"h": 80.645,
"s": 57.764,
"l": 31.569
},
"oklch": {
"l": 0.55294,
"c": 0.12446,
"h": 126.8
},
"luminance": 0.17727
}Semantic roles & 50–950 ramp
primary
#5F7F22
secondary
#6E4BB2
accent
#47E17C
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A