#9C852F#9C852F
#9C852F is a light, moderate yellow. Relative luminance 0.240; OKLCH L 62.2% C 0.107 H 93.9°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #9C852F |
|---|---|
| RGB | rgb(156, 133, 47) |
| HSL | hsl(47, 54%, 40%) |
| HSV | hsv(47, 70%, 61%) |
| CMYK | cmyk(0%, 14.7%, 69.9%, 38.8%) |
| CIE-LAB | lab(56.14, -1.12, 47.68) |
| CIE-LCH | lch(56.14, 47.69, 91.35°) |
| OKLab | oklab(62.16% -0.0073 0.1071) |
| OKLCH | oklch(62.16% 0.107 93.9) |
| XYZ | xyz(22.6121, 24.0494, 6.1398) |
| Luminance | 0.2405 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 3.77
Baby Poop
#937C00
ΔE00 4.61
Dark Mustard
#A88905
ΔE00 4.79
Yellowish Brown
#9B7A01
ΔE00 5.24
Puke Brown
#947706
ΔE00 5.62
Yellowy Brown
#AE8B0C
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C852F #2F469C
analogous
#9C4E2F #9C852F #7D9C2F
triadic
#9C852F #2F9C85 #852F9C
tetradic
#9C852F #2F9C4E #2F469C #9C2F7D
square
#9C852F #2F9C4E #2F469C #9C2F7D
split-complementary
#9C852F #2F7D9C #4E2F9C
monochromatic
#3E3513 #6D5D21 #9C852F #C6AA42 #D4BF71
Accessibility & contrast
On white
3.61
#9C852F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.81
#9C852F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C852F
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C852F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C852F | 1.00 | 3.61 | 5.81 | 5.81 |
| #FFFFFF | 3.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938324
Deuteranopia (green-blind)
#998A33
Tritanopia (blue-blind)
#A97B73
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #9c852f; /* rgb */ color: rgb(156, 133, 47); /* oklch */ color: oklch(62.2% 0.107 93.9);
Tailwind
colors: {
custom: {
50: '#bca86c',
500: '#9c852f',
950: '#000000',
},
}SCSS
$custom: #9c852f; $custom-light: #bca86c; $custom-dark: #000000;
JSON
{
"hex": "#9c852f",
"rgb": {
"r": 156,
"g": 133,
"b": 47
},
"hsl": {
"h": 47.339,
"s": 53.695,
"l": 39.804
},
"oklch": {
"l": 0.62155,
"c": 0.1073,
"h": 93.9
},
"luminance": 0.24048
}Semantic roles & 50–950 ramp
primary
#9C852F
secondary
#6B7CBC
accent
#6ADD4B
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#120F07
muted
#817F7A