#9C8F20#9C8F20
#9C8F20 is a light, vivid yellow. Relative luminance 0.268; OKLCH L 64.2% C 0.125 H 102.3°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8F20 |
|---|---|
| RGB | rgb(156, 143, 32) |
| HSL | hsl(54, 66%, 37%) |
| HSV | hsv(54, 79%, 61%) |
| CMYK | cmyk(0%, 8.3%, 79.5%, 38.8%) |
| CIE-LAB | lab(58.81, -7.31, 56.00) |
| CIE-LCH | lch(58.81, 56.48, 97.44°) |
| OKLab | oklab(64.24% -0.0265 0.1218) |
| OKLCH | oklch(64.24% 0.125 102.3) |
| XYZ | xyz(23.7946, 26.8182, 5.2893) |
| Luminance | 0.2682 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 4.67
Baby Shit Brown
#AD900D
ΔE00 5.13
Dark Mustard
#A88905
ΔE00 5.63
Diarrhea
#9F8303
ΔE00 5.68
Brown Yellow
#B29705
ΔE00 5.78
Pea Soup
#929901
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8F20 #202D9C
analogous
#9C5120 #9C8F20 #6B9C20
triadic
#9C8F20 #209C8F #8F209C
tetradic
#9C8F20 #209C51 #202D9C #9C206B
square
#9C8F20 #209C51 #202D9C #9C206B
split-complementary
#9C8F20 #206B9C #51209C
monochromatic
#36320B #696016 #9C8F20 #CFBE2A #DDCF59
Accessibility & contrast
On white
3.30
#9C8F20 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.36
#9C8F20 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8F20
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8F20 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8F20 | 1.00 | 3.30 | 6.36 | 6.36 |
| #FFFFFF | 3.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9D8A02
Deuteranopia (green-blind)
#A19029
Tritanopia (blue-blind)
#A8847A
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #9c8f20; /* rgb */ color: rgb(156, 143, 32); /* oklch */ color: oklch(64.2% 0.125 102.3);
Tailwind
colors: {
custom: {
50: '#bdaf66',
500: '#9c8f20',
950: '#000000',
},
}SCSS
$custom: #9c8f20; $custom-light: #bdaf66; $custom-dark: #000000;
JSON
{
"hex": "#9c8f20",
"rgb": {
"r": 156,
"g": 143,
"b": 32
},
"hsl": {
"h": 53.71,
"s": 65.957,
"l": 36.863
},
"oklch": {
"l": 0.64239,
"c": 0.12464,
"h": 102.3
},
"luminance": 0.26817
}Semantic roles & 50–950 ramp
primary
#9C8F20
secondary
#5762C1
accent
#51E93F
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A