#9FA327#9FA327
#9FA327 is a light, vivid yellow. Relative luminance 0.337; OKLCH L 69.0% C 0.140 H 111.4°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #9FA327 |
|---|---|
| RGB | rgb(159, 163, 39) |
| HSL | hsl(62, 61%, 40%) |
| HSV | hsv(62, 76%, 64%) |
| CMYK | cmyk(2.5%, 0%, 76.1%, 36.1%) |
| CIE-LAB | lab(64.73, -16.24, 59.21) |
| CIE-LCH | lch(64.73, 61.40, 105.34°) |
| OKLab | oklab(69.04% -0.051 0.1299) |
| OKLCH | oklch(69.04% 0.14 111.4) |
| XYZ | xyz(27.7624, 33.7125, 6.9638) |
| Luminance | 0.3371 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.64
Puke
#A5A502
ΔE00 2.75
Pea Soup Green
#94A617
ΔE00 3.30
Pea Soup
#929901
ΔE00 3.65
Baby Poop Green
#8F9805
ΔE00 4.09
Puke Green
#9AAE07
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9FA327 #2B27A3
analogous
#A36927 #9FA327 #61A327
triadic
#9FA327 #279FA3 #A3279F
tetradic
#9FA327 #27A369 #2B27A3 #A32761
square
#9FA327 #27A369 #2B27A3 #A32761
split-complementary
#9FA327 #2761A3 #6927A3
monochromatic
#3F400F #6F721B #9FA327 #CACF38 #D7DB69
Accessibility & contrast
On white
2.71
#9FA327 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.74
#9FA327 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9FA327
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9FA327 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9FA327 | 1.00 | 2.71 | 7.74 | 7.74 |
| #FFFFFF | 2.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09B08
Deuteranopia (green-blind)
#B19F31
Tritanopia (blue-blind)
#AA998C
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #9fa327; /* rgb */ color: rgb(159, 163, 39); /* oklch */ color: oklch(69.0% 0.140 111.4);
Tailwind
colors: {
custom: {
50: '#bfbe6c',
500: '#9fa327',
950: '#000000',
},
}SCSS
$custom: #9fa327; $custom-light: #bfbe6c; $custom-dark: #000000;
JSON
{
"hex": "#9fa327",
"rgb": {
"r": 159,
"g": 163,
"b": 39
},
"hsl": {
"h": 61.935,
"s": 61.386,
"l": 39.608
},
"oklch": {
"l": 0.69041,
"c": 0.13952,
"h": 111.4
},
"luminance": 0.33712
}Semantic roles & 50–950 ramp
primary
#9FA327
secondary
#6764C1
accent
#43E449
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A