#9E7D19#9E7D19
#9E7D19 is a mid, moderate yellow. Relative luminance 0.220; OKLCH L 60.5% C 0.116 H 88.6°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #9E7D19 |
|---|---|
| RGB | rgb(158, 125, 25) |
| HSL | hsl(45, 73%, 36%) |
| HSV | hsv(45, 84%, 62%) |
| CMYK | cmyk(0%, 20.9%, 84.2%, 38%) |
| CIE-LAB | lab(54.04, 3.30, 54.10) |
| CIE-LCH | lch(54.04, 54.20, 86.51°) |
| OKLab | oklab(60.5% 0.0028 0.1161) |
| OKLCH | oklch(60.5% 0.116 88.6) |
| XYZ | xyz(21.6110, 22.0080, 4.0292) |
| Luminance | 0.2201 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Brown
#9B7A01
ΔE00 1.71
Puke Brown
#947706
ΔE00 3.01
Diarrhea
#9F8303
ΔE00 3.27
Baby Poop
#937C00
ΔE00 3.86
Mustard Brown
#AC7E04
ΔE00 4.08
Bronze (survey)
#A87900
ΔE00 4.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E7D19 #193A9E
analogous
#9E3A19 #9E7D19 #7C9E19
triadic
#9E7D19 #199E7D #7D199E
tetradic
#9E7D19 #199E3A #193A9E #9E197C
square
#9E7D19 #199E3A #193A9E #9E197C
split-complementary
#9E7D19 #197C9E #3A199E
monochromatic
#342908 #695311 #9E7D19 #D3A721 #E3BE4E
Accessibility & contrast
On white
3.89
#9E7D19 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.40
#9E7D19 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E7D19
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E7D19 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E7D19 | 1.00 | 3.89 | 5.40 | 5.40 |
| #FFFFFF | 3.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#958520
Tritanopia (blue-blind)
#AC716B
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #9e7d19; /* rgb */ color: rgb(158, 125, 25); /* oklch */ color: oklch(60.5% 0.116 88.6);
Tailwind
colors: {
custom: {
50: '#bfa260',
500: '#9e7d19',
950: '#000000',
},
}SCSS
$custom: #9e7d19; $custom-light: #bfa260; $custom-dark: #000000;
JSON
{
"hex": "#9e7d19",
"rgb": {
"r": 158,
"g": 125,
"b": 25
},
"hsl": {
"h": 45.113,
"s": 72.678,
"l": 35.882
},
"oklch": {
"l": 0.605,
"c": 0.11612,
"h": 88.6
},
"luminance": 0.22007
}Semantic roles & 50–950 ramp
primary
#9E7D19
secondary
#4E6BC5
accent
#66EF38
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130F05
muted
#827E7A