#9E7D16#9E7D16
#9E7D16 is a mid, moderate yellow. Relative luminance 0.220; OKLCH L 60.5% C 0.117 H 88.9°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #9E7D16 |
|---|---|
| RGB | rgb(158, 125, 22) |
| HSL | hsl(45, 76%, 35%) |
| HSV | hsv(45, 86%, 62%) |
| CMYK | cmyk(0%, 20.9%, 86.1%, 38%) |
| CIE-LAB | lab(54.02, 3.21, 54.98) |
| CIE-LCH | lch(54.02, 55.08, 86.66°) |
| OKLab | oklab(60.49% 0.0023 0.1174) |
| OKLCH | oklch(60.49% 0.117 88.9) |
| XYZ | xyz(21.5804, 21.9958, 3.8679) |
| Luminance | 0.2199 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Brown
#9B7A01
ΔE00 1.51
Puke Brown
#947706
ΔE00 2.93
Diarrhea
#9F8303
ΔE00 3.10
Baby Poop
#937C00
ΔE00 3.72
Mustard Brown
#AC7E04
ΔE00 4.06
Bronze (survey)
#A87900
ΔE00 4.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E7D16 #16379E
analogous
#9E3916 #9E7D16 #7B9E16
triadic
#9E7D16 #169E7D #7D169E
tetradic
#9E7D16 #169E39 #16379E #9E167B
square
#9E7D16 #169E39 #16379E #9E167B
split-complementary
#9E7D16 #167B9E #39169E
monochromatic
#332807 #68520F #9E7D16 #D4A71D #E6C049
Accessibility & contrast
On white
3.89
#9E7D16 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.40
#9E7D16 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E7D16
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E7D16 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E7D16 | 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)
#95851D
Tritanopia (blue-blind)
#AC716B
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #9e7d16; /* rgb */ color: rgb(158, 125, 22); /* oklch */ color: oklch(60.5% 0.117 88.9);
Tailwind
colors: {
custom: {
50: '#bfa25f',
500: '#9e7d16',
950: '#000000',
},
}SCSS
$custom: #9e7d16; $custom-light: #bfa25f; $custom-dark: #000000;
JSON
{
"hex": "#9e7d16",
"rgb": {
"r": 158,
"g": 125,
"b": 22
},
"hsl": {
"h": 45.441,
"s": 75.556,
"l": 35.294
},
"oklch": {
"l": 0.60486,
"c": 0.11737,
"h": 88.9
},
"luminance": 0.21994
}Semantic roles & 50–950 ramp
primary
#9E7D16
secondary
#4967C7
accent
#63F236
background
#FCF9F5
surface
#F8F2EA
border
#D1CCC6
text
#130F05
muted
#827E79