#9E8D25#9E8D25
#9E8D25 is a light, vivid yellow. Relative luminance 0.265; OKLCH L 64.0% C 0.120 H 99.5°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #9E8D25 |
|---|---|
| RGB | rgb(158, 141, 37) |
| HSL | hsl(52, 62%, 38%) |
| HSV | hsv(52, 77%, 62%) |
| CMYK | cmyk(0%, 10.8%, 76.6%, 38%) |
| CIE-LAB | lab(58.47, -5.11, 54.04) |
| CIE-LCH | lch(58.47, 54.28, 95.41°) |
| OKLab | oklab(64.02% -0.0199 0.1185) |
| OKLCH | oklch(64.02% 0.12 99.5) |
| XYZ | xyz(23.9605, 26.4536, 5.5939) |
| Luminance | 0.2645 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 4.11
Baby Shit Brown
#AD900D
ΔE00 4.42
Dark Mustard
#A88905
ΔE00 4.58
Diarrhea
#9F8303
ΔE00 4.60
Brown Yellow
#B29705
ΔE00 5.59
Yellowy Brown
#AE8B0C
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E8D25 #25369E
analogous
#9E5025 #9E8D25 #729E25
triadic
#9E8D25 #259E8D #8D259E
tetradic
#9E8D25 #259E50 #25369E #9E2572
square
#9E8D25 #259E50 #25369E #9E2572
split-complementary
#9E8D25 #25729E #50259E
monochromatic
#3B340E #6C6119 #9E8D25 #CFB931 #DACA63
Accessibility & contrast
On white
3.34
#9E8D25 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.29
#9E8D25 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E8D25
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E8D25 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E8D25 | 1.00 | 3.34 | 6.29 | 6.29 |
| #FFFFFF | 3.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8910
Deuteranopia (green-blind)
#A08F2C
Tritanopia (blue-blind)
#AB8279
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #9e8d25; /* rgb */ color: rgb(158, 141, 37); /* oklch */ color: oklch(64.0% 0.120 99.5);
Tailwind
colors: {
custom: {
50: '#beae68',
500: '#9e8d25',
950: '#000000',
},
}SCSS
$custom: #9e8d25; $custom-light: #beae68; $custom-dark: #000000;
JSON
{
"hex": "#9e8d25",
"rgb": {
"r": 158,
"g": 141,
"b": 37
},
"hsl": {
"h": 51.57,
"s": 62.051,
"l": 38.235
},
"oklch": {
"l": 0.64022,
"c": 0.12018,
"h": 99.5
},
"luminance": 0.26452
}Semantic roles & 50–950 ramp
primary
#9E8D25
secondary
#5F6DC0
accent
#59E543
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A