#9C8335#9C8335
#9C8335 is a mid, moderate yellow. Relative luminance 0.236; OKLCH L 61.8% C 0.101 H 91.3°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8335 |
|---|---|
| RGB | rgb(156, 131, 53) |
| HSL | hsl(45, 49%, 41%) |
| HSV | hsv(45, 66%, 61%) |
| CMYK | cmyk(0%, 16%, 66%, 38.8%) |
| CIE-LAB | lab(55.64, 0.36, 44.44) |
| CIE-LCH | lch(55.64, 44.44, 89.54°) |
| OKLab | oklab(61.78% -0.0023 0.1012) |
| OKLCH | oklch(61.78% 0.101 91.3) |
| XYZ | xyz(22.4703, 23.5588, 6.7312) |
| Luminance | 0.2356 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 4.72
Yellowish Brown
#9B7A01
ΔE00 5.25
Baby Poop
#937C00
ΔE00 5.25
Hazel
#8E7618
ΔE00 5.48
Puke Brown
#947706
ΔE00 5.56
Dark Mustard
#A88905
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8335 #354E9C
analogous
#9C4F35 #9C8335 #819C35
triadic
#9C8335 #359C83 #83359C
tetradic
#9C8335 #359C4F #354E9C #9C3581
square
#9C8335 #359C4F #354E9C #9C3581
split-complementary
#9C8335 #35819C #4F359C
monochromatic
#413616 #6E5D25 #9C8335 #C2A64C #D2BC7A
Accessibility & contrast
On white
3.68
#9C8335 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.71
#9C8335 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8335
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8335 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8335 | 1.00 | 3.68 | 5.71 | 5.71 |
| #FFFFFF | 3.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#91812C
Deuteranopia (green-blind)
#978839
Tritanopia (blue-blind)
#A87972
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #9c8335; /* rgb */ color: rgb(156, 131, 53); /* oklch */ color: oklch(61.8% 0.101 91.3);
Tailwind
colors: {
custom: {
50: '#bca670',
500: '#9c8335',
950: '#000000',
},
}SCSS
$custom: #9c8335; $custom-light: #bca670; $custom-dark: #000000;
JSON
{
"hex": "#9c8335",
"rgb": {
"r": 156,
"g": 131,
"b": 53
},
"hsl": {
"h": 45.437,
"s": 49.282,
"l": 40.98
},
"oklch": {
"l": 0.61782,
"c": 0.10124,
"h": 91.3
},
"luminance": 0.23558
}Semantic roles & 50–950 ramp
primary
#9C8335
secondary
#7284BA
accent
#70D94F
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#120F08
muted
#817F7B