#A2AF4F#A2AF4F
#A2AF4F is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.4% C 0.122 H 116.0°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).
Color values
| HEX | #A2AF4F |
|---|---|
| RGB | rgb(162, 175, 79) |
| HSL | hsl(68, 38%, 50%) |
| HSV | hsv(68, 55%, 69%) |
| CMYK | cmyk(7.4%, 0%, 54.9%, 31.4%) |
| CIE-LAB | lab(68.68, -18.48, 46.93) |
| CIE-LCH | lch(68.68, 50.43, 111.50°) |
| OKLab | oklab(72.36% -0.0534 0.1097) |
| OKLCH | oklch(72.36% 0.122 116) |
| XYZ | xyz(31.6421, 38.9062, 13.2384) |
| Luminance | 0.3891 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 3.76
Light Olive Green
#A4BE5C
ΔE00 4.64
Avocado (survey)
#90B134
ΔE00 4.82
Light Olive
#ACBF69
ΔE00 4.98
Icky Green
#8FAE22
ΔE00 5.47
Sick Green
#9DB92C
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2AF4F #5C4FAF
analogous
#AF8C4F #A2AF4F #72AF4F
triadic
#A2AF4F #4FA2AF #AF4FA2
tetradic
#A2AF4F #4FAF8C #5C4FAF #AF4F72
square
#A2AF4F #4FAF8C #5C4FAF #AF4F72
split-complementary
#A2AF4F #4F72AF #8C4FAF
monochromatic
#545B29 #7B853C #A2AF4F #B8C279 #CFD5A3
Accessibility & contrast
On white
2.39
#A2AF4F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.78
#A2AF4F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2AF4F
8.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2AF4F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2AF4F | 1.00 | 2.39 | 8.78 | 8.78 |
| #FFFFFF | 2.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BAA745
Deuteranopia (green-blind)
#B9A855
Tritanopia (blue-blind)
#ABA69A
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #a2af4f; /* rgb */ color: rgb(162, 175, 79); /* oklch */ color: oklch(72.4% 0.122 116.0);
Tailwind
colors: {
custom: {
50: '#bfc683',
500: '#a2af4f',
950: '#000000',
},
}SCSS
$custom: #a2af4f; $custom-light: #bfc683; $custom-dark: #000000;
JSON
{
"hex": "#a2af4f",
"rgb": {
"r": 162,
"g": 175,
"b": 79
},
"hsl": {
"h": 68.125,
"s": 37.795,
"l": 49.804
},
"oklch": {
"l": 0.72363,
"c": 0.12205,
"h": 116
},
"luminance": 0.38906
}Semantic roles & 50–950 ramp
primary
#A2AF4F
secondary
#9D97C3
accent
#5ACE6A
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#12130B
muted
#81827C