#9D851E#9D851E
#9D851E is a light, moderate yellow. Relative luminance 0.240; OKLCH L 62.1% C 0.118 H 95.0°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #9D851E |
|---|---|
| RGB | rgb(157, 133, 30) |
| HSL | hsl(49, 68%, 37%) |
| HSV | hsv(49, 81%, 62%) |
| CMYK | cmyk(0%, 15.3%, 80.9%, 38.4%) |
| CIE-LAB | lab(56.13, -1.46, 54.29) |
| CIE-LCH | lch(56.13, 54.31, 91.54°) |
| OKLab | oklab(62.13% -0.0102 0.1177) |
| OKLCH | oklch(62.13% 0.118 95) |
| XYZ | xyz(22.5278, 24.0382, 4.6813) |
| Luminance | 0.2404 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 1.97
Dark Mustard
#A88905
ΔE00 3.29
Baby Poop
#937C00
ΔE00 3.60
Yellowish Brown
#9B7A01
ΔE00 4.48
Yellowy Brown
#AE8B0C
ΔE00 4.53
Baby Poo
#AB9004
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D851E #1E369D
analogous
#9D451E #9D851E #769D1E
triadic
#9D851E #1E9D85 #851E9D
tetradic
#9D851E #1E9D45 #1E369D #9D1E76
square
#9D851E #1E9D45 #1E369D #9D1E76
split-complementary
#9D851E #1E769D #451E9D
monochromatic
#362E0A #6A5914 #9D851E #D0B128 #DFC557
Accessibility & contrast
On white
3.62
#9D851E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.81
#9D851E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D851E
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D851E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D851E | 1.00 | 3.62 | 5.81 | 5.81 |
| #FFFFFF | 3.62 | 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)
#948204
Deuteranopia (green-blind)
#9A8A25
Tritanopia (blue-blind)
#AA7A72
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #9d851e; /* rgb */ color: rgb(157, 133, 30); /* oklch */ color: oklch(62.1% 0.118 95.0);
Tailwind
colors: {
custom: {
50: '#bea864',
500: '#9d851e',
950: '#000000',
},
}SCSS
$custom: #9d851e; $custom-light: #bea864; $custom-dark: #000000;
JSON
{
"hex": "#9d851e",
"rgb": {
"r": 157,
"g": 133,
"b": 30
},
"hsl": {
"h": 48.661,
"s": 67.914,
"l": 36.667
},
"oklch": {
"l": 0.62134,
"c": 0.11809,
"h": 95
},
"luminance": 0.24037
}Semantic roles & 50–950 ramp
primary
#9D851E
secondary
#5469C2
accent
#5EEB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A