#9F8D1E#9F8D1E
#9F8D1E is a light, vivid yellow. Relative luminance 0.265; OKLCH L 64.1% C 0.124 H 99.4°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #9F8D1E |
|---|---|
| RGB | rgb(159, 141, 30) |
| HSL | hsl(52, 68%, 37%) |
| HSV | hsv(52, 81%, 62%) |
| CMYK | cmyk(0%, 11.3%, 81.1%, 37.6%) |
| CIE-LAB | lab(58.52, -4.93, 56.49) |
| CIE-LCH | lch(58.52, 56.71, 94.99°) |
| OKLab | oklab(64.08% -0.0201 0.1223) |
| OKLCH | oklch(64.08% 0.124 99.4) |
| XYZ | xyz(24.0585, 26.5156, 5.0788) |
| Luminance | 0.2651 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 3.51
Baby Shit Brown
#AD900D
ΔE00 3.88
Dark Mustard
#A88905
ΔE00 4.10
Diarrhea
#9F8303
ΔE00 4.26
Brown Yellow
#B29705
ΔE00 5.08
Yellowy Brown
#AE8B0C
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F8D1E #1E309F
analogous
#9F4D1E #9F8D1E #719F1E
triadic
#9F8D1E #1E9F8D #8D1E9F
tetradic
#9F8D1E #1E9F4D #1E309F #9F1E71
square
#9F8D1E #1E9F4D #1E309F #9F1E71
split-complementary
#9F8D1E #1E719F #4D1E9F
monochromatic
#38320B #6C5F14 #9F8D1E #D2BB28 #DFCD58
Accessibility & contrast
On white
3.33
#9F8D1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.30
#9F8D1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F8D1E
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F8D1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F8D1E | 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)
#A09027
Tritanopia (blue-blind)
#AC8279
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #9f8d1e; /* rgb */ color: rgb(159, 141, 30); /* oklch */ color: oklch(64.1% 0.124 99.4);
Tailwind
colors: {
custom: {
50: '#bfad65',
500: '#9f8d1e',
950: '#000000',
},
}SCSS
$custom: #9f8d1e; $custom-light: #bfad65; $custom-dark: #000000;
JSON
{
"hex": "#9f8d1e",
"rgb": {
"r": 159,
"g": 141,
"b": 30
},
"hsl": {
"h": 51.628,
"s": 68.254,
"l": 37.059
},
"oklch": {
"l": 0.64078,
"c": 0.12395,
"h": 99.4
},
"luminance": 0.26514
}Semantic roles & 50–950 ramp
primary
#9F8D1E
secondary
#5665C3
accent
#55EB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A