#A5A829#A5A829
#A5A829 is a light, vivid yellow. Relative luminance 0.362; OKLCH L 70.7% C 0.142 H 110.9°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A829 |
|---|---|
| RGB | rgb(165, 168, 41) |
| HSL | hsl(61, 61%, 41%) |
| HSV | hsv(61, 76%, 66%) |
| CMYK | cmyk(1.8%, 0%, 75.6%, 34.1%) |
| CIE-LAB | lab(66.65, -16.10, 60.50) |
| CIE-LCH | lch(66.65, 62.61, 104.90°) |
| OKLab | oklab(70.69% -0.0508 0.1327) |
| OKLCH | oklch(70.69% 0.142 110.9) |
| XYZ | xyz(29.9210, 36.1655, 7.5019) |
| Luminance | 0.3617 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.67
Puke
#A5A502
ΔE00 2.35
Pea Soup Green
#94A617
ΔE00 3.80
Puke Green
#9AAE07
ΔE00 4.10
Mustard Green
#A8B504
ΔE00 4.50
Barf Green
#94AC02
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A829 #2C29A8
analogous
#A86B29 #A5A829 #65A829
triadic
#A5A829 #29A5A8 #A829A5
tetradic
#A5A829 #29A86B #2C29A8 #A82965
square
#A5A829 #29A86B #2C29A8 #A82965
split-complementary
#A5A829 #2965A8 #6B29A8
monochromatic
#444611 #75771D #A5A829 #CDD03E #D9DC6F
Accessibility & contrast
On white
2.55
#A5A829 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.23
#A5A829 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A829
8.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A829 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A829 | 1.00 | 2.55 | 8.23 | 8.23 |
| #FFFFFF | 2.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A00A
Deuteranopia (green-blind)
#B6A434
Tritanopia (blue-blind)
#B19D90
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #a5a829; /* rgb */ color: rgb(165, 168, 41); /* oklch */ color: oklch(70.7% 0.142 110.9);
Tailwind
colors: {
custom: {
50: '#c3c16d',
500: '#a5a829',
950: '#000000',
},
}SCSS
$custom: #a5a829; $custom-light: #c3c16d; $custom-dark: #000000;
JSON
{
"hex": "#a5a829",
"rgb": {
"r": 165,
"g": 168,
"b": 41
},
"hsl": {
"h": 61.417,
"s": 60.766,
"l": 40.98
},
"oklch": {
"l": 0.70695,
"c": 0.14211,
"h": 110.9
},
"luminance": 0.36165
}Semantic roles & 50–950 ramp
primary
#A5A829
secondary
#6C6AC3
accent
#44E448
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B