#A6A828#A6A828
#A6A828 is a light, vivid yellow. Relative luminance 0.363; OKLCH L 70.8% C 0.142 H 110.5°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A828 |
|---|---|
| RGB | rgb(166, 168, 40) |
| HSL | hsl(61, 62%, 41%) |
| HSV | hsv(61, 76%, 66%) |
| CMYK | cmyk(1.2%, 0%, 76.2%, 34.1%) |
| CIE-LAB | lab(66.72, -15.71, 60.93) |
| CIE-LCH | lch(66.72, 62.92, 104.45°) |
| OKLab | oklab(70.77% -0.0498 0.1334) |
| OKLCH | oklch(70.77% 0.142 110.5) |
| XYZ | xyz(30.1126, 36.2663, 7.4209) |
| Luminance | 0.3626 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.58
Puke
#A5A502
ΔE00 2.16
Pea Soup Green
#94A617
ΔE00 4.05
Puke Green
#9AAE07
ΔE00 4.29
Mustard Green
#A8B504
ΔE00 4.52
Barf Green
#94AC02
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A828 #2A28A8
analogous
#A86A28 #A6A828 #66A828
triadic
#A6A828 #28A6A8 #A828A6
tetradic
#A6A828 #28A86A #2A28A8 #A82866
square
#A6A828 #28A86A #2A28A8 #A82866
split-complementary
#A6A828 #2866A8 #6A28A8
monochromatic
#444510 #75771C #A6A828 #CED13D #DBDC6E
Accessibility & contrast
On white
2.54
#A6A828 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.25
#A6A828 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A828
8.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A828 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A828 | 1.00 | 2.54 | 8.25 | 8.25 |
| #FFFFFF | 2.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A007
Deuteranopia (green-blind)
#B7A433
Tritanopia (blue-blind)
#B29D90
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #a6a828; /* rgb */ color: rgb(166, 168, 40); /* oklch */ color: oklch(70.8% 0.142 110.5);
Tailwind
colors: {
custom: {
50: '#c4c16d',
500: '#a6a828',
950: '#000000',
},
}SCSS
$custom: #a6a828; $custom-light: #c4c16d; $custom-dark: #000000;
JSON
{
"hex": "#a6a828",
"rgb": {
"r": 166,
"g": 168,
"b": 40
},
"hsl": {
"h": 60.938,
"s": 61.538,
"l": 40.784
},
"oklch": {
"l": 0.70774,
"c": 0.14242,
"h": 110.5
},
"luminance": 0.36265
}Semantic roles & 50–950 ramp
primary
#A6A828
secondary
#6A69C3
accent
#43E546
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B