#9F8D1A#9F8D1A
#9F8D1A is a light, vivid yellow. Relative luminance 0.265; OKLCH L 64.1% C 0.126 H 99.5°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #9F8D1A |
|---|---|
| RGB | rgb(159, 141, 26) |
| HSL | hsl(52, 72%, 36%) |
| HSV | hsv(52, 84%, 62%) |
| CMYK | cmyk(0%, 11.3%, 83.6%, 37.6%) |
| CIE-LAB | lab(58.51, -5.07, 57.67) |
| CIE-LCH | lch(58.51, 57.90, 95.02°) |
| OKLab | oklab(64.06% -0.0208 0.124) |
| OKLCH | oklch(64.06% 0.126 99.5) |
| XYZ | xyz(24.0107, 26.4965, 4.8267) |
| Luminance | 0.2650 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 3.36
Baby Shit Brown
#AD900D
ΔE00 3.79
Dark Mustard
#A88905
ΔE00 4.03
Diarrhea
#9F8303
ΔE00 4.22
Brown Yellow
#B29705
ΔE00 4.95
Yellowy Brown
#AE8B0C
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F8D1A #1A2C9F
analogous
#9F4B1A #9F8D1A #6F9F1A
triadic
#9F8D1A #1A9F8D #8D1A9F
tetradic
#9F8D1A #1A9F4B #1A2C9F #9F1A6F
square
#9F8D1A #1A9F4B #1A2C9F #9F1A6F
split-complementary
#9F8D1A #1A6F9F #4B1A9F
monochromatic
#363009 #6A5E11 #9F8D1A #D4BC23 #E3CF51
Accessibility & contrast
On white
3.33
#9F8D1A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.30
#9F8D1A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F8D1A
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F8D1A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F8D1A | 1.00 | 3.33 | 6.30 | 6.30 |
| #FFFFFF | 3.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9C8900
Deuteranopia (green-blind)
#A18F24
Tritanopia (blue-blind)
#AC8278
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #9f8d1a; /* rgb */ color: rgb(159, 141, 26); /* oklch */ color: oklch(64.1% 0.126 99.5);
Tailwind
colors: {
custom: {
50: '#c0ad63',
500: '#9f8d1a',
950: '#000000',
},
}SCSS
$custom: #9f8d1a; $custom-light: #c0ad63; $custom-dark: #000000;
JSON
{
"hex": "#9f8d1a",
"rgb": {
"r": 159,
"g": 141,
"b": 26
},
"hsl": {
"h": 51.88,
"s": 71.892,
"l": 36.275
},
"oklch": {
"l": 0.64058,
"c": 0.12578,
"h": 99.5
},
"luminance": 0.26495
}Semantic roles & 50–950 ramp
primary
#9F8D1A
secondary
#5060C5
accent
#52EF39
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A