#9D9D1C#9D9D1C
#9D9D1C is a light, vivid yellow. Relative luminance 0.314; OKLCH L 67.5% C 0.139 H 109.6°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).
Color values
| HEX | #9D9D1C |
|---|---|
| RGB | rgb(157, 157, 28) |
| HSL | hsl(60, 70%, 36%) |
| HSV | hsv(60, 82%, 62%) |
| CMYK | cmyk(0%, 0%, 82.2%, 38.4%) |
| CIE-LAB | lab(62.82, -14.43, 60.75) |
| CIE-LCH | lch(62.82, 62.44, 103.37°) |
| OKLab | oklab(67.45% -0.0468 0.1312) |
| OKLCH | oklch(67.45% 0.139 109.6) |
| XYZ | xyz(26.1722, 31.3667, 5.7741) |
| Luminance | 0.3137 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.27
Pea Soup
#929901
ΔE00 2.52
Puke
#A5A502
ΔE00 3.02
Baby Poop Green
#8F9805
ΔE00 3.14
Pea Soup Green
#94A617
ΔE00 4.65
Baby Shit Green
#889717
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D9D1C #1C1C9D
analogous
#9D5D1C #9D9D1C #5D9D1C
triadic
#9D9D1C #1C9D9D #9D1C9D
tetradic
#9D9D1C #1C9D5D #1C1C9D #9D1C5D
square
#9D9D1C #1C9D5D #1C1C9D #9D1C5D
split-complementary
#9D9D1C #1C5D9D #5D1C9D
monochromatic
#353509 #696913 #9D9D1C #D1D125 #E0E053
Accessibility & contrast
On white
2.89
#9D9D1C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.27
#9D9D1C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9D9D1C
7.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D9D1C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D9D1C | 1.00 | 2.89 | 7.27 | 7.27 |
| #FFFFFF | 2.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#AC9A29
Tritanopia (blue-blind)
#A99286
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #9d9d1c; /* rgb */ color: rgb(157, 157, 28); /* oklch */ color: oklch(67.5% 0.139 109.6);
Tailwind
colors: {
custom: {
50: '#beb966',
500: '#9d9d1c',
950: '#000000',
},
}SCSS
$custom: #9d9d1c; $custom-light: #beb966; $custom-dark: #000000;
JSON
{
"hex": "#9d9d1c",
"rgb": {
"r": 157,
"g": 157,
"b": 28
},
"hsl": {
"h": 60,
"s": 69.73,
"l": 36.275
},
"oklch": {
"l": 0.67451,
"c": 0.13927,
"h": 109.6
},
"luminance": 0.31366
}Semantic roles & 50–950 ramp
primary
#9D9D1C
secondary
#5151C3
accent
#3BED3B
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A