#9E8A25#9E8A25
#9E8A25 is a light, moderate yellow. Relative luminance 0.256; OKLCH L 63.4% C 0.118 H 97.5°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #9E8A25 |
|---|---|
| RGB | rgb(158, 138, 37) |
| HSL | hsl(50, 62%, 38%) |
| HSV | hsv(50, 77%, 62%) |
| CMYK | cmyk(0%, 12.7%, 76.6%, 38%) |
| CIE-LAB | lab(57.64, -3.47, 53.26) |
| CIE-LCH | lch(57.64, 53.37, 93.73°) |
| OKLab | oklab(63.37% -0.0153 0.1169) |
| OKLCH | oklch(63.37% 0.118 97.5) |
| XYZ | xyz(23.5242, 25.5809, 5.4484) |
| Luminance | 0.2558 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 3.55
Dark Mustard
#A88905
ΔE00 3.86
Baby Poo
#AB9004
ΔE00 4.13
Baby Shit Brown
#AD900D
ΔE00 4.31
Yellowy Brown
#AE8B0C
ΔE00 4.96
Baby Poop
#937C00
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E8A25 #25399E
analogous
#9E4E25 #9E8A25 #759E25
triadic
#9E8A25 #259E8A #8A259E
tetradic
#9E8A25 #259E4E #25399E #9E2575
square
#9E8A25 #259E4E #25399E #9E2575
split-complementary
#9E8A25 #25759E #4E259E
monochromatic
#3B330E #6C5F19 #9E8A25 #CFB531 #DAC763
Accessibility & contrast
On white
3.43
#9E8A25 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.12
#9E8A25 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E8A25
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E8A25 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E8A25 | 1.00 | 3.43 | 6.12 | 6.12 |
| #FFFFFF | 3.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#988712
Deuteranopia (green-blind)
#9E8D2C
Tritanopia (blue-blind)
#AB7F77
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #9e8a25; /* rgb */ color: rgb(158, 138, 37); /* oklch */ color: oklch(63.4% 0.118 97.5);
Tailwind
colors: {
custom: {
50: '#beab68',
500: '#9e8a25',
950: '#000000',
},
}SCSS
$custom: #9e8a25; $custom-light: #beab68; $custom-dark: #000000;
JSON
{
"hex": "#9e8a25",
"rgb": {
"r": 158,
"g": 138,
"b": 37
},
"hsl": {
"h": 50.083,
"s": 62.051,
"l": 38.235
},
"oklch": {
"l": 0.63365,
"c": 0.11786,
"h": 97.5
},
"luminance": 0.2558
}Semantic roles & 50–950 ramp
primary
#9E8A25
secondary
#5F6FC0
accent
#5EE543
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A