#9C8F24#9C8F24
#9C8F24 is a light, vivid yellow. Relative luminance 0.268; OKLCH L 64.3% C 0.122 H 102.1°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8F24 |
|---|---|
| RGB | rgb(156, 143, 36) |
| HSL | hsl(54, 63%, 38%) |
| HSV | hsv(54, 77%, 61%) |
| CMYK | cmyk(0%, 8.3%, 76.9%, 38.8%) |
| CIE-LAB | lab(58.83, -7.15, 54.67) |
| CIE-LCH | lch(58.83, 55.13, 97.45°) |
| OKLab | oklab(64.26% -0.0257 0.1197) |
| OKLCH | oklch(64.26% 0.122 102.1) |
| XYZ | xyz(23.8523, 26.8413, 5.5932) |
| Luminance | 0.2684 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 4.82
Baby Shit Brown
#AD900D
ΔE00 5.24
Dark Mustard
#A88905
ΔE00 5.72
Diarrhea
#9F8303
ΔE00 5.75
Brown Yellow
#B29705
ΔE00 5.93
Pea Soup
#929901
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8F24 #24319C
analogous
#9C5324 #9C8F24 #6D9C24
triadic
#9C8F24 #249C8F #8F249C
tetradic
#9C8F24 #249C53 #24319C #9C246D
square
#9C8F24 #249C53 #24319C #9C246D
split-complementary
#9C8F24 #246D9C #53249C
monochromatic
#39340D #6A6119 #9C8F24 #CEBD2F #DACD60
Accessibility & contrast
On white
3.30
#9C8F24 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.37
#9C8F24 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8F24
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8F24 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8F24 | 1.00 | 3.30 | 6.37 | 6.37 |
| #FFFFFF | 3.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9D8A0D
Deuteranopia (green-blind)
#A1902C
Tritanopia (blue-blind)
#A8847B
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #9c8f24; /* rgb */ color: rgb(156, 143, 36); /* oklch */ color: oklch(64.3% 0.122 102.1);
Tailwind
colors: {
custom: {
50: '#bdaf68',
500: '#9c8f24',
950: '#000000',
},
}SCSS
$custom: #9c8f24; $custom-light: #bdaf68; $custom-dark: #000000;
JSON
{
"hex": "#9c8f24",
"rgb": {
"r": 156,
"g": 143,
"b": 36
},
"hsl": {
"h": 53.5,
"s": 62.5,
"l": 37.647
},
"oklch": {
"l": 0.64263,
"c": 0.12246,
"h": 102.1
},
"luminance": 0.2684
}Semantic roles & 50–950 ramp
primary
#9C8F24
secondary
#5C67BF
accent
#54E642
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A