#9C8B30#9C8B30
#9C8B30 is a light, moderate yellow. Relative luminance 0.257; OKLCH L 63.5% C 0.111 H 98.5°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8B30 |
|---|---|
| RGB | rgb(156, 139, 48) |
| HSL | hsl(51, 53%, 40%) |
| HSV | hsv(51, 69%, 61%) |
| CMYK | cmyk(0%, 10.9%, 69.2%, 38.8%) |
| CIE-LAB | lab(57.80, -4.37, 48.95) |
| CIE-LCH | lch(57.80, 49.15, 95.10°) |
| OKLab | oklab(63.47% -0.0165 0.1099) |
| OKLCH | oklch(63.47% 0.111 98.5) |
| XYZ | xyz(23.4775, 25.7477, 6.5289) |
| Luminance | 0.2575 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 4.90
Dark Mustard
#A88905
ΔE00 5.26
Baby Poo
#AB9004
ΔE00 5.35
Baby Shit Brown
#AD900D
ΔE00 5.49
Baby Poop
#937C00
ΔE00 5.97
Dark Khaki
#9B8F55
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8B30 #30419C
analogous
#9C5530 #9C8B30 #779C30
triadic
#9C8B30 #309C8B #8B309C
tetradic
#9C8B30 #309C55 #30419C #9C3077
square
#9C8B30 #309C55 #30419C #9C3077
split-complementary
#9C8B30 #30779C #55309C
monochromatic
#3E3813 #6D6122 #9C8B30 #C5B144 #D4C573
Accessibility & contrast
On white
3.41
#9C8B30 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.15
#9C8B30 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8B30
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8B30 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8B30 | 1.00 | 3.41 | 6.15 | 6.15 |
| #FFFFFF | 3.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#998724
Deuteranopia (green-blind)
#9D8D35
Tritanopia (blue-blind)
#A88178
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #9c8b30; /* rgb */ color: rgb(156, 139, 48); /* oklch */ color: oklch(63.5% 0.111 98.5);
Tailwind
colors: {
custom: {
50: '#bcac6e',
500: '#9c8b30',
950: '#000000',
},
}SCSS
$custom: #9c8b30; $custom-light: #bcac6e; $custom-dark: #000000;
JSON
{
"hex": "#9c8b30",
"rgb": {
"r": 156,
"g": 139,
"b": 48
},
"hsl": {
"h": 50.556,
"s": 52.941,
"l": 40
},
"oklch": {
"l": 0.63471,
"c": 0.11116,
"h": 98.5
},
"luminance": 0.25747
}Semantic roles & 50–950 ramp
primary
#9C8B30
secondary
#6C79BC
accent
#62DC4B
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#121007
muted
#817F7A