#A8A623#A8A623
#A8A623 is a light, vivid yellow. Relative luminance 0.357; OKLCH L 70.5% C 0.143 H 108.6°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A623 |
|---|---|
| RGB | rgb(168, 166, 35) |
| HSL | hsl(59, 66%, 40%) |
| HSV | hsv(59, 79%, 66%) |
| CMYK | cmyk(0%, 1.2%, 79.2%, 34.1%) |
| CIE-LAB | lab(66.31, -13.99, 62.17) |
| CIE-LCH | lch(66.31, 63.73, 102.69°) |
| OKLab | oklab(70.47% -0.0455 0.1351) |
| OKLCH | oklch(70.47% 0.143 108.6) |
| XYZ | xyz(30.0892, 35.7196, 6.8994) |
| Luminance | 0.3572 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.42
Puke
#A5A502
ΔE00 1.58
Pea Soup Green
#94A617
ΔE00 4.95
Pea Soup
#929901
ΔE00 5.12
Mustard Green
#A8B504
ΔE00 5.21
Puke Green
#9AAE07
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A623 #2325A8
analogous
#A86423 #A8A623 #67A823
triadic
#A8A623 #23A8A6 #A623A8
tetradic
#A8A623 #23A864 #2325A8 #A82367
square
#A8A623 #23A864 #2325A8 #A82367
split-complementary
#A8A623 #2367A8 #6423A8
monochromatic
#43420E #757418 #A8A623 #D5D234 #DFDD66
Accessibility & contrast
On white
2.58
#A8A623 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.14
#A8A623 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A623
8.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A623 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A623 | 1.00 | 2.58 | 8.14 | 8.14 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B49F00
Deuteranopia (green-blind)
#B6A32F
Tritanopia (blue-blind)
#B59B8E
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a8a623; /* rgb */ color: rgb(168, 166, 35); /* oklch */ color: oklch(70.5% 0.143 108.6);
Tailwind
colors: {
custom: {
50: '#c6c06a',
500: '#a8a623',
950: '#000000',
},
}SCSS
$custom: #a8a623; $custom-light: #c6c06a; $custom-dark: #000000;
JSON
{
"hex": "#a8a623",
"rgb": {
"r": 168,
"g": 166,
"b": 35
},
"hsl": {
"h": 59.098,
"s": 65.517,
"l": 39.804
},
"oklch": {
"l": 0.70473,
"c": 0.14254,
"h": 108.6
},
"luminance": 0.35719
}Semantic roles & 50–950 ramp
primary
#A8A623
secondary
#6264C5
accent
#42E83F
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#131207
muted
#82817A