#A2AF2C#A2AF2C
#A2AF2C is a light, vivid yellow. Relative luminance 0.385; OKLCH L 72.0% C 0.149 H 115.2°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).
Color values
| HEX | #A2AF2C |
|---|---|
| RGB | rgb(162, 175, 44) |
| HSL | hsl(66, 60%, 43%) |
| HSV | hsv(66, 75%, 69%) |
| CMYK | cmyk(7.4%, 0%, 74.9%, 31.4%) |
| CIE-LAB | lab(68.40, -20.81, 61.06) |
| CIE-LCH | lch(68.40, 64.51, 108.82°) |
| OKLab | oklab(72.05% -0.0634 0.1346) |
| OKLCH | oklch(72.05% 0.149 115.2) |
| XYZ | xyz(30.6857, 38.5237, 8.2017) |
| Luminance | 0.3852 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 2.25
Barf Green
#94AC02
ΔE00 3.03
Mustard Green
#A8B504
ΔE00 3.09
Pea Soup Green
#94A617
ΔE00 3.19
Sickly Green
#94B21C
ΔE00 3.51
Booger
#9BB53C
ΔE00 3.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2AF2C #392CAF
analogous
#AF7A2C #A2AF2C #61AF2C
triadic
#A2AF2C #2CA2AF #AF2CA2
tetradic
#A2AF2C #2CAF7A #392CAF #AF2C61
square
#A2AF2C #2CAF7A #392CAF #AF2C61
split-complementary
#A2AF2C #2C61AF #7A2CAF
monochromatic
#474D13 #757E20 #A2AF2C #C3D147 #D3DD78
Accessibility & contrast
On white
2.41
#A2AF2C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.70
#A2AF2C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2AF2C
8.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2AF2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2AF2C | 1.00 | 2.41 | 8.70 | 8.70 |
| #FFFFFF | 2.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA60E
Deuteranopia (green-blind)
#BBA837
Tritanopia (blue-blind)
#ADA596
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #a2af2c; /* rgb */ color: rgb(162, 175, 44); /* oklch */ color: oklch(72.0% 0.149 115.2);
Tailwind
colors: {
custom: {
50: '#c1c66f',
500: '#a2af2c',
950: '#000000',
},
}SCSS
$custom: #a2af2c; $custom-light: #c1c66f; $custom-dark: #000000;
JSON
{
"hex": "#a2af2c",
"rgb": {
"r": 162,
"g": 175,
"b": 44
},
"hsl": {
"h": 65.954,
"s": 59.817,
"l": 42.941
},
"oklch": {
"l": 0.7205,
"c": 0.14876,
"h": 115.2
},
"luminance": 0.38523
}Semantic roles & 50–950 ramp
primary
#A2AF2C
secondary
#7A72C5
accent
#45E355
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B