#A5AA2C#A5AA2C
#A5AA2C is a light, vivid yellow. Relative luminance 0.369; OKLCH L 71.2% C 0.143 H 111.8°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).
Color values
| HEX | #A5AA2C |
|---|---|
| RGB | rgb(165, 170, 44) |
| HSL | hsl(62, 59%, 42%) |
| HSV | hsv(62, 74%, 67%) |
| CMYK | cmyk(2.9%, 0%, 74.1%, 33.3%) |
| CIE-LAB | lab(67.23, -16.99, 60.03) |
| CIE-LCH | lch(67.23, 62.39, 105.80°) |
| OKLab | oklab(71.16% -0.053 0.1323) |
| OKLCH | oklch(71.16% 0.143 111.8) |
| XYZ | xyz(30.3474, 36.9314, 7.9122) |
| Luminance | 0.3693 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.29
Puke
#A5A502
ΔE00 2.92
Pea Soup Green
#94A617
ΔE00 3.59
Puke Green
#9AAE07
ΔE00 3.65
Mustard Green
#A8B504
ΔE00 4.06
Barf Green
#94AC02
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5AA2C #312CAA
analogous
#AA702C #A5AA2C #66AA2C
triadic
#A5AA2C #2CA5AA #AA2CA5
tetradic
#A5AA2C #2CAA70 #312CAA #AA2C66
square
#A5AA2C #2CAA70 #312CAA #AA2C66
split-complementary
#A5AA2C #2C66AA #702CAA
monochromatic
#474913 #76791F #A5AA2C #C9CF44 #D7DB75
Accessibility & contrast
On white
2.50
#A5AA2C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.39
#A5AA2C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5AA2C
8.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5AA2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5AA2C | 1.00 | 2.50 | 8.39 | 8.39 |
| #FFFFFF | 2.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A211
Deuteranopia (green-blind)
#B8A536
Tritanopia (blue-blind)
#B19F92
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #a5aa2c; /* rgb */ color: rgb(165, 170, 44); /* oklch */ color: oklch(71.2% 0.143 111.8);
Tailwind
colors: {
custom: {
50: '#c3c36f',
500: '#a5aa2c',
950: '#000000',
},
}SCSS
$custom: #a5aa2c; $custom-light: #c3c36f; $custom-dark: #000000;
JSON
{
"hex": "#a5aa2c",
"rgb": {
"r": 165,
"g": 170,
"b": 44
},
"hsl": {
"h": 62.381,
"s": 58.879,
"l": 41.961
},
"oklch": {
"l": 0.71163,
"c": 0.14251,
"h": 111.8
},
"luminance": 0.36931
}Semantic roles & 50–950 ramp
primary
#A5AA2C
secondary
#726FC3
accent
#46E24C
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B