#A3AF22#A3AF22
#A3AF22 is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.1% C 0.153 H 114.7°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).
Color values
| HEX | #A3AF22 |
|---|---|
| RGB | rgb(163, 175, 34) |
| HSL | hsl(65, 67%, 41%) |
| HSV | hsv(65, 81%, 69%) |
| CMYK | cmyk(6.9%, 0%, 80.6%, 31.4%) |
| CIE-LAB | lab(68.43, -20.79, 64.19) |
| CIE-LCH | lch(68.43, 67.47, 107.95°) |
| OKLab | oklab(72.08% -0.0642 0.1394) |
| OKLCH | oklch(72.08% 0.153 114.7) |
| XYZ | xyz(30.7239, 38.5625, 7.3379) |
| Luminance | 0.3856 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 1.97
Mustard Green
#A8B504
ΔE00 2.37
Barf Green
#94AC02
ΔE00 2.99
Pea Soup Green
#94A617
ΔE00 3.32
Snot
#ACBB0D
ΔE00 3.66
Vomit
#A2A415
ΔE00 3.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A3AF22 #2E22AF
analogous
#AF7422 #A3AF22 #5DAF22
triadic
#A3AF22 #22A3AF #AF22A3
tetradic
#A3AF22 #22AF74 #2E22AF #AF225D
square
#A3AF22 #22AF74 #2E22AF #AF225D
split-complementary
#A3AF22 #225DAF #7422AF
monochromatic
#44490E #737C18 #A3AF22 #CAD836 #D8E269
Accessibility & contrast
On white
2.41
#A3AF22 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.71
#A3AF22 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A3AF22
8.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A3AF22 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A3AF22 | 1.00 | 2.41 | 8.71 | 8.71 |
| #FFFFFF | 2.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA600
Deuteranopia (green-blind)
#BBA830
Tritanopia (blue-blind)
#AEA496
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #a3af22; /* rgb */ color: rgb(163, 175, 34); /* oklch */ color: oklch(72.1% 0.153 114.7);
Tailwind
colors: {
custom: {
50: '#c2c66b',
500: '#a3af22',
950: '#000000',
},
}SCSS
$custom: #a3af22; $custom-light: #c2c66b; $custom-dark: #000000;
JSON
{
"hex": "#a3af22",
"rgb": {
"r": 163,
"g": 175,
"b": 34
},
"hsl": {
"h": 65.106,
"s": 67.464,
"l": 40.98
},
"oklch": {
"l": 0.72077,
"c": 0.15348,
"h": 114.7
},
"luminance": 0.38562
}Semantic roles & 50–950 ramp
primary
#A3AF22
secondary
#6D65C8
accent
#3DEA4C
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A