#9FA527#9FA527
#9FA527 is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.5% C 0.142 H 112.3°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #9FA527 |
|---|---|
| RGB | rgb(159, 165, 39) |
| HSL | hsl(63, 62%, 40%) |
| HSV | hsv(63, 76%, 65%) |
| CMYK | cmyk(3.6%, 0%, 76.4%, 35.3%) |
| CIE-LAB | lab(65.30, -17.27, 59.74) |
| CIE-LCH | lch(65.30, 62.18, 106.12°) |
| OKLab | oklab(69.49% -0.0538 0.131) |
| OKLCH | oklch(69.49% 0.142 112.3) |
| XYZ | xyz(28.1203, 34.4284, 7.0831) |
| Luminance | 0.3443 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.78
Pea Soup Green
#94A617
ΔE00 2.82
Puke
#A5A502
ΔE00 2.84
Puke Green
#9AAE07
ΔE00 3.93
Pea Soup
#929901
ΔE00 4.04
Barf Green
#94AC02
ΔE00 4.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9FA527 #2D27A5
analogous
#A56C27 #9FA527 #60A527
triadic
#9FA527 #279FA5 #A5279F
tetradic
#9FA527 #27A56C #2D27A5 #A52760
square
#9FA527 #27A56C #2D27A5 #A52760
split-complementary
#9FA527 #2760A5 #6C27A5
monochromatic
#404210 #6F741B #9FA527 #C9D039 #D7DC6A
Accessibility & contrast
On white
2.66
#9FA527 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.89
#9FA527 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9FA527
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9FA527 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9FA527 | 1.00 | 2.66 | 7.89 | 7.89 |
| #FFFFFF | 2.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29D06
Deuteranopia (green-blind)
#B2A032
Tritanopia (blue-blind)
#AA9B8D
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #9fa527; /* rgb */ color: rgb(159, 165, 39); /* oklch */ color: oklch(69.5% 0.142 112.3);
Tailwind
colors: {
custom: {
50: '#bfbf6c',
500: '#9fa527',
950: '#000000',
},
}SCSS
$custom: #9fa527; $custom-light: #bfbf6c; $custom-dark: #000000;
JSON
{
"hex": "#9fa527",
"rgb": {
"r": 159,
"g": 165,
"b": 39
},
"hsl": {
"h": 62.857,
"s": 61.765,
"l": 40
},
"oklch": {
"l": 0.69495,
"c": 0.14162,
"h": 112.3
},
"luminance": 0.34428
}Semantic roles & 50–950 ramp
primary
#9FA527
secondary
#6A66C2
accent
#43E54B
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A