#A2AF30#A2AF30
#A2AF30 is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.1% C 0.146 H 115.3°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).
Color values
| HEX | #A2AF30 |
|---|---|
| RGB | rgb(162, 175, 48) |
| HSL | hsl(66, 57%, 44%) |
| HSV | hsv(66, 73%, 69%) |
| CMYK | cmyk(7.4%, 0%, 72.6%, 31.4%) |
| CIE-LAB | lab(68.43, -20.61, 59.70) |
| CIE-LCH | lch(68.43, 63.16, 109.05°) |
| OKLab | oklab(72.08% -0.0625 0.1324) |
| OKLCH | oklch(72.08% 0.146 115.3) |
| XYZ | xyz(30.7646, 38.5552, 8.6170) |
| Luminance | 0.3856 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 2.53
Barf Green
#94AC02
ΔE00 3.22
Pea Soup Green
#94A617
ΔE00 3.28
Mustard Green
#A8B504
ΔE00 3.41
Booger
#9BB53C
ΔE00 3.44
Sickly Green
#94B21C
ΔE00 3.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2AF30 #3D30AF
analogous
#AF7C30 #A2AF30 #62AF30
triadic
#A2AF30 #30A2AF #AF30A2
tetradic
#A2AF30 #30AF7C #3D30AF #AF3062
square
#A2AF30 #30AF7C #3D30AF #AF3062
split-complementary
#A2AF30 #3062AF #7C30AF
monochromatic
#494F16 #767F23 #A2AF30 #C1CE4E #D2DC7E
Accessibility & contrast
On white
2.41
#A2AF30 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.71
#A2AF30 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2AF30
8.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2AF30 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2AF30 | 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)
#BCA618
Deuteranopia (green-blind)
#BBA83A
Tritanopia (blue-blind)
#ADA596
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #a2af30; /* rgb */ color: rgb(162, 175, 48); /* oklch */ color: oklch(72.1% 0.146 115.3);
Tailwind
colors: {
custom: {
50: '#c1c671',
500: '#a2af30',
950: '#000000',
},
}SCSS
$custom: #a2af30; $custom-light: #c1c671; $custom-dark: #000000;
JSON
{
"hex": "#a2af30",
"rgb": {
"r": 162,
"g": 175,
"b": 48
},
"hsl": {
"h": 66.142,
"s": 56.951,
"l": 43.725
},
"oklch": {
"l": 0.72076,
"c": 0.14641,
"h": 115.3
},
"luminance": 0.38555
}Semantic roles & 50–950 ramp
primary
#A2AF30
secondary
#7E76C4
accent
#48E057
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B