#9E9A2D#9E9A2D
#9E9A2D is a light, vivid yellow. Relative luminance 0.306; OKLCH L 67.0% C 0.127 H 107.3°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).
Color values
| HEX | #9E9A2D |
|---|---|
| RGB | rgb(158, 154, 45) |
| HSL | hsl(58, 56%, 40%) |
| HSV | hsv(58, 72%, 62%) |
| CMYK | cmyk(0%, 2.5%, 71.5%, 38%) |
| CIE-LAB | lab(62.14, -11.71, 54.59) |
| CIE-LCH | lch(62.14, 55.83, 102.10°) |
| OKLab | oklab(66.96% -0.0377 0.1212) |
| OKLCH | oklch(66.96% 0.127 107.3) |
| XYZ | xyz(26.1308, 30.5706, 7.0064) |
| Luminance | 0.3057 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 3.74
Vomit
#A2A415
ΔE00 4.00
Baby Poop Green
#8F9805
ΔE00 4.11
Puke
#A5A502
ΔE00 4.70
Baby Shit Green
#889717
ΔE00 5.37
Pea Soup Green
#94A617
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E9A2D #2D319E
analogous
#9E612D #9E9A2D #6A9E2D
triadic
#9E9A2D #2D9E9A #9A2D9E
tetradic
#9E9A2D #2D9E61 #2D319E #9E2D6A
square
#9E9A2D #2D9E61 #2D319E #9E2D6A
split-complementary
#9E9A2D #2D6A9E #612D9E
monochromatic
#3F3D12 #6E6C1F #9E9A2D #C9C440 #D6D26F
Accessibility & contrast
On white
2.95
#9E9A2D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.11
#9E9A2D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9E9A2D
7.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E9A2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E9A2D | 1.00 | 2.95 | 7.11 | 7.11 |
| #FFFFFF | 2.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A7941B
Deuteranopia (green-blind)
#A99835
Tritanopia (blue-blind)
#AA9085
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #9e9a2d; /* rgb */ color: rgb(158, 154, 45); /* oklch */ color: oklch(67.0% 0.127 107.3);
Tailwind
colors: {
custom: {
50: '#beb76d',
500: '#9e9a2d',
950: '#000000',
},
}SCSS
$custom: #9e9a2d; $custom-light: #beb76d; $custom-dark: #000000;
JSON
{
"hex": "#9e9a2d",
"rgb": {
"r": 158,
"g": 154,
"b": 45
},
"hsl": {
"h": 57.876,
"s": 55.665,
"l": 39.804
},
"oklch": {
"l": 0.66963,
"c": 0.12694,
"h": 107.3
},
"luminance": 0.3057
}Semantic roles & 50–950 ramp
primary
#9E9A2D
secondary
#696CBD
accent
#4EDF49
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A