#9CA526#9CA526
#9CA526 is a light, vivid yellow. Relative luminance 0.341; OKLCH L 69.2% C 0.143 H 113.7°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #9CA526 |
|---|---|
| RGB | rgb(156, 165, 38) |
| HSL | hsl(64, 63%, 40%) |
| HSV | hsv(64, 77%, 65%) |
| CMYK | cmyk(5.5%, 0%, 77%, 35.3%) |
| CIE-LAB | lab(65.06, -18.62, 59.75) |
| CIE-LCH | lch(65.06, 62.58, 107.31°) |
| OKLab | oklab(69.24% -0.0575 0.1309) |
| OKLCH | oklch(69.24% 0.143 113.7) |
| XYZ | xyz(27.5161, 34.1187, 6.9694) |
| Luminance | 0.3412 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 2.12
Vomit
#A2A415
ΔE00 2.36
Puke
#A5A502
ΔE00 3.40
Puke Green
#9AAE07
ΔE00 3.54
Barf Green
#94AC02
ΔE00 3.71
Pea Soup
#929901
ΔE00 3.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9CA526 #2F26A5
analogous
#A56F26 #9CA526 #5DA526
triadic
#9CA526 #269CA5 #A5269C
tetradic
#9CA526 #26A56F #2F26A5 #A5265D
square
#9CA526 #26A56F #2F26A5 #A5265D
split-complementary
#9CA526 #265DA5 #6F26A5
monochromatic
#3E420F #6D731B #9CA526 #C6D137 #D4DC69
Accessibility & contrast
On white
2.68
#9CA526 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.82
#9CA526 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9CA526
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9CA526 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9CA526 | 1.00 | 2.68 | 7.82 | 7.82 |
| #FFFFFF | 2.68 | 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)
#B29D03
Deuteranopia (green-blind)
#B19F31
Tritanopia (blue-blind)
#A79B8D
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #9ca526; /* rgb */ color: rgb(156, 165, 38); /* oklch */ color: oklch(69.2% 0.143 113.7);
Tailwind
colors: {
custom: {
50: '#bdbf6b',
500: '#9ca526',
950: '#000000',
},
}SCSS
$custom: #9ca526; $custom-light: #bdbf6b; $custom-dark: #000000;
JSON
{
"hex": "#9ca526",
"rgb": {
"r": 156,
"g": 165,
"b": 38
},
"hsl": {
"h": 64.252,
"s": 62.562,
"l": 39.804
},
"oklch": {
"l": 0.69239,
"c": 0.14301,
"h": 113.7
},
"luminance": 0.34118
}Semantic roles & 50–950 ramp
primary
#9CA526
secondary
#6B64C3
accent
#42E64E
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#121207
muted
#81817A