#A5AA2E#A5AA2E
#A5AA2E is a light, vivid yellow. Relative luminance 0.369; OKLCH L 71.2% C 0.141 H 111.8°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).
Color values
| HEX | #A5AA2E |
|---|---|
| RGB | rgb(165, 170, 46) |
| HSL | hsl(62, 57%, 42%) |
| HSV | hsv(62, 73%, 67%) |
| CMYK | cmyk(2.9%, 0%, 72.9%, 33.3%) |
| CIE-LAB | lab(67.24, -16.89, 59.35) |
| CIE-LCH | lch(67.24, 61.70, 105.89°) |
| OKLab | oklab(71.18% -0.0525 0.1312) |
| OKLCH | oklch(71.18% 0.141 111.8) |
| XYZ | xyz(30.3859, 36.9468, 8.1150) |
| Luminance | 0.3695 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.41
Puke
#A5A502
ΔE00 3.07
Pea Soup Green
#94A617
ΔE00 3.62
Puke Green
#9AAE07
ΔE00 3.74
Mustard Green
#A8B504
ΔE00 4.18
Barf Green
#94AC02
ΔE00 4.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5AA2E #332EAA
analogous
#AA712E #A5AA2E #67AA2E
triadic
#A5AA2E #2EA5AA #AA2EA5
tetradic
#A5AA2E #2EAA71 #332EAA #AA2E67
square
#A5AA2E #2EAA71 #332EAA #AA2E67
split-complementary
#A5AA2E #2E67AA #712EAA
monochromatic
#484A14 #767A21 #A5AA2E #C8CD48 #D6DA78
Accessibility & contrast
On white
2.50
#A5AA2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.39
#A5AA2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5AA2E
8.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5AA2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5AA2E | 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)
#B7A216
Deuteranopia (green-blind)
#B8A538
Tritanopia (blue-blind)
#B09F92
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #a5aa2e; /* rgb */ color: rgb(165, 170, 46); /* oklch */ color: oklch(71.2% 0.141 111.8);
Tailwind
colors: {
custom: {
50: '#c3c370',
500: '#a5aa2e',
950: '#000000',
},
}SCSS
$custom: #a5aa2e; $custom-light: #c3c370; $custom-dark: #000000;
JSON
{
"hex": "#a5aa2e",
"rgb": {
"r": 165,
"g": 170,
"b": 46
},
"hsl": {
"h": 62.419,
"s": 57.407,
"l": 42.353
},
"oklch": {
"l": 0.71176,
"c": 0.14132,
"h": 111.8
},
"luminance": 0.36946
}Semantic roles & 50–950 ramp
primary
#A5AA2E
secondary
#7571C3
accent
#47E14D
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B