#9F891A#9F891A
#9F891A is a light, vivid yellow. Relative luminance 0.253; OKLCH L 63.2% C 0.123 H 96.9°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #9F891A |
|---|---|
| RGB | rgb(159, 137, 26) |
| HSL | hsl(50, 72%, 36%) |
| HSV | hsv(50, 84%, 62%) |
| CMYK | cmyk(0%, 13.8%, 83.6%, 37.6%) |
| CIE-LAB | lab(57.40, -2.88, 56.73) |
| CIE-LCH | lch(57.40, 56.80, 92.91°) |
| OKLab | oklab(63.19% -0.0147 0.122) |
| OKLCH | oklch(63.19% 0.123 96.9) |
| XYZ | xyz(23.4315, 25.3381, 4.6336) |
| Luminance | 0.2534 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 2.64
Dark Mustard
#A88905
ΔE00 2.95
Baby Poo
#AB9004
ΔE00 3.48
Baby Shit Brown
#AD900D
ΔE00 3.70
Yellowy Brown
#AE8B0C
ΔE00 4.24
Baby Poop
#937C00
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F891A #1A309F
analogous
#9F471A #9F891A #739F1A
triadic
#9F891A #1A9F89 #891A9F
tetradic
#9F891A #1A9F47 #1A309F #9F1A73
square
#9F891A #1A9F47 #1A309F #9F1A73
split-complementary
#9F891A #1A739F #471A9F
monochromatic
#362E09 #6A5C11 #9F891A #D4B623 #E3CA51
Accessibility & contrast
On white
3.46
#9F891A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.07
#9F891A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F891A
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F891A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F891A | 1.00 | 3.46 | 6.07 | 6.07 |
| #FFFFFF | 3.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#9E8D23
Tritanopia (blue-blind)
#AC7E75
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #9f891a; /* rgb */ color: rgb(159, 137, 26); /* oklch */ color: oklch(63.2% 0.123 96.9);
Tailwind
colors: {
custom: {
50: '#c0ab62',
500: '#9f891a',
950: '#000000',
},
}SCSS
$custom: #9f891a; $custom-light: #c0ab62; $custom-dark: #000000;
JSON
{
"hex": "#9f891a",
"rgb": {
"r": 159,
"g": 137,
"b": 26
},
"hsl": {
"h": 50.075,
"s": 71.892,
"l": 36.275
},
"oklch": {
"l": 0.63185,
"c": 0.12286,
"h": 96.9
},
"luminance": 0.25337
}Semantic roles & 50–950 ramp
primary
#9F891A
secondary
#5063C5
accent
#57EF39
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A