#A6A328#A6A328
#A6A328 is a light, vivid yellow. Relative luminance 0.345; OKLCH L 69.7% C 0.137 H 108.1°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A328 |
|---|---|
| RGB | rgb(166, 163, 40) |
| HSL | hsl(59, 61%, 40%) |
| HSV | hsv(59, 76%, 65%) |
| CMYK | cmyk(0%, 1.8%, 75.9%, 34.9%) |
| CIE-LAB | lab(65.32, -13.12, 59.64) |
| CIE-LCH | lch(65.32, 61.07, 102.41°) |
| OKLab | oklab(69.66% -0.0426 0.1307) |
| OKLCH | oklch(69.66% 0.137 108.1) |
| XYZ | xyz(29.2072, 34.4556, 7.1191) |
| Luminance | 0.3446 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.73
Puke
#A5A502
ΔE00 2.23
Pea Soup
#929901
ΔE00 4.61
Pea Soup Green
#94A617
ΔE00 5.09
Baby Poop Green
#8F9805
ΔE00 5.21
Puke Green
#9AAE07
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A328 #282BA6
analogous
#A66428 #A6A328 #6AA628
triadic
#A6A328 #28A6A3 #A328A6
tetradic
#A6A328 #28A664 #282BA6 #A6286A
square
#A6A328 #28A664 #282BA6 #A6286A
split-complementary
#A6A328 #286AA6 #6428A6
monochromatic
#434210 #75731C #A6A328 #D0CC3B #DCD96D
Accessibility & contrast
On white
2.66
#A6A328 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.89
#A6A328 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A328
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A328 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A328 | 1.00 | 2.66 | 7.89 | 7.89 |
| #FFFFFF | 2.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19C0B
Deuteranopia (green-blind)
#B3A132
Tritanopia (blue-blind)
#B2988C
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #a6a328; /* rgb */ color: rgb(166, 163, 40); /* oklch */ color: oklch(69.7% 0.137 108.1);
Tailwind
colors: {
custom: {
50: '#c4be6c',
500: '#a6a328',
950: '#000000',
},
}SCSS
$custom: #a6a328; $custom-light: #c4be6c; $custom-dark: #000000;
JSON
{
"hex": "#a6a328",
"rgb": {
"r": 166,
"g": 163,
"b": 40
},
"hsl": {
"h": 58.571,
"s": 61.165,
"l": 40.392
},
"oklch": {
"l": 0.69656,
"c": 0.13745,
"h": 108.1
},
"luminance": 0.34455
}Semantic roles & 50–950 ramp
primary
#A6A328
secondary
#676AC2
accent
#47E444
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A