#9C8A35#9C8A35
#9C8A35 is a light, moderate yellow. Relative luminance 0.255; OKLCH L 63.3% C 0.106 H 97.3°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8A35 |
|---|---|
| RGB | rgb(156, 138, 53) |
| HSL | hsl(50, 49%, 41%) |
| HSV | hsv(50, 66%, 61%) |
| CMYK | cmyk(0%, 11.5%, 66%, 38.8%) |
| CIE-LAB | lab(57.56, -3.52, 46.50) |
| CIE-LCH | lch(57.56, 46.63, 94.32°) |
| OKLab | oklab(63.3% -0.0134 0.1056) |
| OKLCH | oklch(63.3% 0.106 97.3) |
| XYZ | xyz(23.4424, 25.5030, 7.0553) |
| Luminance | 0.2550 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 5.09
Dark Khaki
#9B8F55
ΔE00 5.41
Dark Mustard
#A88905
ΔE00 5.54
Baby Poo
#AB9004
ΔE00 5.90
Baby Shit Brown
#AD900D
ΔE00 5.94
Baby Poop
#937C00
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8A35 #35479C
analogous
#9C5735 #9C8A35 #7A9C35
triadic
#9C8A35 #359C8A #8A359C
tetradic
#9C8A35 #359C57 #35479C #9C357A
square
#9C8A35 #359C57 #35479C #9C357A
split-complementary
#9C8A35 #357A9C #57359C
monochromatic
#413916 #6E6225 #9C8A35 #C2AE4C #D2C27A
Accessibility & contrast
On white
3.44
#9C8A35 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.10
#9C8A35 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8A35
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8A35 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8A35 | 1.00 | 3.44 | 6.10 | 6.10 |
| #FFFFFF | 3.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#97872B
Deuteranopia (green-blind)
#9C8D39
Tritanopia (blue-blind)
#A88078
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #9c8a35; /* rgb */ color: rgb(156, 138, 53); /* oklch */ color: oklch(63.3% 0.106 97.3);
Tailwind
colors: {
custom: {
50: '#bcab70',
500: '#9c8a35',
950: '#000000',
},
}SCSS
$custom: #9c8a35; $custom-light: #bcab70; $custom-dark: #000000;
JSON
{
"hex": "#9c8a35",
"rgb": {
"r": 156,
"g": 138,
"b": 53
},
"hsl": {
"h": 49.515,
"s": 49.282,
"l": 40.98
},
"oklch": {
"l": 0.63298,
"c": 0.10643,
"h": 97.3
},
"luminance": 0.25502
}Semantic roles & 50–950 ramp
primary
#9C8A35
secondary
#727FBA
accent
#67D94F
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121008
muted
#817F7B