#9CA522#9CA522
#9CA522 is a light, vivid yellow. Relative luminance 0.341; OKLCH L 69.2% C 0.145 H 113.7°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #9CA522 |
|---|---|
| RGB | rgb(156, 165, 34) |
| HSL | hsl(64, 66%, 39%) |
| HSV | hsv(64, 79%, 65%) |
| CMYK | cmyk(5.5%, 0%, 79.4%, 35.3%) |
| CIE-LAB | lab(65.04, -18.78, 60.97) |
| CIE-LCH | lch(65.04, 63.79, 107.12°) |
| OKLab | oklab(69.22% -0.0583 0.1328) |
| OKLCH | oklch(69.22% 0.145 113.7) |
| XYZ | xyz(27.4550, 34.0943, 6.6476) |
| Luminance | 0.3409 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 2.06
Vomit
#A2A415
ΔE00 2.14
Puke
#A5A502
ΔE00 3.16
Puke Green
#9AAE07
ΔE00 3.40
Barf Green
#94AC02
ΔE00 3.61
Pea Soup
#929901
ΔE00 3.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9CA522 #2B22A5
analogous
#A56D22 #9CA522 #5BA522
triadic
#9CA522 #229CA5 #A5229C
tetradic
#9CA522 #22A56D #2B22A5 #A5225B
square
#9CA522 #22A56D #2B22A5 #A5225B
split-complementary
#9CA522 #225BA5 #6D22A5
monochromatic
#3C400D #6C7218 #9CA522 #C9D430 #D6DF63
Accessibility & contrast
On white
2.69
#9CA522 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.82
#9CA522 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9CA522
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9CA522 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9CA522 | 1.00 | 2.69 | 7.82 | 7.82 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#B19F2E
Tritanopia (blue-blind)
#A79B8D
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #9ca522; /* rgb */ color: rgb(156, 165, 34); /* oklch */ color: oklch(69.2% 0.145 113.7);
Tailwind
colors: {
custom: {
50: '#bdbf6a',
500: '#9ca522',
950: '#000000',
},
}SCSS
$custom: #9ca522; $custom-light: #bdbf6a; $custom-dark: #000000;
JSON
{
"hex": "#9ca522",
"rgb": {
"r": 156,
"g": 165,
"b": 34
},
"hsl": {
"h": 64.122,
"s": 65.829,
"l": 39.02
},
"oklch": {
"l": 0.69217,
"c": 0.14503,
"h": 113.7
},
"luminance": 0.34094
}Semantic roles & 50–950 ramp
primary
#9CA522
secondary
#665FC4
accent
#3FE94B
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#121207
muted
#81817A