#A5AA28#A5AA28
#A5AA28 is a light, vivid yellow. Relative luminance 0.369; OKLCH L 71.1% C 0.145 H 111.8°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).
Color values
| HEX | #A5AA28 |
|---|---|
| RGB | rgb(165, 170, 40) |
| HSL | hsl(62, 62%, 41%) |
| HSV | hsv(62, 76%, 67%) |
| CMYK | cmyk(2.9%, 0%, 76.5%, 33.3%) |
| CIE-LAB | lab(67.20, -17.17, 61.34) |
| CIE-LCH | lch(67.20, 63.70, 105.63°) |
| OKLab | oklab(71.14% -0.0538 0.1344) |
| OKLCH | oklch(71.14% 0.145 111.8) |
| XYZ | xyz(30.2758, 36.9028, 7.5352) |
| Luminance | 0.3690 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.09
Puke
#A5A502
ΔE00 2.64
Puke Green
#9AAE07
ΔE00 3.53
Pea Soup Green
#94A617
ΔE00 3.57
Mustard Green
#A8B504
ΔE00 3.86
Barf Green
#94AC02
ΔE00 4.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5AA28 #2D28AA
analogous
#AA6E28 #A5AA28 #64AA28
triadic
#A5AA28 #28A5AA #AA28A5
tetradic
#A5AA28 #28AA6E #2D28AA #AA2864
square
#A5AA28 #28AA6E #2D28AA #AA2864
split-complementary
#A5AA28 #2864AA #6E28AA
monochromatic
#454711 #75781C #A5AA28 #CCD23E #D9DD6F
Accessibility & contrast
On white
2.51
#A5AA28 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.38
#A5AA28 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5AA28
8.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5AA28 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5AA28 | 1.00 | 2.51 | 8.38 | 8.38 |
| #FFFFFF | 2.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A205
Deuteranopia (green-blind)
#B8A533
Tritanopia (blue-blind)
#B19F92
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #a5aa28; /* rgb */ color: rgb(165, 170, 40); /* oklch */ color: oklch(71.1% 0.145 111.8);
Tailwind
colors: {
custom: {
50: '#c3c36d',
500: '#a5aa28',
950: '#000000',
},
}SCSS
$custom: #a5aa28; $custom-light: #c3c36d; $custom-dark: #000000;
JSON
{
"hex": "#a5aa28",
"rgb": {
"r": 165,
"g": 170,
"b": 40
},
"hsl": {
"h": 62.308,
"s": 61.905,
"l": 41.176
},
"oklch": {
"l": 0.71139,
"c": 0.14472,
"h": 111.8
},
"luminance": 0.36902
}Semantic roles & 50–950 ramp
primary
#A5AA28
secondary
#6D6AC4
accent
#43E549
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B