#A5AE31#A5AE31
#A5AE31 is a light, vivid yellow. Relative luminance 0.385; OKLCH L 72.1% C 0.144 H 113.6°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).
Color values
| HEX | #A5AE31 |
|---|---|
| RGB | rgb(165, 174, 49) |
| HSL | hsl(64, 56%, 44%) |
| HSV | hsv(64, 72%, 68%) |
| CMYK | cmyk(5.2%, 0%, 71.8%, 31.8%) |
| CIE-LAB | lab(68.38, -18.78, 59.37) |
| CIE-LCH | lch(68.38, 62.27, 107.55°) |
| OKLab | oklab(72.1% -0.0575 0.1318) |
| OKLCH | oklch(72.1% 0.144 113.6) |
| XYZ | xyz(31.2084, 38.4938, 8.6912) |
| Luminance | 0.3849 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 3.08
Mustard Green
#A8B504
ΔE00 3.45
Vomit
#A2A415
ΔE00 3.60
Pea Soup Green
#94A617
ΔE00 3.61
Barf Green
#94AC02
ΔE00 3.86
Puke
#A5A502
ΔE00 4.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5AE31 #3A31AE
analogous
#AE7831 #A5AE31 #66AE31
triadic
#A5AE31 #31A5AE #AE31A5
tetradic
#A5AE31 #31AE78 #3A31AE #AE3166
square
#A5AE31 #31AE78 #3A31AE #AE3166
split-complementary
#A5AE31 #3166AE #7831AE
monochromatic
#4A4E16 #787E24 #A5AE31 #C4CD4F #D4DB7F
Accessibility & contrast
On white
2.41
#A5AE31 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.70
#A5AE31 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5AE31
8.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5AE31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5AE31 | 1.00 | 2.41 | 8.70 | 8.70 |
| #FFFFFF | 2.41 | 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)
#BBA61A
Deuteranopia (green-blind)
#BBA83B
Tritanopia (blue-blind)
#B0A496
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #a5ae31; /* rgb */ color: rgb(165, 174, 49); /* oklch */ color: oklch(72.1% 0.144 113.6);
Tailwind
colors: {
custom: {
50: '#c3c672',
500: '#a5ae31',
950: '#000000',
},
}SCSS
$custom: #a5ae31; $custom-light: #c3c672; $custom-dark: #000000;
JSON
{
"hex": "#a5ae31",
"rgb": {
"r": 165,
"g": 174,
"b": 49
},
"hsl": {
"h": 64.32,
"s": 56.054,
"l": 43.725
},
"oklch": {
"l": 0.721,
"c": 0.14378,
"h": 113.6
},
"luminance": 0.38493
}Semantic roles & 50–950 ramp
primary
#A5AE31
secondary
#7D77C4
accent
#48DF53
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B