#9E8A19#9E8A19
#9E8A19 is a light, vivid yellow. Relative luminance 0.255; OKLCH L 63.3% C 0.124 H 98.2°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #9E8A19 |
|---|---|
| RGB | rgb(158, 138, 25) |
| HSL | hsl(51, 73%, 36%) |
| HSV | hsv(51, 84%, 62%) |
| CMYK | cmyk(0%, 12.7%, 84.2%, 38%) |
| CIE-LAB | lab(57.58, -3.92, 57.13) |
| CIE-LCH | lch(57.58, 57.26, 93.92°) |
| OKLab | oklab(63.3% -0.0176 0.1227) |
| OKLCH | oklch(63.3% 0.124 98.2) |
| XYZ | xyz(23.3658, 25.5175, 4.6142) |
| Luminance | 0.2552 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 3.20
Dark Mustard
#A88905
ΔE00 3.45
Baby Poo
#AB9004
ΔE00 3.55
Baby Shit Brown
#AD900D
ΔE00 3.87
Yellowy Brown
#AE8B0C
ΔE00 4.72
Baby Poop
#937C00
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E8A19 #192D9E
analogous
#9E4719 #9E8A19 #6F9E19
triadic
#9E8A19 #199E8A #8A199E
tetradic
#9E8A19 #199E47 #192D9E #9E196F
square
#9E8A19 #199E47 #192D9E #9E196F
split-complementary
#9E8A19 #196F9E #47199E
monochromatic
#342E08 #695C11 #9E8A19 #D3B821 #E3CD4E
Accessibility & contrast
On white
3.44
#9E8A19 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.10
#9E8A19 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E8A19
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E8A19 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E8A19 | 1.00 | 3.44 | 6.10 | 6.10 |
| #FFFFFF | 3.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#998600
Deuteranopia (green-blind)
#9E8D22
Tritanopia (blue-blind)
#AB7F76
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #9e8a19; /* rgb */ color: rgb(158, 138, 25); /* oklch */ color: oklch(63.3% 0.124 98.2);
Tailwind
colors: {
custom: {
50: '#bfab62',
500: '#9e8a19',
950: '#000000',
},
}SCSS
$custom: #9e8a19; $custom-light: #bfab62; $custom-dark: #000000;
JSON
{
"hex": "#9e8a19",
"rgb": {
"r": 158,
"g": 138,
"b": 25
},
"hsl": {
"h": 50.977,
"s": 72.678,
"l": 35.882
},
"oklch": {
"l": 0.63298,
"c": 0.12396,
"h": 98.2
},
"luminance": 0.25516
}Semantic roles & 50–950 ramp
primary
#9E8A19
secondary
#4E60C5
accent
#54EF38
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A