#A6A323#A6A323
#A6A323 is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.6% C 0.140 H 108.1°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A323 |
|---|---|
| RGB | rgb(166, 163, 35) |
| HSL | hsl(59, 65%, 39%) |
| HSV | hsv(59, 79%, 65%) |
| CMYK | cmyk(0%, 1.8%, 78.9%, 34.9%) |
| CIE-LAB | lab(65.30, -13.32, 61.21) |
| CIE-LCH | lch(65.30, 62.64, 102.28°) |
| OKLab | oklab(69.63% -0.0436 0.1331) |
| OKLCH | oklch(69.63% 0.14 108.1) |
| XYZ | xyz(29.1276, 34.4237, 6.6999) |
| Luminance | 0.3442 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.47
Puke
#A5A502
ΔE00 1.84
Pea Soup
#929901
ΔE00 4.54
Pea Soup Green
#94A617
ΔE00 5.09
Baby Poop Green
#8F9805
ΔE00 5.18
Puke Green
#9AAE07
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A323 #2326A6
analogous
#A66223 #A6A323 #68A623
triadic
#A6A323 #23A6A3 #A323A6
tetradic
#A6A323 #23A662 #2326A6 #A62368
square
#A6A323 #23A662 #2326A6 #A62368
split-complementary
#A6A323 #2368A6 #6223A6
monochromatic
#41400E #737118 #A6A323 #D4D032 #DFDC65
Accessibility & contrast
On white
2.66
#A6A323 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.88
#A6A323 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A323
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A323 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A323 | 1.00 | 2.66 | 7.88 | 7.88 |
| #FFFFFF | 2.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#B3A02E
Tritanopia (blue-blind)
#B2988B
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a6a323; /* rgb */ color: rgb(166, 163, 35); /* oklch */ color: oklch(69.6% 0.140 108.1);
Tailwind
colors: {
custom: {
50: '#c4be6a',
500: '#a6a323',
950: '#000000',
},
}SCSS
$custom: #a6a323; $custom-light: #c4be6a; $custom-dark: #000000;
JSON
{
"hex": "#a6a323",
"rgb": {
"r": 166,
"g": 163,
"b": 35
},
"hsl": {
"h": 58.626,
"s": 65.174,
"l": 39.412
},
"oklch": {
"l": 0.69628,
"c": 0.14004,
"h": 108.1
},
"luminance": 0.34423
}Semantic roles & 50–950 ramp
primary
#A6A323
secondary
#6163C4
accent
#44E840
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A