#9E9B23#9E9B23
#9E9B23 is a light, vivid yellow. Relative luminance 0.308; OKLCH L 67.1% C 0.134 H 108.0°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #9E9B23 |
|---|---|
| RGB | rgb(158, 155, 35) |
| HSL | hsl(59, 64%, 38%) |
| HSV | hsv(59, 78%, 62%) |
| CMYK | cmyk(0%, 1.9%, 77.8%, 38%) |
| CIE-LAB | lab(62.37, -12.69, 58.32) |
| CIE-LCH | lch(62.37, 59.68, 102.28°) |
| OKLab | oklab(67.12% -0.0414 0.1272) |
| OKLCH | oklch(67.12% 0.134 108) |
| XYZ | xyz(26.1263, 30.8340, 6.1651) |
| Luminance | 0.3083 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 3.08
Vomit
#A2A415
ΔE00 3.14
Baby Poop Green
#8F9805
ΔE00 3.61
Puke
#A5A502
ΔE00 3.79
Baby Shit Green
#889717
ΔE00 5.21
Pea Soup Green
#94A617
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E9B23 #23269E
analogous
#9E5E23 #9E9B23 #639E23
triadic
#9E9B23 #239E9B #9B239E
tetradic
#9E9B23 #239E5E #23269E #9E2363
square
#9E9B23 #239E5E #23269E #9E2363
split-complementary
#9E9B23 #23639E #5E239E
monochromatic
#3A390D #6C6A18 #9E9B23 #D0CC2E #DCD960
Accessibility & contrast
On white
2.93
#9E9B23 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.17
#9E9B23 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9E9B23
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E9B23 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E9B23 | 1.00 | 2.93 | 7.17 | 7.17 |
| #FFFFFF | 2.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A89502
Deuteranopia (green-blind)
#AA992D
Tritanopia (blue-blind)
#AA9085
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #9e9b23; /* rgb */ color: rgb(158, 155, 35); /* oklch */ color: oklch(67.1% 0.134 108.0);
Tailwind
colors: {
custom: {
50: '#beb869',
500: '#9e9b23',
950: '#000000',
},
}SCSS
$custom: #9e9b23; $custom-light: #beb869; $custom-dark: #000000;
JSON
{
"hex": "#9e9b23",
"rgb": {
"r": 158,
"g": 155,
"b": 35
},
"hsl": {
"h": 58.537,
"s": 63.731,
"l": 37.843
},
"oklch": {
"l": 0.67123,
"c": 0.13381,
"h": 108
},
"luminance": 0.30833
}Semantic roles & 50–950 ramp
primary
#9E9B23
secondary
#5C5FC1
accent
#45E741
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A