#5C8227#5C8227
#5C8227 is a mid, vivid yellow-green. Relative luminance 0.184; OKLCH L 55.9% C 0.127 H 129.4°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #5C8227 |
|---|---|
| RGB | rgb(92, 130, 39) |
| HSL | hsl(85, 54%, 33%) |
| HSV | hsv(85, 70%, 51%) |
| CMYK | cmyk(29.2%, 0%, 70%, 49%) |
| CIE-LAB | lab(49.96, -28.28, 43.10) |
| CIE-LCH | lch(49.96, 51.55, 123.27°) |
| OKLab | oklab(55.9% -0.0802 0.0978) |
| OKLCH | oklch(55.9% 0.127 129.4) |
| XYZ | xyz(12.7624, 18.3867, 4.7956) |
| Luminance | 0.1839 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dirty Green
#667E2C
ΔE00 3.00
Avocado
#568203
ΔE00 3.13
Swamp
#698339
ΔE00 3.38
Mossy Green
#638B27
ΔE00 3.45
Moss Green (survey)
#658B38
ΔE00 3.76
Sap Green
#5C8B15
ΔE00 4.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C8227 #4D2782
analogous
#827A27 #5C8227 #2E8227
triadic
#5C8227 #275C82 #82275C
tetradic
#5C8227 #27827A #4D2782 #82272E
square
#5C8227 #27827A #4D2782 #82272E
split-complementary
#5C8227 #272E82 #7A2782
monochromatic
#19240B #3B5319 #5C8227 #7DB135 #9BCD57
Accessibility & contrast
On white
4.49
#5C8227 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.68
#5C8227 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5C8227
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C8227 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5C8227 | 1.00 | 4.49 | 4.68 | 4.68 |
| #FFFFFF | 4.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#88791A
Deuteranopia (green-blind)
#83762F
Tritanopia (blue-blind)
#5F7C70
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #5c8227; /* rgb */ color: rgb(92, 130, 39); /* oklch */ color: oklch(55.9% 0.127 129.4);
Tailwind
colors: {
custom: {
50: '#8da667',
500: '#5c8227',
950: '#000000',
},
}SCSS
$custom: #5c8227; $custom-light: #8da667; $custom-dark: #000000;
JSON
{
"hex": "#5c8227",
"rgb": {
"r": 92,
"g": 130,
"b": 39
},
"hsl": {
"h": 85.055,
"s": 53.846,
"l": 33.137
},
"oklch": {
"l": 0.55904,
"c": 0.12651,
"h": 129.4
},
"luminance": 0.18387
}Semantic roles & 50–950 ramp
primary
#5C8227
secondary
#7B53B1
accent
#4BDD88
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A