#9CA527#9CA527
#9CA527 is a light, vivid yellow. Relative luminance 0.341; OKLCH L 69.2% C 0.142 H 113.7°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #9CA527 |
|---|---|
| RGB | rgb(156, 165, 39) |
| HSL | hsl(64, 62%, 40%) |
| HSV | hsv(64, 76%, 65%) |
| CMYK | cmyk(5.5%, 0%, 76.4%, 35.3%) |
| CIE-LAB | lab(65.06, -18.57, 59.43) |
| CIE-LCH | lch(65.06, 62.27, 107.36°) |
| OKLab | oklab(69.25% -0.0573 0.1304) |
| OKLCH | oklch(69.25% 0.142 113.7) |
| XYZ | xyz(27.5325, 34.1252, 7.0555) |
| Luminance | 0.3412 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 2.14
Vomit
#A2A415
ΔE00 2.42
Puke
#A5A502
ΔE00 3.47
Puke Green
#9AAE07
ΔE00 3.58
Barf Green
#94AC02
ΔE00 3.75
Pea Soup
#929901
ΔE00 3.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9CA527 #3027A5
analogous
#A56F27 #9CA527 #5DA527
triadic
#9CA527 #279CA5 #A5279C
tetradic
#9CA527 #27A56F #3027A5 #A5275D
square
#9CA527 #27A56F #3027A5 #A5275D
split-complementary
#9CA527 #275DA5 #6F27A5
monochromatic
#3E4210 #6D741B #9CA527 #C5D039 #D4DC6A
Accessibility & contrast
On white
2.68
#9CA527 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.82
#9CA527 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9CA527
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9CA527 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9CA527 | 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)
#B29D06
Deuteranopia (green-blind)
#B19F32
Tritanopia (blue-blind)
#A79B8D
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #9ca527; /* rgb */ color: rgb(156, 165, 39); /* oklch */ color: oklch(69.2% 0.142 113.7);
Tailwind
colors: {
custom: {
50: '#bdbf6c',
500: '#9ca527',
950: '#000000',
},
}SCSS
$custom: #9ca527; $custom-light: #bdbf6c; $custom-dark: #000000;
JSON
{
"hex": "#9ca527",
"rgb": {
"r": 156,
"g": 165,
"b": 39
},
"hsl": {
"h": 64.286,
"s": 61.765,
"l": 40
},
"oklch": {
"l": 0.69245,
"c": 0.14247,
"h": 113.7
},
"luminance": 0.34125
}Semantic roles & 50–950 ramp
primary
#9CA527
secondary
#6C66C2
accent
#43E54F
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#121207
muted
#81817A