#9C8C20#9C8C20
#9C8C20 is a light, vivid yellow. Relative luminance 0.259; OKLCH L 63.6% C 0.122 H 100.3°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8C20 |
|---|---|
| RGB | rgb(156, 140, 32) |
| HSL | hsl(52, 66%, 37%) |
| HSV | hsv(52, 79%, 61%) |
| CMYK | cmyk(0%, 10.3%, 79.5%, 38.8%) |
| CIE-LAB | lab(57.97, -5.68, 55.25) |
| CIE-LCH | lch(57.97, 55.54, 95.88°) |
| OKLab | oklab(63.58% -0.0219 0.1202) |
| OKLCH | oklch(63.58% 0.122 100.3) |
| XYZ | xyz(23.3503, 25.9295, 5.1412) |
| Luminance | 0.2593 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 4.31
Diarrhea
#9F8303
ΔE00 4.52
Baby Shit Brown
#AD900D
ΔE00 4.69
Dark Mustard
#A88905
ΔE00 4.73
Baby Poop
#937C00
ΔE00 5.80
Brown Yellow
#B29705
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8C20 #20309C
analogous
#9C4E20 #9C8C20 #6E9C20
triadic
#9C8C20 #209C8C #8C209C
tetradic
#9C8C20 #209C4E #20309C #9C206E
square
#9C8C20 #209C4E #20309C #9C206E
split-complementary
#9C8C20 #206E9C #4E209C
monochromatic
#36310B #695E16 #9C8C20 #CFBA2A #DDCC59
Accessibility & contrast
On white
3.39
#9C8C20 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.19
#9C8C20 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8C20
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8C20 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8C20 | 1.00 | 3.39 | 6.19 | 6.19 |
| #FFFFFF | 3.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8804
Deuteranopia (green-blind)
#9F8E28
Tritanopia (blue-blind)
#A98178
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #9c8c20; /* rgb */ color: rgb(156, 140, 32); /* oklch */ color: oklch(63.6% 0.122 100.3);
Tailwind
colors: {
custom: {
50: '#bdad65',
500: '#9c8c20',
950: '#000000',
},
}SCSS
$custom: #9c8c20; $custom-light: #bdad65; $custom-dark: #000000;
JSON
{
"hex": "#9c8c20",
"rgb": {
"r": 156,
"g": 140,
"b": 32
},
"hsl": {
"h": 52.258,
"s": 65.957,
"l": 36.863
},
"oklch": {
"l": 0.63575,
"c": 0.12215,
"h": 100.3
},
"luminance": 0.25928
}Semantic roles & 50–950 ramp
primary
#9C8C20
secondary
#5764C1
accent
#55E93F
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A