#5F9B23#5F9B23
#5F9B23 is a light, vivid yellow-green. Relative luminance 0.260; OKLCH L 62.5% C 0.160 H 133.0°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #5F9B23 |
|---|---|
| RGB | rgb(95, 155, 35) |
| HSL | hsl(90, 63%, 37%) |
| HSV | hsv(90, 77%, 61%) |
| CMYK | cmyk(38.7%, 0%, 77.4%, 39.2%) |
| CIE-LAB | lab(58.03, -38.82, 52.72) |
| CIE-LCH | lch(58.03, 65.47, 126.37°) |
| OKLab | oklab(62.52% -0.1094 0.1173) |
| OKLCH | oklch(62.52% 0.16 133) |
| XYZ | xyz(16.7438, 25.9962, 5.7253) |
| Luminance | 0.2600 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grassy Green
#419C03
ΔE00 3.64
Lawn Green
#4DA409
ΔE00 3.79
Grass Green
#3F9B0B
ΔE00 3.80
Leaf Green
#5CA904
ΔE00 4.78
Leaf
#71AA34
ΔE00 4.99
Olivedrab
#6B8E23
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F9B23 #5F239B
analogous
#9B9B23 #5F9B23 #239B23
triadic
#5F9B23 #235F9B #9B235F
tetradic
#5F9B23 #239B9B #5F239B #9B2323
square
#5F9B23 #239B9B #5F239B #9B2323
split-complementary
#5F9B23 #23239B #9B239B
monochromatic
#22370C #406918 #5F9B23 #7ECD2E #9CDB5E
Accessibility & contrast
On white
3.39
#5F9B23 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.20
#5F9B23 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F9B23
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F9B23 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F9B23 | 1.00 | 3.39 | 6.20 | 6.20 |
| #FFFFFF | 3.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A28E05
Deuteranopia (green-blind)
#998A30
Tritanopia (blue-blind)
#5F9584
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #5f9b23; /* rgb */ color: rgb(95, 155, 35); /* oklch */ color: oklch(62.5% 0.160 133.0);
Tailwind
colors: {
custom: {
50: '#92b968',
500: '#5f9b23',
950: '#000000',
},
}SCSS
$custom: #5f9b23; $custom-light: #92b968; $custom-dark: #000000;
JSON
{
"hex": "#5f9b23",
"rgb": {
"r": 95,
"g": 155,
"b": 35
},
"hsl": {
"h": 90,
"s": 63.158,
"l": 37.255
},
"oklch": {
"l": 0.62521,
"c": 0.16038,
"h": 133
},
"luminance": 0.25997
}Semantic roles & 50–950 ramp
primary
#5F9B23
secondary
#8D5ABF
accent
#42E694
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1107
muted
#7E807A