#A5A828#A5A828
#A5A828 is a light, vivid yellow. Relative luminance 0.362; OKLCH L 70.7% C 0.143 H 110.9°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A828 |
|---|---|
| RGB | rgb(165, 168, 40) |
| HSL | hsl(61, 62%, 41%) |
| HSV | hsv(61, 76%, 66%) |
| CMYK | cmyk(1.8%, 0%, 76.2%, 34.1%) |
| CIE-LAB | lab(66.64, -16.14, 60.83) |
| CIE-LCH | lch(66.64, 62.93, 104.86°) |
| OKLab | oklab(70.69% -0.051 0.1333) |
| OKLCH | oklch(70.69% 0.143 110.9) |
| XYZ | xyz(29.9037, 36.1586, 7.4111) |
| Luminance | 0.3616 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.61
Puke
#A5A502
ΔE00 2.27
Pea Soup Green
#94A617
ΔE00 3.80
Puke Green
#9AAE07
ΔE00 4.08
Mustard Green
#A8B504
ΔE00 4.45
Barf Green
#94AC02
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A828 #2B28A8
analogous
#A86B28 #A5A828 #65A828
triadic
#A5A828 #28A5A8 #A828A5
tetradic
#A5A828 #28A86B #2B28A8 #A82865
square
#A5A828 #28A86B #2B28A8 #A82865
split-complementary
#A5A828 #2865A8 #6B28A8
monochromatic
#444510 #74771C #A5A828 #CDD13D #DADC6E
Accessibility & contrast
On white
2.55
#A5A828 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.23
#A5A828 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A828
8.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A828 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A828 | 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)
#B6A007
Deuteranopia (green-blind)
#B6A433
Tritanopia (blue-blind)
#B19D90
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #a5a828; /* rgb */ color: rgb(165, 168, 40); /* oklch */ color: oklch(70.7% 0.143 110.9);
Tailwind
colors: {
custom: {
50: '#c3c16d',
500: '#a5a828',
950: '#000000',
},
}SCSS
$custom: #a5a828; $custom-light: #c3c16d; $custom-dark: #000000;
JSON
{
"hex": "#a5a828",
"rgb": {
"r": 165,
"g": 168,
"b": 40
},
"hsl": {
"h": 61.406,
"s": 61.538,
"l": 40.784
},
"oklch": {
"l": 0.70689,
"c": 0.14266,
"h": 110.9
},
"luminance": 0.36158
}Semantic roles & 50–950 ramp
primary
#A5A828
secondary
#6B69C3
accent
#43E547
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B