#A5AF3A#A5AF3A
#A5AF3A is a light, vivid yellow. Relative luminance 0.390; OKLCH L 72.4% C 0.139 H 114.1°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).
Color values
| HEX | #A5AF3A |
|---|---|
| RGB | rgb(165, 175, 58) |
| HSL | hsl(65, 50%, 46%) |
| HSV | hsv(65, 67%, 69%) |
| CMYK | cmyk(5.7%, 0%, 66.9%, 31.4%) |
| CIE-LAB | lab(68.73, -18.78, 56.27) |
| CIE-LCH | lch(68.73, 59.32, 108.45°) |
| OKLab | oklab(72.39% -0.0566 0.1268) |
| OKLCH | oklch(72.39% 0.139 114.1) |
| XYZ | xyz(31.6116, 38.9654, 9.8580) |
| Luminance | 0.3896 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 3.63
Booger
#9BB53C
ΔE00 3.72
Pea Soup Green
#94A617
ΔE00 4.00
Mustard Green
#A8B504
ΔE00 4.13
Barf Green
#94AC02
ΔE00 4.26
Sick Green
#9DB92C
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5AF3A #443AAF
analogous
#AF7E3A #A5AF3A #6AAF3A
triadic
#A5AF3A #3AA5AF #AF3AA5
tetradic
#A5AF3A #3AAF7E #443AAF #AF3A6A
square
#A5AF3A #3AAF7E #443AAF #AF3A6A
split-complementary
#A5AF3A #3A6AAF #7E3AAF
monochromatic
#4E531C #7A812B #A5AF3A #C0C95D #D2D98B
Accessibility & contrast
On white
2.39
#A5AF3A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.79
#A5AF3A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5AF3A
8.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5AF3A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5AF3A | 1.00 | 2.39 | 8.79 | 8.79 |
| #FFFFFF | 2.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA729
Deuteranopia (green-blind)
#BBA942
Tritanopia (blue-blind)
#B0A597
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #a5af3a; /* rgb */ color: rgb(165, 175, 58); /* oklch */ color: oklch(72.4% 0.139 114.1);
Tailwind
colors: {
custom: {
50: '#c3c677',
500: '#a5af3a',
950: '#000000',
},
}SCSS
$custom: #a5af3a; $custom-light: #c3c677; $custom-dark: #000000;
JSON
{
"hex": "#a5af3a",
"rgb": {
"r": 165,
"g": 175,
"b": 58
},
"hsl": {
"h": 65.128,
"s": 50.215,
"l": 45.686
},
"oklch": {
"l": 0.72394,
"c": 0.13882,
"h": 114.1
},
"luminance": 0.38965
}Semantic roles & 50–950 ramp
primary
#A5AF3A
secondary
#8782C3
accent
#4EDA5A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B