#9C8A30#9C8A30
#9C8A30 is a light, moderate yellow. Relative luminance 0.255; OKLCH L 63.3% C 0.110 H 97.8°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8A30 |
|---|---|
| RGB | rgb(156, 138, 48) |
| HSL | hsl(50, 53%, 40%) |
| HSV | hsv(50, 69%, 61%) |
| CMYK | cmyk(0%, 11.5%, 69.2%, 38.8%) |
| CIE-LAB | lab(57.52, -3.82, 48.67) |
| CIE-LCH | lch(57.52, 48.82, 94.49°) |
| OKLab | oklab(63.25% -0.0149 0.1093) |
| OKLCH | oklch(63.25% 0.11 97.8) |
| XYZ | xyz(23.3334, 25.4594, 6.4808) |
| Luminance | 0.2546 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 4.64
Dark Mustard
#A88905
ΔE00 5.10
Baby Poo
#AB9004
ΔE00 5.39
Baby Shit Brown
#AD900D
ΔE00 5.49
Baby Poop
#937C00
ΔE00 5.69
Dark Khaki
#9B8F55
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8A30 #30429C
analogous
#9C5430 #9C8A30 #789C30
triadic
#9C8A30 #309C8A #8A309C
tetradic
#9C8A30 #309C54 #30429C #9C3078
square
#9C8A30 #309C54 #30429C #9C3078
split-complementary
#9C8A30 #30789C #54309C
monochromatic
#3E3713 #6D6122 #9C8A30 #C5B044 #D4C473
Accessibility & contrast
On white
3.45
#9C8A30 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.09
#9C8A30 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8A30
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8A30 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8A30 | 1.00 | 3.45 | 6.09 | 6.09 |
| #FFFFFF | 3.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#988724
Deuteranopia (green-blind)
#9C8D35
Tritanopia (blue-blind)
#A88078
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #9c8a30; /* rgb */ color: rgb(156, 138, 48); /* oklch */ color: oklch(63.3% 0.110 97.8);
Tailwind
colors: {
custom: {
50: '#bcab6d',
500: '#9c8a30',
950: '#000000',
},
}SCSS
$custom: #9c8a30; $custom-light: #bcab6d; $custom-dark: #000000;
JSON
{
"hex": "#9c8a30",
"rgb": {
"r": 156,
"g": 138,
"b": 48
},
"hsl": {
"h": 50,
"s": 52.941,
"l": 40
},
"oklch": {
"l": 0.63252,
"c": 0.11034,
"h": 97.8
},
"luminance": 0.25458
}Semantic roles & 50–950 ramp
primary
#9C8A30
secondary
#6C79BC
accent
#64DC4B
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#121007
muted
#817F7A