#5C901F#5C901F
#5C901F is a mid, vivid yellow-green. Relative luminance 0.223; OKLCH L 59.5% C 0.150 H 131.7°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #5C901F |
|---|---|
| RGB | rgb(92, 144, 31) |
| HSL | hsl(88, 65%, 34%) |
| HSV | hsv(88, 78%, 56%) |
| CMYK | cmyk(36.1%, 0%, 78.5%, 43.5%) |
| CIE-LAB | lab(54.37, -35.31, 50.50) |
| CIE-LCH | lch(54.37, 61.63, 124.96°) |
| OKLab | oklab(59.47% -0.1 0.1121) |
| OKLCH | oklch(59.47% 0.15 131.7) |
| XYZ | xyz(14.6341, 22.3202, 4.8332) |
| Luminance | 0.2232 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Sap Green
#5C8B15
ΔE00 1.94
Mossy Green
#638B27
ΔE00 2.38
Olivedrab
#6B8E23
ΔE00 3.03
Moss Green (survey)
#658B38
ΔE00 3.99
Avocado
#568203
ΔE00 5.21
Grass Green
#3F9B0B
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C901F #531F90
analogous
#908C1F #5C901F #23901F
triadic
#5C901F #1F5C90 #901F5C
tetradic
#5C901F #1F908C #531F90 #901F23
square
#5C901F #1F908C #531F90 #901F23
split-complementary
#5C901F #1F2390 #8C1F90
monochromatic
#1C2B09 #3C5E14 #5C901F #7CC22A #9AD950
Accessibility & contrast
On white
3.84
#5C901F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.46
#5C901F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5C901F
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C901F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5C901F | 1.00 | 3.84 | 5.46 | 5.46 |
| #FFFFFF | 3.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#968502
Deuteranopia (green-blind)
#8F812B
Tritanopia (blue-blind)
#5D8A7B
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #5c901f; /* rgb */ color: rgb(92, 144, 31); /* oklch */ color: oklch(59.5% 0.150 131.7);
Tailwind
colors: {
custom: {
50: '#8fb164',
500: '#5c901f',
950: '#000000',
},
}SCSS
$custom: #5c901f; $custom-light: #8fb164; $custom-dark: #000000;
JSON
{
"hex": "#5c901f",
"rgb": {
"r": 92,
"g": 144,
"b": 31
},
"hsl": {
"h": 87.611,
"s": 64.571,
"l": 34.314
},
"oklch": {
"l": 0.59474,
"c": 0.15021,
"h": 131.7
},
"luminance": 0.22321
}Semantic roles & 50–950 ramp
primary
#5C901F
secondary
#814EBC
accent
#40E88D
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1006
muted
#7E7F7A