#9C8D20#9C8D20
#9C8D20 is a light, vivid yellow. Relative luminance 0.262; OKLCH L 63.8% C 0.123 H 101.0°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8D20 |
|---|---|
| RGB | rgb(156, 141, 32) |
| HSL | hsl(53, 66%, 37%) |
| HSV | hsv(53, 79%, 61%) |
| CMYK | cmyk(0%, 9.6%, 79.5%, 38.8%) |
| CIE-LAB | lab(58.25, -6.23, 55.50) |
| CIE-LCH | lch(58.25, 55.85, 96.40°) |
| OKLab | oklab(63.8% -0.0234 0.1207) |
| OKLCH | oklch(63.8% 0.123 101) |
| XYZ | xyz(23.4970, 26.2231, 5.1901) |
| Luminance | 0.2622 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 4.40
Baby Shit Brown
#AD900D
ΔE00 4.81
Diarrhea
#9F8303
ΔE00 4.90
Dark Mustard
#A88905
ΔE00 5.02
Brown Yellow
#B29705
ΔE00 5.80
Yellowy Brown
#AE8B0C
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8D20 #202F9C
analogous
#9C4F20 #9C8D20 #6D9C20
triadic
#9C8D20 #209C8D #8D209C
tetradic
#9C8D20 #209C4F #202F9C #9C206D
square
#9C8D20 #209C4F #202F9C #9C206D
split-complementary
#9C8D20 #206D9C #4F209C
monochromatic
#36310B #695F16 #9C8D20 #CFBB2A #DDCD59
Accessibility & contrast
On white
3.36
#9C8D20 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.24
#9C8D20 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8D20
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8D20 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8D20 | 1.00 | 3.36 | 6.24 | 6.24 |
| #FFFFFF | 3.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8904
Deuteranopia (green-blind)
#9F8F28
Tritanopia (blue-blind)
#A98279
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #9c8d20; /* rgb */ color: rgb(156, 141, 32); /* oklch */ color: oklch(63.8% 0.123 101.0);
Tailwind
colors: {
custom: {
50: '#bdae65',
500: '#9c8d20',
950: '#000000',
},
}SCSS
$custom: #9c8d20; $custom-light: #bdae65; $custom-dark: #000000;
JSON
{
"hex": "#9c8d20",
"rgb": {
"r": 156,
"g": 141,
"b": 32
},
"hsl": {
"h": 52.742,
"s": 65.957,
"l": 36.863
},
"oklch": {
"l": 0.63796,
"c": 0.12297,
"h": 101
},
"luminance": 0.26222
}Semantic roles & 50–950 ramp
primary
#9C8D20
secondary
#5764C1
accent
#53E93F
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A