#A6A623#A6A623
#A6A623 is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.3% C 0.143 H 109.6°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A623 |
|---|---|
| RGB | rgb(166, 166, 35) |
| HSL | hsl(60, 65%, 39%) |
| HSV | hsv(60, 79%, 65%) |
| CMYK | cmyk(0%, 0%, 78.9%, 34.9%) |
| CIE-LAB | lab(66.14, -14.87, 61.96) |
| CIE-LCH | lch(66.14, 63.72, 103.50°) |
| OKLab | oklab(70.3% -0.0479 0.1347) |
| OKLCH | oklch(70.3% 0.143 109.6) |
| XYZ | xyz(29.6666, 35.5017, 6.8796) |
| Luminance | 0.3550 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.09
Puke
#A5A502
ΔE00 1.59
Pea Soup Green
#94A617
ΔE00 4.41
Puke Green
#9AAE07
ΔE00 4.81
Pea Soup
#929901
ΔE00 4.82
Mustard Green
#A8B504
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A623 #2323A6
analogous
#A66523 #A6A623 #65A623
triadic
#A6A623 #23A6A6 #A623A6
tetradic
#A6A623 #23A665 #2323A6 #A62365
square
#A6A623 #23A665 #2323A6 #A62365
split-complementary
#A6A623 #2365A6 #6523A6
monochromatic
#41410E #737318 #A6A623 #D4D432 #DFDF65
Accessibility & contrast
On white
2.59
#A6A623 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.10
#A6A623 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A623
8.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A623 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A623 | 1.00 | 2.59 | 8.10 | 8.10 |
| #FFFFFF | 2.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B49F00
Deuteranopia (green-blind)
#B5A32F
Tritanopia (blue-blind)
#B29B8E
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a6a623; /* rgb */ color: rgb(166, 166, 35); /* oklch */ color: oklch(70.3% 0.143 109.6);
Tailwind
colors: {
custom: {
50: '#c4c06a',
500: '#a6a623',
950: '#000000',
},
}SCSS
$custom: #a6a623; $custom-light: #c4c06a; $custom-dark: #000000;
JSON
{
"hex": "#a6a623",
"rgb": {
"r": 166,
"g": 166,
"b": 35
},
"hsl": {
"h": 60,
"s": 65.174,
"l": 39.412
},
"oklch": {
"l": 0.70299,
"c": 0.14296,
"h": 109.6
},
"luminance": 0.35501
}Semantic roles & 50–950 ramp
primary
#A6A623
secondary
#6161C4
accent
#40E840
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A