#9C8B20#9C8B20
#9C8B20 is a light, vivid yellow. Relative luminance 0.256; OKLCH L 63.4% C 0.121 H 99.7°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8B20 |
|---|---|
| RGB | rgb(156, 139, 32) |
| HSL | hsl(52, 66%, 37%) |
| HSV | hsv(52, 79%, 61%) |
| CMYK | cmyk(0%, 10.9%, 79.5%, 38.8%) |
| CIE-LAB | lab(57.69, -5.14, 55.00) |
| CIE-LCH | lch(57.69, 55.24, 95.34°) |
| OKLab | oklab(63.36% -0.0204 0.1196) |
| OKLCH | oklch(63.36% 0.121 99.7) |
| XYZ | xyz(23.2048, 25.6386, 5.0927) |
| Luminance | 0.2564 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 4.14
Baby Poo
#AB9004
ΔE00 4.27
Dark Mustard
#A88905
ΔE00 4.46
Baby Shit Brown
#AD900D
ΔE00 4.61
Baby Poop
#937C00
ΔE00 5.44
Yellowy Brown
#AE8B0C
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8B20 #20319C
analogous
#9C4D20 #9C8B20 #6F9C20
triadic
#9C8B20 #209C8B #8B209C
tetradic
#9C8B20 #209C4D #20319C #9C206F
square
#9C8B20 #209C4D #20319C #9C206F
split-complementary
#9C8B20 #206F9C #4D209C
monochromatic
#36310B #695E16 #9C8B20 #CFB82A #DDCB59
Accessibility & contrast
On white
3.43
#9C8B20 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.13
#9C8B20 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8B20
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8B20 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8B20 | 1.00 | 3.43 | 6.13 | 6.13 |
| #FFFFFF | 3.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#998705
Deuteranopia (green-blind)
#9E8D28
Tritanopia (blue-blind)
#A98077
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #9c8b20; /* rgb */ color: rgb(156, 139, 32); /* oklch */ color: oklch(63.4% 0.121 99.7);
Tailwind
colors: {
custom: {
50: '#bdac65',
500: '#9c8b20',
950: '#000000',
},
}SCSS
$custom: #9c8b20; $custom-light: #bdac65; $custom-dark: #000000;
JSON
{
"hex": "#9c8b20",
"rgb": {
"r": 156,
"g": 139,
"b": 32
},
"hsl": {
"h": 51.774,
"s": 65.957,
"l": 36.863
},
"oklch": {
"l": 0.63355,
"c": 0.12135,
"h": 99.7
},
"luminance": 0.25637
}Semantic roles & 50–950 ramp
primary
#9C8B20
secondary
#5765C1
accent
#56E93F
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A