#A2AF2E#A2AF2E
#A2AF2E is a light, vivid yellow. Relative luminance 0.385; OKLCH L 72.1% C 0.148 H 115.2°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).
Color values
| HEX | #A2AF2E |
|---|---|
| RGB | rgb(162, 175, 46) |
| HSL | hsl(66, 58%, 43%) |
| HSV | hsv(66, 74%, 69%) |
| CMYK | cmyk(7.4%, 0%, 73.7%, 31.4%) |
| CIE-LAB | lab(68.42, -20.71, 60.39) |
| CIE-LCH | lch(68.42, 63.84, 108.93°) |
| OKLab | oklab(72.06% -0.063 0.1335) |
| OKLCH | oklch(72.06% 0.148 115.2) |
| XYZ | xyz(30.7242, 38.5391, 8.4045) |
| Luminance | 0.3854 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 2.39
Barf Green
#94AC02
ΔE00 3.12
Pea Soup Green
#94A617
ΔE00 3.23
Mustard Green
#A8B504
ΔE00 3.25
Sickly Green
#94B21C
ΔE00 3.53
Booger
#9BB53C
ΔE00 3.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2AF2E #3B2EAF
analogous
#AF7C2E #A2AF2E #61AF2E
triadic
#A2AF2E #2EA2AF #AF2EA2
tetradic
#A2AF2E #2EAF7C #3B2EAF #AF2E61
square
#A2AF2E #2EAF7C #3B2EAF #AF2E61
split-complementary
#A2AF2E #2E61AF #7C2EAF
monochromatic
#484E15 #757F21 #A2AF2E #C2D04B #D3DC7B
Accessibility & contrast
On white
2.41
#A2AF2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.71
#A2AF2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2AF2E
8.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2AF2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2AF2E | 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)
#BCA613
Deuteranopia (green-blind)
#BBA839
Tritanopia (blue-blind)
#ADA596
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #a2af2e; /* rgb */ color: rgb(162, 175, 46); /* oklch */ color: oklch(72.1% 0.148 115.2);
Tailwind
colors: {
custom: {
50: '#c1c670',
500: '#a2af2e',
950: '#000000',
},
}SCSS
$custom: #a2af2e; $custom-light: #c1c670; $custom-dark: #000000;
JSON
{
"hex": "#a2af2e",
"rgb": {
"r": 162,
"g": 175,
"b": 46
},
"hsl": {
"h": 66.047,
"s": 58.371,
"l": 43.333
},
"oklch": {
"l": 0.72063,
"c": 0.1476,
"h": 115.2
},
"luminance": 0.38539
}Semantic roles & 50–950 ramp
primary
#A2AF2E
secondary
#7C74C5
accent
#46E256
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B