#9E9521#9E9521
#9E9521 is a light, vivid yellow. Relative luminance 0.289; OKLCH L 65.8% C 0.129 H 104.8°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).
Color values
| HEX | #9E9521 |
|---|---|
| RGB | rgb(158, 149, 33) |
| HSL | hsl(56, 65%, 37%) |
| HSV | hsv(56, 79%, 62%) |
| CMYK | cmyk(0%, 5.7%, 79.1%, 38%) |
| CIE-LAB | lab(60.67, -9.59, 57.42) |
| CIE-LCH | lch(60.67, 58.22, 99.48°) |
| OKLab | oklab(65.77% -0.0329 0.125) |
| OKLCH | oklch(65.77% 0.129 104.8) |
| XYZ | xyz(25.1236, 28.8748, 5.6886) |
| Luminance | 0.2887 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 4.44
Baby Poop Green
#8F9805
ΔE00 4.85
Vomit
#A2A415
ΔE00 5.24
Baby Poo
#AB9004
ΔE00 5.53
Puke
#A5A502
ΔE00 5.61
Brown Yellow
#B29705
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E9521 #212A9E
analogous
#9E5721 #9E9521 #699E21
triadic
#9E9521 #219E95 #95219E
tetradic
#9E9521 #219E57 #212A9E #9E2169
square
#9E9521 #219E57 #212A9E #9E2169
split-complementary
#9E9521 #21699E #57219E
monochromatic
#39360C #6B6516 #9E9521 #D1C52C #DDD45C
Accessibility & contrast
On white
3.10
#9E9521 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.77
#9E9521 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E9521
6.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E9521 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E9521 | 1.00 | 3.10 | 6.77 | 6.77 |
| #FFFFFF | 3.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A39001
Deuteranopia (green-blind)
#A6952A
Tritanopia (blue-blind)
#AA8A7F
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #9e9521; /* rgb */ color: rgb(158, 149, 33); /* oklch */ color: oklch(65.8% 0.129 104.8);
Tailwind
colors: {
custom: {
50: '#beb367',
500: '#9e9521',
950: '#000000',
},
}SCSS
$custom: #9e9521; $custom-light: #beb367; $custom-dark: #000000;
JSON
{
"hex": "#9e9521",
"rgb": {
"r": 158,
"g": 149,
"b": 33
},
"hsl": {
"h": 55.68,
"s": 65.445,
"l": 37.451
},
"oklch": {
"l": 0.65768,
"c": 0.12921,
"h": 104.8
},
"luminance": 0.28874
}Semantic roles & 50–950 ramp
primary
#9E9521
secondary
#5961C1
accent
#4CE83F
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A