#A0A828#A0A828
#A0A828 is a light, vivid yellow. Relative luminance 0.356; OKLCH L 70.3% C 0.144 H 113.2°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).
Color values
| HEX | #A0A828 |
|---|---|
| RGB | rgb(160, 168, 40) |
| HSL | hsl(64, 62%, 41%) |
| HSV | hsv(64, 76%, 66%) |
| CMYK | cmyk(4.8%, 0%, 76.2%, 34.1%) |
| CIE-LAB | lab(66.24, -18.32, 60.31) |
| CIE-LCH | lch(66.24, 63.03, 106.90°) |
| OKLab | oklab(70.27% -0.0567 0.1323) |
| OKLCH | oklch(70.27% 0.144 113.2) |
| XYZ | xyz(28.8838, 35.6327, 7.3633) |
| Luminance | 0.3563 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.25
Pea Soup Green
#94A617
ΔE00 2.59
Puke
#A5A502
ΔE00 3.12
Puke Green
#9AAE07
ΔE00 3.19
Barf Green
#94AC02
ΔE00 3.67
Mustard Green
#A8B504
ΔE00 4.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A0A828 #3028A8
analogous
#A87028 #A0A828 #60A828
triadic
#A0A828 #28A0A8 #A828A0
tetradic
#A0A828 #28A870 #3028A8 #A82860
square
#A0A828 #28A870 #3028A8 #A82860
split-complementary
#A0A828 #2860A8 #7028A8
monochromatic
#424510 #71771C #A0A828 #C7D13D #D6DC6E
Accessibility & contrast
On white
2.58
#A0A828 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.13
#A0A828 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A0A828
8.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A0A828 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A0A828 | 1.00 | 2.58 | 8.13 | 8.13 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A007
Deuteranopia (green-blind)
#B5A233
Tritanopia (blue-blind)
#AB9E90
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a0a828; /* rgb */ color: rgb(160, 168, 40); /* oklch */ color: oklch(70.3% 0.144 113.2);
Tailwind
colors: {
custom: {
50: '#c0c16d',
500: '#a0a828',
950: '#000000',
},
}SCSS
$custom: #a0a828; $custom-light: #c0c16d; $custom-dark: #000000;
JSON
{
"hex": "#a0a828",
"rgb": {
"r": 160,
"g": 168,
"b": 40
},
"hsl": {
"h": 63.75,
"s": 61.538,
"l": 40.784
},
"oklch": {
"l": 0.70267,
"c": 0.14398,
"h": 113.2
},
"luminance": 0.35632
}Semantic roles & 50–950 ramp
primary
#A0A828
secondary
#6E69C3
accent
#43E54D
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B