#9F801F#9F801F
#9F801F is a mid, moderate yellow. Relative luminance 0.229; OKLCH L 61.3% C 0.115 H 89.8°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #9F801F |
|---|---|
| RGB | rgb(159, 128, 31) |
| HSL | hsl(45, 67%, 37%) |
| HSV | hsv(45, 81%, 62%) |
| CMYK | cmyk(0%, 19.5%, 80.5%, 37.6%) |
| CIE-LAB | lab(54.98, 2.28, 53.00) |
| CIE-LCH | lch(54.98, 53.05, 87.53°) |
| OKLab | oklab(61.28% 0.0004 0.115) |
| OKLCH | oklch(61.28% 0.115 89.8) |
| XYZ | xyz(22.2659, 22.9097, 4.5453) |
| Luminance | 0.2291 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Brown
#9B7A01
ΔE00 2.61
Diarrhea
#9F8303
ΔE00 2.69
Puke Brown
#947706
ΔE00 3.75
Baby Poop
#937C00
ΔE00 3.87
Dark Mustard
#A88905
ΔE00 4.11
Mustard Brown
#AC7E04
ΔE00 4.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F801F #1F3E9F
analogous
#9F401F #9F801F #7E9F1F
triadic
#9F801F #1F9F80 #801F9F
tetradic
#9F801F #1F9F40 #1F3E9F #9F1F7E
square
#9F801F #1F9F40 #1F3E9F #9F1F7E
split-complementary
#9F801F #1F7E9F #401F9F
monochromatic
#392E0B #6C5715 #9F801F #D2A929 #DFBF5A
Accessibility & contrast
On white
3.76
#9F801F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.58
#9F801F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F801F
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F801F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F801F | 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)
#907F09
Deuteranopia (green-blind)
#978725
Tritanopia (blue-blind)
#AD746E
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #9f801f; /* rgb */ color: rgb(159, 128, 31); /* oklch */ color: oklch(61.3% 0.115 89.8);
Tailwind
colors: {
custom: {
50: '#c0a463',
500: '#9f801f',
950: '#000000',
},
}SCSS
$custom: #9f801f; $custom-light: #c0a463; $custom-dark: #000000;
JSON
{
"hex": "#9f801f",
"rgb": {
"r": 159,
"g": 128,
"b": 31
},
"hsl": {
"h": 45.469,
"s": 67.368,
"l": 37.255
},
"oklch": {
"l": 0.61278,
"c": 0.11498,
"h": 89.8
},
"luminance": 0.22908
}Semantic roles & 50–950 ramp
primary
#9F801F
secondary
#5771C3
accent
#67EA3E
background
#FCFAF6
surface
#F8F3EB
border
#D1CDC6
text
#130F06
muted
#827F7A