#9E9528#9E9528
#9E9528 is a light, vivid yellow. Relative luminance 0.289; OKLCH L 65.8% C 0.125 H 104.5°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #9E9528 |
|---|---|
| RGB | rgb(158, 149, 40) |
| HSL | hsl(55, 60%, 39%) |
| HSV | hsv(55, 75%, 62%) |
| CMYK | cmyk(0%, 5.7%, 74.7%, 38%) |
| CIE-LAB | lab(60.71, -9.30, 55.07) |
| CIE-LCH | lch(60.71, 55.85, 99.58°) |
| OKLab | oklab(65.81% -0.0314 0.1213) |
| OKLCH | oklch(65.81% 0.125 104.5) |
| XYZ | xyz(25.2321, 28.9182, 6.2597) |
| Luminance | 0.2892 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 4.69
Baby Poop Green
#8F9805
ΔE00 5.05
Vomit
#A2A415
ΔE00 5.48
Baby Poo
#AB9004
ΔE00 5.75
Puke
#A5A502
ΔE00 5.93
Brown Yellow
#B29705
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E9528 #28319E
analogous
#9E5A28 #9E9528 #6C9E28
triadic
#9E9528 #289E95 #95289E
tetradic
#9E9528 #289E5A #28319E #9E286C
square
#9E9528 #289E5A #28319E #9E286C
split-complementary
#9E9528 #286C9E #5A289E
monochromatic
#3C390F #6D671C #9E9528 #CCC137 #D9D068
Accessibility & contrast
On white
3.10
#9E9528 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.78
#9E9528 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E9528
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E9528 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E9528 | 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)
#A39013
Deuteranopia (green-blind)
#A69530
Tritanopia (blue-blind)
#AA8A80
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #9e9528; /* rgb */ color: rgb(158, 149, 40); /* oklch */ color: oklch(65.8% 0.125 104.5);
Tailwind
colors: {
custom: {
50: '#beb36a',
500: '#9e9528',
950: '#000000',
},
}SCSS
$custom: #9e9528; $custom-light: #beb36a; $custom-dark: #000000;
JSON
{
"hex": "#9e9528",
"rgb": {
"r": 158,
"g": 149,
"b": 40
},
"hsl": {
"h": 55.424,
"s": 59.596,
"l": 38.824
},
"oklch": {
"l": 0.6581,
"c": 0.1253,
"h": 104.5
},
"luminance": 0.28917
}Semantic roles & 50–950 ramp
primary
#9E9528
secondary
#636ABF
accent
#51E345
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A