#9D971C#9D971C
#9D971C is a light, vivid yellow. Relative luminance 0.294; OKLCH L 66.1% C 0.134 H 106.5°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).
Color values
| HEX | #9D971C |
|---|---|
| RGB | rgb(157, 151, 28) |
| HSL | hsl(57, 70%, 36%) |
| HSV | hsv(57, 82%, 62%) |
| CMYK | cmyk(0%, 3.8%, 82.2%, 38.4%) |
| CIE-LAB | lab(61.12, -11.28, 59.29) |
| CIE-LCH | lch(61.12, 60.35, 100.78°) |
| OKLab | oklab(66.1% -0.038 0.128) |
| OKLCH | oklch(66.1% 0.134 106.5) |
| XYZ | xyz(25.1819, 29.3861, 5.4440) |
| Luminance | 0.2939 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 3.48
Baby Poop Green
#8F9805
ΔE00 3.97
Vomit
#A2A415
ΔE00 4.30
Puke
#A5A502
ΔE00 4.72
Baby Shit Green
#889717
ΔE00 5.66
Baby Poo
#AB9004
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D971C #1C229D
analogous
#9D571C #9D971C #639D1C
triadic
#9D971C #1C9D97 #971C9D
tetradic
#9D971C #1C9D57 #1C229D #9D1C63
square
#9D971C #1C9D57 #1C229D #9D1C63
split-complementary
#9D971C #1C639D #571C9D
monochromatic
#353309 #696513 #9D971C #D1C925 #E0DA53
Accessibility & contrast
On white
3.05
#9D971C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.88
#9D971C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D971C
6.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D971C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D971C | 1.00 | 3.05 | 6.88 | 6.88 |
| #FFFFFF | 3.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#A79627
Tritanopia (blue-blind)
#A98C81
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #9d971c; /* rgb */ color: rgb(157, 151, 28); /* oklch */ color: oklch(66.1% 0.134 106.5);
Tailwind
colors: {
custom: {
50: '#beb565',
500: '#9d971c',
950: '#000000',
},
}SCSS
$custom: #9d971c; $custom-light: #beb565; $custom-dark: #000000;
JSON
{
"hex": "#9d971c",
"rgb": {
"r": 157,
"g": 151,
"b": 28
},
"hsl": {
"h": 57.209,
"s": 69.73,
"l": 36.275
},
"oklch": {
"l": 0.66098,
"c": 0.13355,
"h": 106.5
},
"luminance": 0.29385
}Semantic roles & 50–950 ramp
primary
#9D971C
secondary
#5157C3
accent
#44ED3B
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A