#A3AF28#A3AF28
#A3AF28 is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.1% C 0.151 H 114.8°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).
Color values
| HEX | #A3AF28 |
|---|---|
| RGB | rgb(163, 175, 40) |
| HSL | hsl(65, 63%, 42%) |
| HSV | hsv(65, 77%, 69%) |
| CMYK | cmyk(6.9%, 0%, 77.1%, 31.4%) |
| CIE-LAB | lab(68.46, -20.56, 62.44) |
| CIE-LCH | lch(68.46, 65.73, 108.22°) |
| OKLab | oklab(72.11% -0.0631 0.1368) |
| OKLCH | oklch(72.11% 0.151 114.8) |
| XYZ | xyz(30.8181, 38.6002, 7.8342) |
| Luminance | 0.3860 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 2.17
Mustard Green
#A8B504
ΔE00 2.72
Barf Green
#94AC02
ΔE00 3.08
Pea Soup Green
#94A617
ΔE00 3.29
Sickly Green
#94B21C
ΔE00 3.74
Vomit
#A2A415
ΔE00 3.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A3AF28 #3428AF
analogous
#AF7728 #A3AF28 #60AF28
triadic
#A3AF28 #28A3AF #AF28A3
tetradic
#A3AF28 #28AF77 #3428AF #AF2860
square
#A3AF28 #28AF77 #3428AF #AF2860
split-complementary
#A3AF28 #2860AF #7728AF
monochromatic
#464B11 #757D1D #A3AF28 #C6D441 #D5DF73
Accessibility & contrast
On white
2.41
#A3AF28 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.72
#A3AF28 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A3AF28
8.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A3AF28 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A3AF28 | 1.00 | 2.41 | 8.72 | 8.72 |
| #FFFFFF | 2.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA601
Deuteranopia (green-blind)
#BBA834
Tritanopia (blue-blind)
#AEA496
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #a3af28; /* rgb */ color: rgb(163, 175, 40); /* oklch */ color: oklch(72.1% 0.151 114.8);
Tailwind
colors: {
custom: {
50: '#c2c66e',
500: '#a3af28',
950: '#000000',
},
}SCSS
$custom: #a3af28; $custom-light: #c2c66e; $custom-dark: #000000;
JSON
{
"hex": "#a3af28",
"rgb": {
"r": 163,
"g": 175,
"b": 40
},
"hsl": {
"h": 65.333,
"s": 62.791,
"l": 42.157
},
"oklch": {
"l": 0.72107,
"c": 0.1506,
"h": 114.8
},
"luminance": 0.386
}Semantic roles & 50–950 ramp
primary
#A3AF28
secondary
#756DC6
accent
#42E651
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A