#9CA427#9CA427
#9CA427 is a light, vivid yellow. Relative luminance 0.338; OKLCH L 69.0% C 0.141 H 113.3°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).
Color values
| HEX | #9CA427 |
|---|---|
| RGB | rgb(156, 164, 39) |
| HSL | hsl(64, 62%, 40%) |
| HSV | hsv(64, 76%, 64%) |
| CMYK | cmyk(4.9%, 0%, 76.2%, 35.7%) |
| CIE-LAB | lab(64.78, -18.06, 59.17) |
| CIE-LCH | lch(64.78, 61.86, 106.98°) |
| OKLab | oklab(69.02% -0.0559 0.1299) |
| OKLCH | oklch(69.02% 0.141 113.3) |
| XYZ | xyz(27.3528, 33.7659, 6.9956) |
| Luminance | 0.3377 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.29
Pea Soup Green
#94A617
ΔE00 2.37
Puke
#A5A502
ΔE00 3.38
Pea Soup
#929901
ΔE00 3.73
Puke Green
#9AAE07
ΔE00 3.89
Baby Poop Green
#8F9805
ΔE00 4.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9CA427 #2F27A4
analogous
#A46E27 #9CA427 #5EA427
triadic
#9CA427 #279CA4 #A4279C
tetradic
#9CA427 #27A46E #2F27A4 #A4275E
square
#9CA427 #27A46E #2F27A4 #A4275E
split-complementary
#9CA427 #275EA4 #6E27A4
monochromatic
#3E410F #6D731B #9CA427 #C6D038 #D4DC6A
Accessibility & contrast
On white
2.71
#9CA427 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.75
#9CA427 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9CA427
7.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9CA427 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9CA427 | 1.00 | 2.71 | 7.75 | 7.75 |
| #FFFFFF | 2.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19C07
Deuteranopia (green-blind)
#B19E32
Tritanopia (blue-blind)
#A79A8D
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #9ca427; /* rgb */ color: rgb(156, 164, 39); /* oklch */ color: oklch(69.0% 0.141 113.3);
Tailwind
colors: {
custom: {
50: '#bdbe6c',
500: '#9ca427',
950: '#000000',
},
}SCSS
$custom: #9ca427; $custom-light: #bdbe6c; $custom-dark: #000000;
JSON
{
"hex": "#9ca427",
"rgb": {
"r": 156,
"g": 164,
"b": 39
},
"hsl": {
"h": 63.84,
"s": 61.576,
"l": 39.804
},
"oklch": {
"l": 0.69016,
"c": 0.14139,
"h": 113.3
},
"luminance": 0.33765
}Semantic roles & 50–950 ramp
primary
#9CA427
secondary
#6B65C2
accent
#43E54D
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121207
muted
#81817A