#9D981C#9D981C
#9D981C is a light, vivid yellow. Relative luminance 0.297; OKLCH L 66.3% C 0.134 H 107.1°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).
Color values
| HEX | #9D981C |
|---|---|
| RGB | rgb(157, 152, 28) |
| HSL | hsl(58, 70%, 36%) |
| HSV | hsv(58, 82%, 62%) |
| CMYK | cmyk(0%, 3.2%, 82.2%, 38.4%) |
| CIE-LAB | lab(61.40, -11.81, 59.53) |
| CIE-LCH | lch(61.40, 60.69, 101.22°) |
| OKLab | oklab(66.32% -0.0395 0.1286) |
| OKLCH | oklch(66.32% 0.134 107.1) |
| XYZ | xyz(25.3435, 29.7093, 5.4979) |
| Luminance | 0.2971 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 3.22
Baby Poop Green
#8F9805
ΔE00 3.74
Vomit
#A2A415
ΔE00 3.94
Puke
#A5A502
ΔE00 4.39
Baby Shit Green
#889717
ΔE00 5.46
Pea Soup Green
#94A617
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D981C #1C219D
analogous
#9D581C #9D981C #629D1C
triadic
#9D981C #1C9D98 #981C9D
tetradic
#9D981C #1C9D58 #1C219D #9D1C62
square
#9D981C #1C9D58 #1C219D #9D1C62
split-complementary
#9D981C #1C629D #581C9D
monochromatic
#353309 #696613 #9D981C #D1CA25 #E0DB53
Accessibility & contrast
On white
3.03
#9D981C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.94
#9D981C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D981C
6.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D981C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D981C | 1.00 | 3.03 | 6.94 | 6.94 |
| #FFFFFF | 3.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#A89627
Tritanopia (blue-blind)
#A98D82
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #9d981c; /* rgb */ color: rgb(157, 152, 28); /* oklch */ color: oklch(66.3% 0.134 107.1);
Tailwind
colors: {
custom: {
50: '#beb665',
500: '#9d981c',
950: '#000000',
},
}SCSS
$custom: #9d981c; $custom-light: #beb665; $custom-dark: #000000;
JSON
{
"hex": "#9d981c",
"rgb": {
"r": 157,
"g": 152,
"b": 28
},
"hsl": {
"h": 57.674,
"s": 69.73,
"l": 36.275
},
"oklch": {
"l": 0.66322,
"c": 0.13448,
"h": 107.1
},
"luminance": 0.29708
}Semantic roles & 50–950 ramp
primary
#9D981C
secondary
#5156C3
accent
#42ED3B
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A