#9CA52A#9CA52A
#9CA52A is a light, vivid yellow. Relative luminance 0.341; OKLCH L 69.3% C 0.141 H 113.7°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #9CA52A |
|---|---|
| RGB | rgb(156, 165, 42) |
| HSL | hsl(64, 59%, 41%) |
| HSV | hsv(64, 75%, 65%) |
| CMYK | cmyk(5.5%, 0%, 74.5%, 35.3%) |
| CIE-LAB | lab(65.08, -18.44, 58.44) |
| CIE-LCH | lch(65.08, 61.28, 107.51°) |
| OKLab | oklab(69.26% -0.0567 0.1289) |
| OKLCH | oklch(69.26% 0.141 113.7) |
| XYZ | xyz(27.5842, 34.1459, 7.3278) |
| Luminance | 0.3414 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 2.24
Vomit
#A2A415
ΔE00 2.62
Puke
#A5A502
ΔE00 3.68
Puke Green
#9AAE07
ΔE00 3.72
Barf Green
#94AC02
ΔE00 3.86
Pea Soup
#929901
ΔE00 4.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9CA52A #332AA5
analogous
#A5702A #9CA52A #5EA52A
triadic
#9CA52A #2A9CA5 #A52A9C
tetradic
#9CA52A #2AA570 #332AA5 #A52A5E
square
#9CA52A #2AA570 #332AA5 #A52A5E
split-complementary
#9CA52A #2A5EA5 #702AA5
monochromatic
#404311 #6E741E #9CA52A #C3CE3E #D3DA6F
Accessibility & contrast
On white
2.68
#9CA52A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.83
#9CA52A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9CA52A
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9CA52A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9CA52A | 1.00 | 2.68 | 7.83 | 7.83 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19D0F
Deuteranopia (green-blind)
#B19F34
Tritanopia (blue-blind)
#A79B8E
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #9ca52a; /* rgb */ color: rgb(156, 165, 42); /* oklch */ color: oklch(69.3% 0.141 113.7);
Tailwind
colors: {
custom: {
50: '#bdbf6d',
500: '#9ca52a',
950: '#000000',
},
}SCSS
$custom: #9ca52a; $custom-light: #bdbf6d; $custom-dark: #000000;
JSON
{
"hex": "#9ca52a",
"rgb": {
"r": 156,
"g": 165,
"b": 42
},
"hsl": {
"h": 64.39,
"s": 59.42,
"l": 40.588
},
"oklch": {
"l": 0.69263,
"c": 0.14078,
"h": 113.7
},
"luminance": 0.34145
}Semantic roles & 50–950 ramp
primary
#9CA52A
secondary
#7069C1
accent
#45E351
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#121208
muted
#81817B