#9C8A23#9C8A23
#9C8A23 is a light, moderate yellow. Relative luminance 0.254; OKLCH L 63.2% C 0.119 H 98.8°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8A23 |
|---|---|
| RGB | rgb(156, 138, 35) |
| HSL | hsl(51, 63%, 37%) |
| HSV | hsv(51, 78%, 61%) |
| CMYK | cmyk(0%, 11.5%, 77.6%, 38.8%) |
| CIE-LAB | lab(57.43, -4.47, 53.72) |
| CIE-LCH | lch(57.43, 53.91, 94.76°) |
| OKLab | oklab(63.15% -0.0182 0.1175) |
| OKLCH | oklch(63.15% 0.119 98.8) |
| XYZ | xyz(23.1033, 25.3674, 5.2693) |
| Luminance | 0.2537 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 3.87
Dark Mustard
#A88905
ΔE00 4.33
Baby Poo
#AB9004
ΔE00 4.43
Baby Shit Brown
#AD900D
ΔE00 4.69
Baby Poop
#937C00
ΔE00 5.15
Yellowy Brown
#AE8B0C
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8A23 #23359C
analogous
#9C4D23 #9C8A23 #729C23
triadic
#9C8A23 #239C8A #8A239C
tetradic
#9C8A23 #239C4D #23359C #9C2372
square
#9C8A23 #239C4D #23359C #9C2372
split-complementary
#9C8A23 #23729C #4D239C
monochromatic
#38320D #6A5E18 #9C8A23 #CEB62E #DBC85E
Accessibility & contrast
On white
3.46
#9C8A23 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.07
#9C8A23 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8A23
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8A23 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8A23 | 1.00 | 3.46 | 6.07 | 6.07 |
| #FFFFFF | 3.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#98860D
Deuteranopia (green-blind)
#9D8D2A
Tritanopia (blue-blind)
#A97F76
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #9c8a23; /* rgb */ color: rgb(156, 138, 35); /* oklch */ color: oklch(63.2% 0.119 98.8);
Tailwind
colors: {
custom: {
50: '#bdab67',
500: '#9c8a23',
950: '#000000',
},
}SCSS
$custom: #9c8a23; $custom-light: #bdab67; $custom-dark: #000000;
JSON
{
"hex": "#9c8a23",
"rgb": {
"r": 156,
"g": 138,
"b": 35
},
"hsl": {
"h": 51.074,
"s": 63.351,
"l": 37.451
},
"oklch": {
"l": 0.63153,
"c": 0.11893,
"h": 98.8
},
"luminance": 0.25366
}Semantic roles & 50–950 ramp
primary
#9C8A23
secondary
#5B6AC0
accent
#5AE641
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A