#9C9727#9C9727
#9C9727 is a light, vivid yellow. Relative luminance 0.293; OKLCH L 66.1% C 0.128 H 106.8°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).
Color values
| HEX | #9C9727 |
|---|---|
| RGB | rgb(156, 151, 39) |
| HSL | hsl(57, 60%, 38%) |
| HSV | hsv(57, 75%, 61%) |
| CMYK | cmyk(0%, 3.2%, 75%, 38.8%) |
| CIE-LAB | lab(61.09, -11.30, 55.72) |
| CIE-LCH | lch(61.09, 56.86, 101.47°) |
| OKLab | oklab(66.07% -0.037 0.1226) |
| OKLCH | oklch(66.07% 0.128 106.8) |
| XYZ | xyz(25.1441, 29.3485, 6.2594) |
| Luminance | 0.2935 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 3.61
Baby Poop Green
#8F9805
ΔE00 3.96
Vomit
#A2A415
ΔE00 4.58
Puke
#A5A502
ΔE00 5.18
Baby Shit Green
#889717
ΔE00 5.32
Pea Soup Green
#94A617
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C9727 #272C9C
analogous
#9C5C27 #9C9727 #669C27
triadic
#9C9727 #279C97 #97279C
tetradic
#9C9727 #279C5C #272C9C #9C2766
square
#9C9727 #279C5C #272C9C #9C2766
split-complementary
#9C9727 #27669C #5C279C
monochromatic
#3A380F #6B681B #9C9727 #CCC634 #D8D465
Accessibility & contrast
On white
3.06
#9C9727 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.87
#9C9727 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C9727
6.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C9727 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C9727 | 1.00 | 3.06 | 6.87 | 6.87 |
| #FFFFFF | 3.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A49110
Deuteranopia (green-blind)
#A69530
Tritanopia (blue-blind)
#A88D82
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #9c9727; /* rgb */ color: rgb(156, 151, 39); /* oklch */ color: oklch(66.1% 0.128 106.8);
Tailwind
colors: {
custom: {
50: '#bdb56a',
500: '#9c9727',
950: '#000000',
},
}SCSS
$custom: #9c9727; $custom-light: #bdb56a; $custom-dark: #000000;
JSON
{
"hex": "#9c9727",
"rgb": {
"r": 156,
"g": 151,
"b": 39
},
"hsl": {
"h": 57.436,
"s": 60,
"l": 38.235
},
"oklch": {
"l": 0.66068,
"c": 0.12805,
"h": 106.8
},
"luminance": 0.29348
}Semantic roles & 50–950 ramp
primary
#9C9727
secondary
#6165BE
accent
#4BE345
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121107
muted
#81807A