#9C9722#9C9722
#9C9722 is a light, vivid yellow. Relative luminance 0.293; OKLCH L 66.0% C 0.131 H 106.9°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).
Color values
| HEX | #9C9722 |
|---|---|
| RGB | rgb(156, 151, 34) |
| HSL | hsl(58, 64%, 37%) |
| HSV | hsv(58, 78%, 61%) |
| CMYK | cmyk(0%, 3.2%, 78.2%, 38.8%) |
| CIE-LAB | lab(61.06, -11.51, 57.39) |
| CIE-LCH | lch(61.06, 58.53, 101.35°) |
| OKLab | oklab(66.04% -0.0381 0.1252) |
| OKLCH | oklch(66.04% 0.131 106.9) |
| XYZ | xyz(25.0667, 29.3175, 5.8515) |
| Luminance | 0.2932 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 3.39
Baby Poop Green
#8F9805
ΔE00 3.80
Vomit
#A2A415
ΔE00 4.39
Puke
#A5A502
ΔE00 4.93
Baby Shit Green
#889717
ΔE00 5.32
Pea Soup Green
#94A617
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C9722 #22279C
analogous
#9C5A22 #9C9722 #649C22
triadic
#9C9722 #229C97 #97229C
tetradic
#9C9722 #229C5A #22279C #9C2264
square
#9C9722 #229C5A #22279C #9C2264
split-complementary
#9C9722 #22649C #5A229C
monochromatic
#38360C #6A6617 #9C9722 #CEC82D #DCD65D
Accessibility & contrast
On white
3.06
#9C9722 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.86
#9C9722 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C9722
6.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C9722 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C9722 | 1.00 | 3.06 | 6.86 | 6.86 |
| #FFFFFF | 3.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A49102
Deuteranopia (green-blind)
#A7952C
Tritanopia (blue-blind)
#A88D81
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #9c9722; /* rgb */ color: rgb(156, 151, 34); /* oklch */ color: oklch(66.0% 0.131 106.9);
Tailwind
colors: {
custom: {
50: '#bdb568',
500: '#9c9722',
950: '#000000',
},
}SCSS
$custom: #9c9722; $custom-light: #bdb568; $custom-dark: #000000;
JSON
{
"hex": "#9c9722",
"rgb": {
"r": 156,
"g": 151,
"b": 34
},
"hsl": {
"h": 57.541,
"s": 64.211,
"l": 37.255
},
"oklch": {
"l": 0.66037,
"c": 0.13082,
"h": 106.9
},
"luminance": 0.29317
}Semantic roles & 50–950 ramp
primary
#9C9722
secondary
#5A5EC0
accent
#47E741
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A