#9C8F2B#9C8F2B
#9C8F2B is a light, moderate yellow. Relative luminance 0.269; OKLCH L 64.3% C 0.118 H 101.7°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8F2B |
|---|---|
| RGB | rgb(156, 143, 43) |
| HSL | hsl(53, 57%, 39%) |
| HSV | hsv(53, 72%, 61%) |
| CMYK | cmyk(0%, 8.3%, 72.4%, 38.8%) |
| CIE-LAB | lab(58.87, -6.82, 52.09) |
| CIE-LCH | lch(58.87, 52.54, 97.46°) |
| OKLab | oklab(64.31% -0.024 0.1156) |
| OKLCH | oklch(64.31% 0.118 101.7) |
| XYZ | xyz(23.9699, 26.8883, 6.2124) |
| Luminance | 0.2689 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 5.19
Baby Shit Brown
#AD900D
ΔE00 5.53
Diarrhea
#9F8303
ΔE00 5.94
Dark Mustard
#A88905
ΔE00 5.95
Brown Yellow
#B29705
ΔE00 6.29
Pea Soup
#929901
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8F2B #2B389C
analogous
#9C572B #9C8F2B #719C2B
triadic
#9C8F2B #2B9C8F #8F2B9C
tetradic
#9C8F2B #2B9C57 #2B389C #9C2B71
square
#9C8F2B #2B9C57 #2B389C #9C2B71
split-complementary
#9C8F2B #2B719C #572B9C
monochromatic
#3C3711 #6C631E #9C8F2B #C9B93B #D6CA6B
Accessibility & contrast
On white
3.29
#9C8F2B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.38
#9C8F2B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8F2B
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8F2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8F2B | 1.00 | 3.29 | 6.38 | 6.38 |
| #FFFFFF | 3.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9C8B1B
Deuteranopia (green-blind)
#A09031
Tritanopia (blue-blind)
#A8857B
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #9c8f2b; /* rgb */ color: rgb(156, 143, 43); /* oklch */ color: oklch(64.3% 0.118 101.7);
Tailwind
colors: {
custom: {
50: '#bdaf6b',
500: '#9c8f2b',
950: '#000000',
},
}SCSS
$custom: #9c8f2b; $custom-light: #bdaf6b; $custom-dark: #000000;
JSON
{
"hex": "#9c8f2b",
"rgb": {
"r": 156,
"g": 143,
"b": 43
},
"hsl": {
"h": 53.097,
"s": 56.784,
"l": 39.02
},
"oklch": {
"l": 0.64311,
"c": 0.11811,
"h": 101.7
},
"luminance": 0.26887
}Semantic roles & 50–950 ramp
primary
#9C8F2B
secondary
#6670BD
accent
#59E048
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#121007
muted
#817F7A