#9D8B24#9D8B24
#9D8B24 is a light, moderate yellow. Relative luminance 0.258; OKLCH L 63.5% C 0.119 H 98.8°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #9D8B24 |
|---|---|
| RGB | rgb(157, 139, 36) |
| HSL | hsl(51, 63%, 38%) |
| HSV | hsv(51, 77%, 62%) |
| CMYK | cmyk(0%, 11.5%, 77.1%, 38.4%) |
| CIE-LAB | lab(57.81, -4.52, 53.75) |
| CIE-LCH | lch(57.81, 53.94, 94.81°) |
| OKLab | oklab(63.48% -0.0183 0.1178) |
| OKLCH | oklch(63.48% 0.119 98.8) |
| XYZ | xyz(23.4569, 25.7619, 5.4057) |
| Luminance | 0.2576 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 4.04
Baby Poo
#AB9004
ΔE00 4.24
Dark Mustard
#A88905
ΔE00 4.31
Baby Shit Brown
#AD900D
ΔE00 4.50
Yellowy Brown
#AE8B0C
ΔE00 5.43
Baby Poop
#937C00
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D8B24 #24369D
analogous
#9D4E24 #9D8B24 #739D24
triadic
#9D8B24 #249D8B #8B249D
tetradic
#9D8B24 #249D4E #24369D #9D2473
square
#9D8B24 #249D4E #24369D #9D2473
split-complementary
#9D8B24 #24739D #4E249D
monochromatic
#39330D #6B5F19 #9D8B24 #CFB72F #DBC961
Accessibility & contrast
On white
3.41
#9D8B24 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.15
#9D8B24 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D8B24
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D8B24 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D8B24 | 1.00 | 3.41 | 6.15 | 6.15 |
| #FFFFFF | 3.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#99870F
Deuteranopia (green-blind)
#9E8E2B
Tritanopia (blue-blind)
#AA8077
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #9d8b24; /* rgb */ color: rgb(157, 139, 36); /* oklch */ color: oklch(63.5% 0.119 98.8);
Tailwind
colors: {
custom: {
50: '#beac67',
500: '#9d8b24',
950: '#000000',
},
}SCSS
$custom: #9d8b24; $custom-light: #beac67; $custom-dark: #000000;
JSON
{
"hex": "#9d8b24",
"rgb": {
"r": 157,
"g": 139,
"b": 36
},
"hsl": {
"h": 51.074,
"s": 62.694,
"l": 37.843
},
"oklch": {
"l": 0.63478,
"c": 0.11916,
"h": 98.8
},
"luminance": 0.25761
}Semantic roles & 50–950 ramp
primary
#9D8B24
secondary
#5D6CC0
accent
#5AE642
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A