#A6A423#A6A423
#A6A423 is a light, vivid yellow. Relative luminance 0.348; OKLCH L 69.9% C 0.141 H 108.6°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A423 |
|---|---|
| RGB | rgb(166, 164, 35) |
| HSL | hsl(59, 65%, 39%) |
| HSV | hsv(59, 79%, 65%) |
| CMYK | cmyk(0%, 1.2%, 78.9%, 34.9%) |
| CIE-LAB | lab(65.58, -13.84, 61.46) |
| CIE-LCH | lch(65.58, 63.00, 102.69°) |
| OKLab | oklab(69.85% -0.045 0.1336) |
| OKLCH | oklch(69.85% 0.141 108.6) |
| XYZ | xyz(29.3059, 34.7802, 6.7593) |
| Luminance | 0.3478 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.25
Puke
#A5A502
ΔE00 1.69
Pea Soup
#929901
ΔE00 4.61
Pea Soup Green
#94A617
ΔE00 4.84
Baby Poop Green
#8F9805
ΔE00 5.23
Puke Green
#9AAE07
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A423 #2325A6
analogous
#A66323 #A6A423 #67A623
triadic
#A6A423 #23A6A4 #A423A6
tetradic
#A6A423 #23A663 #2325A6 #A62367
square
#A6A423 #23A663 #2325A6 #A62367
split-complementary
#A6A423 #2367A6 #6323A6
monochromatic
#41400E #737218 #A6A423 #D4D132 #DFDD65
Accessibility & contrast
On white
2.64
#A6A423 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.96
#A6A423 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A423
7.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A423 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A423 | 1.00 | 2.64 | 7.96 | 7.96 |
| #FFFFFF | 2.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#B4A12E
Tritanopia (blue-blind)
#B2998C
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #a6a423; /* rgb */ color: rgb(166, 164, 35); /* oklch */ color: oklch(69.9% 0.141 108.6);
Tailwind
colors: {
custom: {
50: '#c4be6a',
500: '#a6a423',
950: '#000000',
},
}SCSS
$custom: #a6a423; $custom-light: #c4be6a; $custom-dark: #000000;
JSON
{
"hex": "#a6a423",
"rgb": {
"r": 166,
"g": 164,
"b": 35
},
"hsl": {
"h": 59.084,
"s": 65.174,
"l": 39.412
},
"oklch": {
"l": 0.69851,
"c": 0.14101,
"h": 108.6
},
"luminance": 0.34779
}Semantic roles & 50–950 ramp
primary
#A6A423
secondary
#6162C4
accent
#42E840
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A