#9D8B20#9D8B20
#9D8B20 is a light, vivid yellow. Relative luminance 0.257; OKLCH L 63.5% C 0.121 H 99.1°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #9D8B20 |
|---|---|
| RGB | rgb(157, 139, 32) |
| HSL | hsl(51, 66%, 37%) |
| HSV | hsv(51, 80%, 62%) |
| CMYK | cmyk(0%, 11.5%, 79.6%, 38.4%) |
| CIE-LAB | lab(57.79, -4.68, 55.12) |
| CIE-LCH | lch(57.79, 55.32, 94.86°) |
| OKLab | oklab(63.45% -0.0191 0.1199) |
| OKLCH | oklch(63.45% 0.121 99.1) |
| XYZ | xyz(23.3992, 25.7388, 5.1018) |
| Luminance | 0.2574 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 3.92
Baby Poo
#AB9004
ΔE00 4.03
Dark Mustard
#A88905
ΔE00 4.17
Baby Shit Brown
#AD900D
ΔE00 4.35
Yellowy Brown
#AE8B0C
ΔE00 5.34
Baby Poop
#937C00
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D8B20 #20329D
analogous
#9D4D20 #9D8B20 #719D20
triadic
#9D8B20 #209D8B #8B209D
tetradic
#9D8B20 #209D4D #20329D #9D2071
square
#9D8B20 #209D4D #20329D #9D2071
split-complementary
#9D8B20 #20719D #4D209D
monochromatic
#37310B #6A5E16 #9D8B20 #D0B82A #DDCA5A
Accessibility & contrast
On white
3.42
#9D8B20 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.15
#9D8B20 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D8B20
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D8B20 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D8B20 | 1.00 | 3.42 | 6.15 | 6.15 |
| #FFFFFF | 3.42 | 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)
#998705
Deuteranopia (green-blind)
#9E8E28
Tritanopia (blue-blind)
#AA8077
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #9d8b20; /* rgb */ color: rgb(157, 139, 32); /* oklch */ color: oklch(63.5% 0.121 99.1);
Tailwind
colors: {
custom: {
50: '#beac65',
500: '#9d8b20',
950: '#000000',
},
}SCSS
$custom: #9d8b20; $custom-light: #beac65; $custom-dark: #000000;
JSON
{
"hex": "#9d8b20",
"rgb": {
"r": 157,
"g": 139,
"b": 32
},
"hsl": {
"h": 51.36,
"s": 66.138,
"l": 37.059
},
"oklch": {
"l": 0.63453,
"c": 0.12137,
"h": 99.1
},
"luminance": 0.25738
}Semantic roles & 50–950 ramp
primary
#9D8B20
secondary
#5767C1
accent
#57E93F
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A