#9D841E#9D841E
#9D841E is a mid, moderate yellow. Relative luminance 0.238; OKLCH L 61.9% C 0.117 H 94.2°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).
Color values
| HEX | #9D841E |
|---|---|
| RGB | rgb(157, 132, 30) |
| HSL | hsl(48, 68%, 37%) |
| HSV | hsv(48, 81%, 62%) |
| CMYK | cmyk(0%, 15.9%, 80.9%, 38.4%) |
| CIE-LAB | lab(55.85, -0.90, 54.05) |
| CIE-LCH | lch(55.85, 54.05, 90.96°) |
| OKLab | oklab(61.92% -0.0086 0.1171) |
| OKLCH | oklch(61.92% 0.117 94.2) |
| XYZ | xyz(22.3915, 23.7657, 4.6359) |
| Luminance | 0.2376 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 1.84
Dark Mustard
#A88905
ΔE00 3.35
Baby Poop
#937C00
ΔE00 3.42
Yellowish Brown
#9B7A01
ΔE00 4.07
Yellowy Brown
#AE8B0C
ΔE00 4.54
Puke Brown
#947706
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D841E #1E379D
analogous
#9D451E #9D841E #779D1E
triadic
#9D841E #1E9D84 #841E9D
tetradic
#9D841E #1E9D45 #1E379D #9D1E77
square
#9D841E #1E9D45 #1E379D #9D1E77
split-complementary
#9D841E #1E779D #451E9D
monochromatic
#362E0A #6A5914 #9D841E #D0AF28 #DFC457
Accessibility & contrast
On white
3.65
#9D841E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.75
#9D841E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D841E
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D841E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D841E | 1.00 | 3.65 | 5.75 | 5.75 |
| #FFFFFF | 3.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938104
Deuteranopia (green-blind)
#998925
Tritanopia (blue-blind)
#AA7971
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #9d841e; /* rgb */ color: rgb(157, 132, 30); /* oklch */ color: oklch(61.9% 0.117 94.2);
Tailwind
colors: {
custom: {
50: '#bea763',
500: '#9d841e',
950: '#000000',
},
}SCSS
$custom: #9d841e; $custom-light: #bea763; $custom-dark: #000000;
JSON
{
"hex": "#9d841e",
"rgb": {
"r": 157,
"g": 132,
"b": 30
},
"hsl": {
"h": 48.189,
"s": 67.914,
"l": 36.667
},
"oklch": {
"l": 0.61918,
"c": 0.11744,
"h": 94.2
},
"luminance": 0.23764
}Semantic roles & 50–950 ramp
primary
#9D841E
secondary
#546AC2
accent
#5FEB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A