#9D8F24#9D8F24
#9D8F24 is a light, vivid yellow. Relative luminance 0.269; OKLCH L 64.4% C 0.122 H 101.5°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #9D8F24 |
|---|---|
| RGB | rgb(157, 143, 36) |
| HSL | hsl(53, 63%, 38%) |
| HSV | hsv(53, 77%, 62%) |
| CMYK | cmyk(0%, 8.9%, 77.1%, 38.4%) |
| CIE-LAB | lab(58.92, -6.70, 54.79) |
| CIE-LCH | lch(58.92, 55.19, 96.97°) |
| OKLab | oklab(64.36% -0.0244 0.12) |
| OKLCH | oklch(64.36% 0.122 101.5) |
| XYZ | xyz(24.0467, 26.9415, 5.6023) |
| Luminance | 0.2694 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 4.54
Baby Shit Brown
#AD900D
ΔE00 4.94
Dark Mustard
#A88905
ΔE00 5.44
Diarrhea
#9F8303
ΔE00 5.54
Brown Yellow
#B29705
ΔE00 5.69
Pea Soup
#929901
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D8F24 #24329D
analogous
#9D5324 #9D8F24 #6E9D24
triadic
#9D8F24 #249D8F #8F249D
tetradic
#9D8F24 #249D53 #24329D #9D246E
square
#9D8F24 #249D53 #24329D #9D246E
split-complementary
#9D8F24 #246E9D #53249D
monochromatic
#39340D #6B6219 #9D8F24 #CFBC2F #DBCD61
Accessibility & contrast
On white
3.29
#9D8F24 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.39
#9D8F24 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D8F24
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D8F24 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D8F24 | 1.00 | 3.29 | 6.39 | 6.39 |
| #FFFFFF | 3.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9D8B0D
Deuteranopia (green-blind)
#A1902C
Tritanopia (blue-blind)
#A9847B
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #9d8f24; /* rgb */ color: rgb(157, 143, 36); /* oklch */ color: oklch(64.4% 0.122 101.5);
Tailwind
colors: {
custom: {
50: '#beaf68',
500: '#9d8f24',
950: '#000000',
},
}SCSS
$custom: #9d8f24; $custom-light: #beaf68; $custom-dark: #000000;
JSON
{
"hex": "#9d8f24",
"rgb": {
"r": 157,
"g": 143,
"b": 36
},
"hsl": {
"h": 53.058,
"s": 62.694,
"l": 37.843
},
"oklch": {
"l": 0.64359,
"c": 0.12242,
"h": 101.5
},
"luminance": 0.2694
}Semantic roles & 50–950 ramp
primary
#9D8F24
secondary
#5D68C0
accent
#55E642
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A