#9E9525#9E9525
#9E9525 is a light, vivid yellow. Relative luminance 0.289; OKLCH L 65.8% C 0.127 H 104.6°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #9E9525 |
|---|---|
| RGB | rgb(158, 149, 37) |
| HSL | hsl(56, 62%, 38%) |
| HSV | hsv(56, 77%, 62%) |
| CMYK | cmyk(0%, 5.7%, 76.6%, 38%) |
| CIE-LAB | lab(60.69, -9.43, 56.11) |
| CIE-LCH | lch(60.69, 56.90, 99.54°) |
| OKLab | oklab(65.79% -0.0321 0.1229) |
| OKLCH | oklch(65.79% 0.127 104.6) |
| XYZ | xyz(25.1830, 28.8986, 6.0014) |
| Luminance | 0.2890 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 4.57
Baby Poop Green
#8F9805
ΔE00 4.95
Vomit
#A2A415
ΔE00 5.37
Baby Poo
#AB9004
ΔE00 5.64
Puke
#A5A502
ΔE00 5.78
Brown Yellow
#B29705
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E9525 #252E9E
analogous
#9E5825 #9E9525 #6A9E25
triadic
#9E9525 #259E95 #95259E
tetradic
#9E9525 #259E58 #252E9E #9E256A
square
#9E9525 #259E58 #252E9E #9E256A
split-complementary
#9E9525 #256A9E #58259E
monochromatic
#3B370E #6C6619 #9E9525 #CFC331 #DAD263
Accessibility & contrast
On white
3.10
#9E9525 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.78
#9E9525 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E9525
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E9525 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E9525 | 1.00 | 3.10 | 6.78 | 6.78 |
| #FFFFFF | 3.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A3900C
Deuteranopia (green-blind)
#A6952E
Tritanopia (blue-blind)
#AA8A80
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #9e9525; /* rgb */ color: rgb(158, 149, 37); /* oklch */ color: oklch(65.8% 0.127 104.6);
Tailwind
colors: {
custom: {
50: '#beb369',
500: '#9e9525',
950: '#000000',
},
}SCSS
$custom: #9e9525; $custom-light: #beb369; $custom-dark: #000000;
JSON
{
"hex": "#9e9525",
"rgb": {
"r": 158,
"g": 149,
"b": 37
},
"hsl": {
"h": 55.537,
"s": 62.051,
"l": 38.235
},
"oklch": {
"l": 0.65791,
"c": 0.12706,
"h": 104.6
},
"luminance": 0.28898
}Semantic roles & 50–950 ramp
primary
#9E9525
secondary
#5F66C0
accent
#4FE543
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A