#9E992A#9E992A
#9E992A is a light, vivid yellow. Relative luminance 0.302; OKLCH L 66.7% C 0.128 H 106.8°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).
Color values
| HEX | #9E992A |
|---|---|
| RGB | rgb(158, 153, 42) |
| HSL | hsl(57, 58%, 39%) |
| HSV | hsv(57, 73%, 62%) |
| CMYK | cmyk(0%, 3.2%, 73.4%, 38%) |
| CIE-LAB | lab(61.84, -11.33, 55.42) |
| CIE-LCH | lch(61.84, 56.56, 101.55°) |
| OKLab | oklab(66.72% -0.0369 0.1224) |
| OKLCH | oklch(66.72% 0.128 106.8) |
| XYZ | xyz(25.9107, 30.2196, 6.6582) |
| Luminance | 0.3022 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 3.75
Vomit
#A2A415
ΔE00 4.14
Baby Poop Green
#8F9805
ΔE00 4.14
Puke
#A5A502
ΔE00 4.77
Baby Shit Green
#889717
ΔE00 5.51
Pea Soup Green
#94A617
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E992A #2A2F9E
analogous
#9E5F2A #9E992A #699E2A
triadic
#9E992A #2A9E99 #992A9E
tetradic
#9E992A #2A9E5F #2A2F9E #9E2A69
square
#9E992A #2A9E5F #2A2F9E #9E2A69
split-complementary
#9E992A #2A699E #5F2A9E
monochromatic
#3D3B10 #6E6A1D #9E992A #CBC53A #D8D36B
Accessibility & contrast
On white
2.98
#9E992A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.04
#9E992A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9E992A
7.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E992A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E992A | 1.00 | 2.98 | 7.04 | 7.04 |
| #FFFFFF | 2.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A69315
Deuteranopia (green-blind)
#A99732
Tritanopia (blue-blind)
#AA8F84
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #9e992a; /* rgb */ color: rgb(158, 153, 42); /* oklch */ color: oklch(66.7% 0.128 106.8);
Tailwind
colors: {
custom: {
50: '#beb66c',
500: '#9e992a',
950: '#000000',
},
}SCSS
$custom: #9e992a; $custom-light: #beb66c; $custom-dark: #000000;
JSON
{
"hex": "#9e992a",
"rgb": {
"r": 158,
"g": 153,
"b": 42
},
"hsl": {
"h": 57.414,
"s": 58,
"l": 39.216
},
"oklch": {
"l": 0.66718,
"c": 0.12787,
"h": 106.8
},
"luminance": 0.30219
}Semantic roles & 50–950 ramp
primary
#9E992A
secondary
#6669BE
accent
#4DE147
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A