#5D9931#5D9931
#5D9931 is a light, vivid yellow-green. Relative luminance 0.253; OKLCH L 62.0% C 0.150 H 134.5°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #5D9931 |
|---|---|
| RGB | rgb(93, 153, 49) |
| HSL | hsl(95, 51%, 40%) |
| HSV | hsv(95, 68%, 60%) |
| CMYK | cmyk(39.2%, 0%, 68%, 40%) |
| CIE-LAB | lab(57.40, -37.67, 46.70) |
| CIE-LCH | lch(57.40, 60.00, 128.89°) |
| OKLab | oklab(62% -0.1051 0.1068) |
| OKLCH | oklch(62% 0.15 134.5) |
| XYZ | xyz(16.4595, 25.3306, 6.9272) |
| Luminance | 0.2533 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Flat Green
#699D4C
ΔE00 3.93
Grass Green
#3F9B0B
ΔE00 4.14
Grassy Green
#419C03
ΔE00 4.26
Lawn Green
#4DA409
ΔE00 4.97
Mossy Green
#638B27
ΔE00 5.17
Muted Green
#5FA052
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D9931 #6D3199
analogous
#919931 #5D9931 #319939
triadic
#5D9931 #315D99 #99315D
tetradic
#5D9931 #319199 #6D3199 #993931
square
#5D9931 #319199 #6D3199 #993931
split-complementary
#5D9931 #393199 #993191
monochromatic
#253C13 #416B22 #5D9931 #7AC344 #9BD272
Accessibility & contrast
On white
3.46
#5D9931 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.07
#5D9931 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5D9931
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D9931 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5D9931 | 1.00 | 3.46 | 6.07 | 6.07 |
| #FFFFFF | 3.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9F8D23
Deuteranopia (green-blind)
#97883A
Tritanopia (blue-blind)
#5C9384
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #5d9931; /* rgb */ color: rgb(93, 153, 49); /* oklch */ color: oklch(62.0% 0.150 134.5);
Tailwind
colors: {
custom: {
50: '#8fb76f',
500: '#5d9931',
950: '#000000',
},
}SCSS
$custom: #5d9931; $custom-light: #8fb76f; $custom-dark: #000000;
JSON
{
"hex": "#5d9931",
"rgb": {
"r": 93,
"g": 153,
"b": 49
},
"hsl": {
"h": 94.615,
"s": 51.485,
"l": 39.608
},
"oklch": {
"l": 0.62003,
"c": 0.14981,
"h": 134.5
},
"luminance": 0.25331
}Semantic roles & 50–950 ramp
primary
#5D9931
secondary
#996CBA
accent
#4DDB9F
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1108
muted
#7E807B