#9E9523#9E9523
#9E9523 is a light, vivid yellow. Relative luminance 0.289; OKLCH L 65.8% C 0.128 H 104.7°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #9E9523 |
|---|---|
| RGB | rgb(158, 149, 35) |
| HSL | hsl(56, 64%, 38%) |
| HSV | hsv(56, 78%, 62%) |
| CMYK | cmyk(0%, 5.7%, 77.8%, 38%) |
| CIE-LAB | lab(60.68, -9.51, 56.78) |
| CIE-LCH | lch(60.68, 57.57, 99.51°) |
| OKLab | oklab(65.78% -0.0325 0.124) |
| OKLCH | oklch(65.78% 0.128 104.7) |
| XYZ | xyz(25.1525, 28.8864, 5.8405) |
| Luminance | 0.2888 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 4.50
Baby Poop Green
#8F9805
ΔE00 4.90
Vomit
#A2A415
ΔE00 5.30
Baby Poo
#AB9004
ΔE00 5.58
Puke
#A5A502
ΔE00 5.69
Brown Yellow
#B29705
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E9523 #232C9E
analogous
#9E5823 #9E9523 #699E23
triadic
#9E9523 #239E95 #95239E
tetradic
#9E9523 #239E58 #232C9E #9E2369
square
#9E9523 #239E58 #232C9E #9E2369
split-complementary
#9E9523 #23699E #58239E
monochromatic
#3A370D #6C6618 #9E9523 #D0C42E #DCD360
Accessibility & contrast
On white
3.10
#9E9523 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.78
#9E9523 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E9523
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E9523 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E9523 | 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)
#A39006
Deuteranopia (green-blind)
#A6952C
Tritanopia (blue-blind)
#AA8A80
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #9e9523; /* rgb */ color: rgb(158, 149, 35); /* oklch */ color: oklch(65.8% 0.128 104.7);
Tailwind
colors: {
custom: {
50: '#beb368',
500: '#9e9523',
950: '#000000',
},
}SCSS
$custom: #9e9523; $custom-light: #beb368; $custom-dark: #000000;
JSON
{
"hex": "#9e9523",
"rgb": {
"r": 158,
"g": 149,
"b": 35
},
"hsl": {
"h": 55.61,
"s": 63.731,
"l": 37.843
},
"oklch": {
"l": 0.65779,
"c": 0.12816,
"h": 104.7
},
"luminance": 0.28885
}Semantic roles & 50–950 ramp
primary
#9E9523
secondary
#5C64C1
accent
#4DE741
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A