#9D921E#9D921E
#9D921E is a light, vivid yellow. Relative luminance 0.278; OKLCH L 65.0% C 0.128 H 103.6°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).
Color values
| HEX | #9D921E |
|---|---|
| RGB | rgb(157, 146, 30) |
| HSL | hsl(55, 68%, 37%) |
| HSV | hsv(55, 81%, 62%) |
| CMYK | cmyk(0%, 7%, 80.9%, 38.4%) |
| CIE-LAB | lab(59.73, -8.55, 57.48) |
| CIE-LCH | lch(59.73, 58.12, 98.46°) |
| OKLab | oklab(64.99% -0.0302 0.1245) |
| OKLCH | oklch(64.99% 0.128 103.6) |
| XYZ | xyz(24.4190, 27.8207, 5.3117) |
| Luminance | 0.2782 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 4.94
Pea Soup
#929901
ΔE00 5.12
Baby Shit Brown
#AD900D
ΔE00 5.45
Baby Poop Green
#8F9805
ΔE00 5.47
Brown Yellow
#B29705
ΔE00 5.62
Vomit
#A2A415
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D921E #1E299D
analogous
#9D531E #9D921E #699D1E
triadic
#9D921E #1E9D92 #921E9D
tetradic
#9D921E #1E9D53 #1E299D #9D1E69
square
#9D921E #1E9D53 #1E299D #9D1E69
split-complementary
#9D921E #1E699D #531E9D
monochromatic
#36320A #6A6214 #9D921E #D0C228 #DFD357
Accessibility & contrast
On white
3.20
#9D921E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.56
#9D921E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D921E
6.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D921E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D921E | 1.00 | 3.20 | 6.56 | 6.56 |
| #FFFFFF | 3.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#A39228
Tritanopia (blue-blind)
#A9877D
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #9d921e; /* rgb */ color: rgb(157, 146, 30); /* oklch */ color: oklch(65.0% 0.128 103.6);
Tailwind
colors: {
custom: {
50: '#beb165',
500: '#9d921e',
950: '#000000',
},
}SCSS
$custom: #9d921e; $custom-light: #beb165; $custom-dark: #000000;
JSON
{
"hex": "#9d921e",
"rgb": {
"r": 157,
"g": 146,
"b": 30
},
"hsl": {
"h": 54.803,
"s": 67.914,
"l": 36.667
},
"oklch": {
"l": 0.6499,
"c": 0.12814,
"h": 103.6
},
"luminance": 0.2782
}Semantic roles & 50–950 ramp
primary
#9D921E
secondary
#545EC2
accent
#4CEB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A