#A5AE2F#A5AE2F
#A5AE2F is a light, vivid yellow. Relative luminance 0.385; OKLCH L 72.1% C 0.145 H 113.6°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).
Color values
| HEX | #A5AE2F |
|---|---|
| RGB | rgb(165, 174, 47) |
| HSL | hsl(64, 57%, 43%) |
| HSV | hsv(64, 73%, 68%) |
| CMYK | cmyk(5.2%, 0%, 73%, 31.8%) |
| CIE-LAB | lab(68.37, -18.88, 60.08) |
| CIE-LCH | lch(68.37, 62.97, 107.44°) |
| OKLab | oklab(72.09% -0.0579 0.1329) |
| OKLCH | oklch(72.09% 0.145 113.6) |
| XYZ | xyz(31.1671, 38.4773, 8.4738) |
| Luminance | 0.3848 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 2.96
Mustard Green
#A8B504
ΔE00 3.30
Vomit
#A2A415
ΔE00 3.50
Pea Soup Green
#94A617
ΔE00 3.58
Barf Green
#94AC02
ΔE00 3.78
Puke
#A5A502
ΔE00 4.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5AE2F #382FAE
analogous
#AE772F #A5AE2F #65AE2F
triadic
#A5AE2F #2FA5AE #AE2FA5
tetradic
#A5AE2F #2FAE77 #382FAE #AE2F65
square
#A5AE2F #2FAE77 #382FAE #AE2F65
split-complementary
#A5AE2F #2F65AE #772FAE
monochromatic
#4A4E15 #777E22 #A5AE2F #C5CF4C #D5DC7C
Accessibility & contrast
On white
2.42
#A5AE2F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.70
#A5AE2F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5AE2F
8.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5AE2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5AE2F | 1.00 | 2.42 | 8.70 | 8.70 |
| #FFFFFF | 2.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA516
Deuteranopia (green-blind)
#BBA839
Tritanopia (blue-blind)
#B0A396
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #a5ae2f; /* rgb */ color: rgb(165, 174, 47); /* oklch */ color: oklch(72.1% 0.145 113.6);
Tailwind
colors: {
custom: {
50: '#c3c671',
500: '#a5ae2f',
950: '#000000',
},
}SCSS
$custom: #a5ae2f; $custom-light: #c3c671; $custom-dark: #000000;
JSON
{
"hex": "#a5ae2f",
"rgb": {
"r": 165,
"g": 174,
"b": 47
},
"hsl": {
"h": 64.252,
"s": 57.466,
"l": 43.333
},
"oklch": {
"l": 0.72086,
"c": 0.14501,
"h": 113.6
},
"luminance": 0.38477
}Semantic roles & 50–950 ramp
primary
#A5AE2F
secondary
#7A75C4
accent
#47E152
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B