#9A9D1E#9A9D1E
#9A9D1E is a light, vivid yellow. Relative luminance 0.311; OKLCH L 67.2% C 0.139 H 111.1°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).
Color values
| HEX | #9A9D1E |
|---|---|
| RGB | rgb(154, 157, 30) |
| HSL | hsl(61, 68%, 37%) |
| HSV | hsv(61, 81%, 62%) |
| CMYK | cmyk(1.9%, 0%, 80.9%, 38.4%) |
| CIE-LAB | lab(62.57, -15.70, 59.89) |
| CIE-LCH | lch(62.57, 61.91, 104.69°) |
| OKLab | oklab(67.2% -0.05 0.1298) |
| OKLCH | oklch(67.2% 0.139 111.1) |
| XYZ | xyz(25.6187, 31.0784, 5.8773) |
| Luminance | 0.3108 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 2.05
Vomit
#A2A415
ΔE00 2.53
Baby Poop Green
#8F9805
ΔE00 2.54
Puke
#A5A502
ΔE00 3.46
Pea Soup Green
#94A617
ΔE00 4.03
Baby Shit Green
#889717
ΔE00 4.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A9D1E #211E9D
analogous
#9D611E #9A9D1E #5B9D1E
triadic
#9A9D1E #1E9A9D #9D1E9A
tetradic
#9A9D1E #1E9D61 #211E9D #9D1E5B
square
#9A9D1E #1E9D61 #211E9D #9D1E5B
split-complementary
#9A9D1E #1E5B9D #611E9D
monochromatic
#35360A #686A14 #9A9D1E #CCD028 #DCDF57
Accessibility & contrast
On white
2.91
#9A9D1E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.22
#9A9D1E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9A9D1E
7.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A9D1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9A9D1E | 1.00 | 2.91 | 7.22 | 7.22 |
| #FFFFFF | 2.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#AB992A
Tritanopia (blue-blind)
#A59386
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #9a9d1e; /* rgb */ color: rgb(154, 157, 30); /* oklch */ color: oklch(67.2% 0.139 111.1);
Tailwind
colors: {
custom: {
50: '#bbb967',
500: '#9a9d1e',
950: '#000000',
},
}SCSS
$custom: #9a9d1e; $custom-light: #bbb967; $custom-dark: #000000;
JSON
{
"hex": "#9a9d1e",
"rgb": {
"r": 154,
"g": 157,
"b": 30
},
"hsl": {
"h": 61.417,
"s": 67.914,
"l": 36.667
},
"oklch": {
"l": 0.67198,
"c": 0.13911,
"h": 111.1
},
"luminance": 0.31078
}Semantic roles & 50–950 ramp
primary
#9A9D1E
secondary
#5754C2
accent
#3DEB41
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121107
muted
#81807A