#9C8D30#9C8D30
#9C8D30 is a light, moderate yellow. Relative luminance 0.263; OKLCH L 63.9% C 0.113 H 100.0°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8D30 |
|---|---|
| RGB | rgb(156, 141, 48) |
| HSL | hsl(52, 53%, 40%) |
| HSV | hsv(52, 69%, 61%) |
| CMYK | cmyk(0%, 9.6%, 69.2%, 38.8%) |
| CIE-LAB | lab(58.35, -5.46, 49.52) |
| CIE-LCH | lch(58.35, 49.82, 96.29°) |
| OKLab | oklab(63.91% -0.0196 0.1111) |
| OKLCH | oklch(63.91% 0.113 100) |
| XYZ | xyz(23.7697, 26.3321, 6.6263) |
| Luminance | 0.2633 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 5.37
Diarrhea
#9F8303
ΔE00 5.50
Baby Shit Brown
#AD900D
ΔE00 5.58
Dark Mustard
#A88905
ΔE00 5.68
Dark Khaki
#9B8F55
ΔE00 6.08
Baby Poop
#937C00
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8D30 #303F9C
analogous
#9C5730 #9C8D30 #759C30
triadic
#9C8D30 #309C8D #8D309C
tetradic
#9C8D30 #309C57 #303F9C #9C3075
square
#9C8D30 #309C57 #303F9C #9C3075
split-complementary
#9C8D30 #30759C #57309C
monochromatic
#3E3813 #6D6322 #9C8D30 #C5B344 #D4C673
Accessibility & contrast
On white
3.35
#9C8D30 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.27
#9C8D30 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8D30
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8D30 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8D30 | 1.00 | 3.35 | 6.27 | 6.27 |
| #FFFFFF | 3.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8923
Deuteranopia (green-blind)
#9F8F35
Tritanopia (blue-blind)
#A8837A
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #9c8d30; /* rgb */ color: rgb(156, 141, 48); /* oklch */ color: oklch(63.9% 0.113 100.0);
Tailwind
colors: {
custom: {
50: '#bcae6e',
500: '#9c8d30',
950: '#000000',
},
}SCSS
$custom: #9c8d30; $custom-light: #bcae6e; $custom-dark: #000000;
JSON
{
"hex": "#9c8d30",
"rgb": {
"r": 156,
"g": 141,
"b": 48
},
"hsl": {
"h": 51.667,
"s": 52.941,
"l": 40
},
"oklch": {
"l": 0.6391,
"c": 0.11285,
"h": 100
},
"luminance": 0.26331
}Semantic roles & 50–950 ramp
primary
#9C8D30
secondary
#6C77BC
accent
#60DC4B
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#121007
muted
#817F7A