#9F801B#9F801B
#9F801B is a mid, moderate yellow. Relative luminance 0.229; OKLCH L 61.3% C 0.117 H 90.2°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #9F801B |
|---|---|
| RGB | rgb(159, 128, 27) |
| HSL | hsl(46, 71%, 36%) |
| HSV | hsv(46, 83%, 62%) |
| CMYK | cmyk(0%, 19.5%, 83%, 37.6%) |
| CIE-LAB | lab(54.96, 2.14, 54.32) |
| CIE-LCH | lch(54.96, 54.36, 87.74°) |
| OKLab | oklab(61.26% -0.0004 0.1169) |
| OKLCH | oklch(61.26% 0.117 90.2) |
| XYZ | xyz(22.2164, 22.8899, 4.2847) |
| Luminance | 0.2289 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 2.34
Yellowish Brown
#9B7A01
ΔE00 2.41
Puke Brown
#947706
ΔE00 3.64
Baby Poop
#937C00
ΔE00 3.66
Dark Mustard
#A88905
ΔE00 3.87
Mustard Brown
#AC7E04
ΔE00 4.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F801B #1B3A9F
analogous
#9F3E1B #9F801B #7C9F1B
triadic
#9F801B #1B9F80 #801B9F
tetradic
#9F801B #1B9F3E #1B3A9F #9F1B7C
square
#9F801B #1B9F3E #1B3A9F #9F1B7C
split-complementary
#9F801B #1B7C9F #3E1B9F
monochromatic
#362C09 #6B5612 #9F801B #D3AA24 #E2C053
Accessibility & contrast
On white
3.77
#9F801B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.58
#9F801B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F801B
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F801B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F801B | 1.00 | 3.77 | 5.58 | 5.58 |
| #FFFFFF | 3.77 | 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)
#907F00
Deuteranopia (green-blind)
#978722
Tritanopia (blue-blind)
#AD746D
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #9f801b; /* rgb */ color: rgb(159, 128, 27); /* oklch */ color: oklch(61.3% 0.117 90.2);
Tailwind
colors: {
custom: {
50: '#c0a462',
500: '#9f801b',
950: '#000000',
},
}SCSS
$custom: #9f801b; $custom-light: #c0a462; $custom-dark: #000000;
JSON
{
"hex": "#9f801b",
"rgb": {
"r": 159,
"g": 128,
"b": 27
},
"hsl": {
"h": 45.909,
"s": 70.968,
"l": 36.471
},
"oklch": {
"l": 0.61255,
"c": 0.11694,
"h": 90.2
},
"luminance": 0.22888
}Semantic roles & 50–950 ramp
primary
#9F801B
secondary
#516CC5
accent
#64EE3A
background
#FCFAF6
surface
#F8F3EB
border
#D1CDC6
text
#130F05
muted
#827F7A