#9CA540#9CA540
#9CA540 is a light, vivid yellow. Relative luminance 0.343; OKLCH L 69.4% C 0.125 H 114.0°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).
Color values
| HEX | #9CA540 |
|---|---|
| RGB | rgb(156, 165, 64) |
| HSL | hsl(65, 44%, 45%) |
| HSV | hsv(65, 61%, 65%) |
| CMYK | cmyk(5.5%, 0%, 61.2%, 35.3%) |
| CIE-LAB | lab(65.24, -17.11, 49.83) |
| CIE-LCH | lch(65.24, 52.69, 108.95°) |
| OKLab | oklab(69.44% -0.0508 0.1143) |
| OKLCH | oklch(69.44% 0.125 114) |
| XYZ | xyz(28.0915, 34.3488, 9.9997) |
| Luminance | 0.3435 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 4.04
Vomit
#A2A415
ΔE00 4.80
Vomit Green
#89A203
ΔE00 5.35
Booger
#9BB53C
ΔE00 5.42
Pea Green
#8EAB12
ΔE00 5.48
Icky Green
#8FAE22
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9CA540 #4940A5
analogous
#A57C40 #9CA540 #69A540
triadic
#9CA540 #409CA5 #A5409C
tetradic
#9CA540 #40A57C #4940A5 #A54069
square
#9CA540 #40A57C #4940A5 #A54069
split-complementary
#9CA540 #4069A5 #7C40A5
monochromatic
#494D1E #72792F #9CA540 #B9C261 #CCD38D
Accessibility & contrast
On white
2.67
#9CA540 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.87
#9CA540 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9CA540
7.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9CA540 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9CA540 | 1.00 | 2.67 | 7.87 | 7.87 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09D34
Deuteranopia (green-blind)
#B09F46
Tritanopia (blue-blind)
#A69C90
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #9ca540; /* rgb */ color: rgb(156, 165, 64); /* oklch */ color: oklch(69.4% 0.125 114.0);
Tailwind
colors: {
custom: {
50: '#bcbf79',
500: '#9ca540',
950: '#000000',
},
}SCSS
$custom: #9ca540; $custom-light: #bcbf79; $custom-dark: #000000;
JSON
{
"hex": "#9ca540",
"rgb": {
"r": 156,
"g": 165,
"b": 64
},
"hsl": {
"h": 65.347,
"s": 44.105,
"l": 44.902
},
"oklch": {
"l": 0.69443,
"c": 0.12503,
"h": 114
},
"luminance": 0.34348
}Semantic roles & 50–950 ramp
primary
#9CA540
secondary
#8883BE
accent
#54D45F
background
#FBFBF7
surface
#F7F7EE
border
#D0D0C9
text
#121209
muted
#81817B