#9B8F24#9B8F24
#9B8F24 is a light, vivid yellow. Relative luminance 0.267; OKLCH L 64.2% C 0.123 H 102.7°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #9B8F24 |
|---|---|
| RGB | rgb(155, 143, 36) |
| HSL | hsl(54, 62%, 37%) |
| HSV | hsv(54, 77%, 61%) |
| CMYK | cmyk(0%, 7.7%, 76.8%, 39.2%) |
| CIE-LAB | lab(58.73, -7.60, 54.55) |
| CIE-LCH | lch(58.73, 55.07, 97.94°) |
| OKLab | oklab(64.17% -0.0269 0.1195) |
| OKLCH | oklch(64.17% 0.123 102.7) |
| XYZ | xyz(23.6595, 26.7419, 5.5842) |
| Luminance | 0.2674 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 5.11
Baby Shit Brown
#AD900D
ΔE00 5.54
Pea Soup
#929901
ΔE00 5.94
Diarrhea
#9F8303
ΔE00 5.97
Dark Mustard
#A88905
ΔE00 6.01
Baby Poop Green
#8F9805
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B8F24 #24309B
analogous
#9B5424 #9B8F24 #6B9B24
triadic
#9B8F24 #249B8F #8F249B
tetradic
#9B8F24 #249B54 #24309B #9B246B
square
#9B8F24 #249B54 #24309B #9B246B
split-complementary
#9B8F24 #246B9B #54249B
monochromatic
#38330D #696118 #9B8F24 #CDBD30 #DACE5F
Accessibility & contrast
On white
3.31
#9B8F24 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.35
#9B8F24 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B8F24
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B8F24 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B8F24 | 1.00 | 3.31 | 6.35 | 6.35 |
| #FFFFFF | 3.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9D8A0D
Deuteranopia (green-blind)
#A0902C
Tritanopia (blue-blind)
#A7847B
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #9b8f24; /* rgb */ color: rgb(155, 143, 36); /* oklch */ color: oklch(64.2% 0.123 102.7);
Tailwind
colors: {
custom: {
50: '#bcaf68',
500: '#9b8f24',
950: '#000000',
},
}SCSS
$custom: #9b8f24; $custom-light: #bcaf68; $custom-dark: #000000;
JSON
{
"hex": "#9b8f24",
"rgb": {
"r": 155,
"g": 143,
"b": 36
},
"hsl": {
"h": 53.95,
"s": 62.304,
"l": 37.451
},
"oklch": {
"l": 0.64167,
"c": 0.12252,
"h": 102.7
},
"luminance": 0.26741
}Semantic roles & 50–950 ramp
primary
#9B8F24
secondary
#5C66BF
accent
#53E542
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121006
muted
#817F7A