#9C8337#9C8337
#9C8337 is a mid, moderate yellow. Relative luminance 0.236; OKLCH L 61.8% C 0.100 H 91.0°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8337 |
|---|---|
| RGB | rgb(156, 131, 55) |
| HSL | hsl(45, 48%, 41%) |
| HSV | hsv(45, 65%, 61%) |
| CMYK | cmyk(0%, 16%, 64.7%, 38.8%) |
| CIE-LAB | lab(55.66, 0.49, 43.52) |
| CIE-LCH | lch(55.66, 43.52, 89.35°) |
| OKLab | oklab(61.8% -0.0017 0.0996) |
| OKLCH | oklch(61.8% 0.1 91) |
| XYZ | xyz(22.5173, 23.5776, 6.9786) |
| Luminance | 0.2358 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 5.04
Yellowish Brown
#9B7A01
ΔE00 5.48
Baby Poop
#937C00
ΔE00 5.53
Hazel
#8E7618
ΔE00 5.62
Puke Brown
#947706
ΔE00 5.76
Dark Mustard
#A88905
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8337 #37509C
analogous
#9C5137 #9C8337 #839C37
triadic
#9C8337 #379C83 #83379C
tetradic
#9C8337 #379C51 #37509C #9C3783
square
#9C8337 #379C51 #37509C #9C3783
split-complementary
#9C8337 #37839C #51379C
monochromatic
#423717 #6F5D27 #9C8337 #C1A54F #D1BC7C
Accessibility & contrast
On white
3.67
#9C8337 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.72
#9C8337 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8337
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8337 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8337 | 1.00 | 3.67 | 5.72 | 5.72 |
| #FFFFFF | 3.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#91812F
Deuteranopia (green-blind)
#97883A
Tritanopia (blue-blind)
#A87973
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #9c8337; /* rgb */ color: rgb(156, 131, 55); /* oklch */ color: oklch(61.8% 0.100 91.0);
Tailwind
colors: {
custom: {
50: '#bca671',
500: '#9c8337',
950: '#000000',
},
}SCSS
$custom: #9c8337; $custom-light: #bca671; $custom-dark: #000000;
JSON
{
"hex": "#9c8337",
"rgb": {
"r": 156,
"g": 131,
"b": 55
},
"hsl": {
"h": 45.149,
"s": 47.867,
"l": 41.373
},
"oklch": {
"l": 0.61803,
"c": 0.09956,
"h": 91
},
"luminance": 0.23576
}Semantic roles & 50–950 ramp
primary
#9C8337
secondary
#7586BA
accent
#72D750
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#120F08
muted
#817F7B