#9F801E#9F801E
#9F801E is a mid, moderate yellow. Relative luminance 0.229; OKLCH L 61.3% C 0.115 H 89.9°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #9F801E |
|---|---|
| RGB | rgb(159, 128, 30) |
| HSL | hsl(46, 68%, 37%) |
| HSV | hsv(46, 81%, 62%) |
| CMYK | cmyk(0%, 19.5%, 81.1%, 37.6%) |
| CIE-LAB | lab(54.97, 2.25, 53.34) |
| CIE-LCH | lch(54.97, 53.39, 87.59°) |
| OKLab | oklab(61.27% 0.0002 0.1155) |
| OKLCH | oklch(61.27% 0.115 89.9) |
| XYZ | xyz(22.2529, 22.9045, 4.4770) |
| Luminance | 0.2290 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Brown
#9B7A01
ΔE00 2.55
Diarrhea
#9F8303
ΔE00 2.60
Puke Brown
#947706
ΔE00 3.72
Baby Poop
#937C00
ΔE00 3.81
Dark Mustard
#A88905
ΔE00 4.04
Mustard Brown
#AC7E04
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F801E #1E3D9F
analogous
#9F3F1E #9F801E #7E9F1E
triadic
#9F801E #1E9F80 #801E9F
tetradic
#9F801E #1E9F3F #1E3D9F #9F1E7E
square
#9F801E #1E9F3F #1E3D9F #9F1E7E
split-complementary
#9F801E #1E7E9F #3F1E9F
monochromatic
#382D0B #6C5714 #9F801E #D2A928 #DFBF58
Accessibility & contrast
On white
3.76
#9F801E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.58
#9F801E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F801E
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F801E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F801E | 1.00 | 3.76 | 5.58 | 5.58 |
| #FFFFFF | 3.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#907F06
Deuteranopia (green-blind)
#978724
Tritanopia (blue-blind)
#AD746E
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #9f801e; /* rgb */ color: rgb(159, 128, 30); /* oklch */ color: oklch(61.3% 0.115 89.9);
Tailwind
colors: {
custom: {
50: '#c0a463',
500: '#9f801e',
950: '#000000',
},
}SCSS
$custom: #9f801e; $custom-light: #c0a463; $custom-dark: #000000;
JSON
{
"hex": "#9f801e",
"rgb": {
"r": 159,
"g": 128,
"b": 30
},
"hsl": {
"h": 45.581,
"s": 68.254,
"l": 37.059
},
"oklch": {
"l": 0.61272,
"c": 0.11549,
"h": 89.9
},
"luminance": 0.22903
}Semantic roles & 50–950 ramp
primary
#9F801E
secondary
#5670C3
accent
#67EB3D
background
#FCFAF6
surface
#F8F3EB
border
#D1CDC6
text
#130F06
muted
#827F7A