#9D842E#9D842E
#9D842E is a light, moderate yellow. Relative luminance 0.239; OKLCH L 62.0% C 0.108 H 92.5°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #9D842E |
|---|---|
| RGB | rgb(157, 132, 46) |
| HSL | hsl(46, 55%, 40%) |
| HSV | hsv(46, 71%, 62%) |
| CMYK | cmyk(0%, 15.9%, 70.7%, 38.4%) |
| CIE-LAB | lab(55.96, -0.17, 47.96) |
| CIE-LCH | lch(55.96, 47.96, 90.20°) |
| OKLab | oklab(62.03% -0.0048 0.1074) |
| OKLCH | oklch(62.03% 0.108 92.5) |
| XYZ | xyz(22.6502, 23.8692, 5.9984) |
| Luminance | 0.2387 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 3.59
Baby Poop
#937C00
ΔE00 4.53
Dark Mustard
#A88905
ΔE00 4.64
Yellowish Brown
#9B7A01
ΔE00 4.75
Puke Brown
#947706
ΔE00 5.25
Yellowy Brown
#AE8B0C
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D842E #2E479D
analogous
#9D4C2E #9D842E #7F9D2E
triadic
#9D842E #2E9D84 #842E9D
tetradic
#9D842E #2E9D4C #2E479D #9D2E7F
square
#9D842E #2E9D4C #2E479D #9D2E7F
split-complementary
#9D842E #2E7F9D #4C2E9D
monochromatic
#3E3412 #6E5C20 #9D842E #C7A941 #D5BE70
Accessibility & contrast
On white
3.64
#9D842E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.77
#9D842E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D842E
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D842E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D842E | 1.00 | 3.64 | 5.77 | 5.77 |
| #FFFFFF | 3.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928222
Deuteranopia (green-blind)
#988932
Tritanopia (blue-blind)
#AA7972
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #9d842e; /* rgb */ color: rgb(157, 132, 46); /* oklch */ color: oklch(62.0% 0.108 92.5);
Tailwind
colors: {
custom: {
50: '#bda76c',
500: '#9d842e',
950: '#000000',
},
}SCSS
$custom: #9d842e; $custom-light: #bda76c; $custom-dark: #000000;
JSON
{
"hex": "#9d842e",
"rgb": {
"r": 157,
"g": 132,
"b": 46
},
"hsl": {
"h": 46.486,
"s": 54.68,
"l": 39.804
},
"oklch": {
"l": 0.62033,
"c": 0.10754,
"h": 92.5
},
"luminance": 0.23868
}Semantic roles & 50–950 ramp
primary
#9D842E
secondary
#6A7DBD
accent
#6BDE4A
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#130F07
muted
#827F7A