#A3AF37#A3AF37
#A3AF37 is a light, vivid yellow. Relative luminance 0.387; OKLCH L 72.2% C 0.142 H 114.9°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).
Color values
| HEX | #A3AF37 |
|---|---|
| RGB | rgb(163, 175, 55) |
| HSL | hsl(66, 52%, 45%) |
| HSV | hsv(66, 69%, 69%) |
| CMYK | cmyk(6.9%, 0%, 68.6%, 31.4%) |
| CIE-LAB | lab(68.55, -19.81, 57.23) |
| CIE-LCH | lch(68.55, 60.56, 109.09°) |
| OKLab | oklab(72.21% -0.0596 0.1284) |
| OKLCH | oklch(72.21% 0.142 114.9) |
| XYZ | xyz(31.1246, 38.7228, 9.4483) |
| Luminance | 0.3872 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 3.19
Booger
#9BB53C
ΔE00 3.36
Pea Soup Green
#94A617
ΔE00 3.63
Barf Green
#94AC02
ΔE00 3.78
Sickly Green
#94B21C
ΔE00 3.94
Mustard Green
#A8B504
ΔE00 3.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A3AF37 #4337AF
analogous
#AF7F37 #A3AF37 #67AF37
triadic
#A3AF37 #37A3AF #AF37A3
tetradic
#A3AF37 #37AF7F #4337AF #AF3767
square
#A3AF37 #37AF7F #4337AF #AF3767
split-complementary
#A3AF37 #3767AF #7F37AF
monochromatic
#4C521A #788028 #A3AF37 #BFCB59 #D1D987
Accessibility & contrast
On white
2.40
#A3AF37 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.74
#A3AF37 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A3AF37
8.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A3AF37 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A3AF37 | 1.00 | 2.40 | 8.74 | 8.74 |
| #FFFFFF | 2.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA625
Deuteranopia (green-blind)
#BBA840
Tritanopia (blue-blind)
#ADA597
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #a3af37; /* rgb */ color: rgb(163, 175, 55); /* oklch */ color: oklch(72.2% 0.142 114.9);
Tailwind
colors: {
custom: {
50: '#c1c675',
500: '#a3af37',
950: '#000000',
},
}SCSS
$custom: #a3af37; $custom-light: #c1c675; $custom-dark: #000000;
JSON
{
"hex": "#a3af37",
"rgb": {
"r": 163,
"g": 175,
"b": 55
},
"hsl": {
"h": 66,
"s": 52.174,
"l": 45.098
},
"oklch": {
"l": 0.72208,
"c": 0.14153,
"h": 114.9
},
"luminance": 0.38722
}Semantic roles & 50–950 ramp
primary
#A3AF37
secondary
#857FC3
accent
#4CDC5B
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B