#A7A623#A7A623
#A7A623 is a light, vivid yellow. Relative luminance 0.356; OKLCH L 70.4% C 0.143 H 109.1°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).
Color values
| HEX | #A7A623 |
|---|---|
| RGB | rgb(167, 166, 35) |
| HSL | hsl(60, 65%, 40%) |
| HSV | hsv(60, 79%, 65%) |
| CMYK | cmyk(0%, 0.6%, 79%, 34.5%) |
| CIE-LAB | lab(66.22, -14.43, 62.06) |
| CIE-LCH | lch(66.22, 63.72, 103.09°) |
| OKLab | oklab(70.39% -0.0467 0.1349) |
| OKLCH | oklch(70.39% 0.143 109.1) |
| XYZ | xyz(29.8771, 35.6102, 6.8894) |
| Luminance | 0.3561 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.23
Puke
#A5A502
ΔE00 1.56
Pea Soup Green
#94A617
ΔE00 4.68
Pea Soup
#929901
ΔE00 4.96
Puke Green
#9AAE07
ΔE00 5.03
Mustard Green
#A8B504
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7A623 #2324A7
analogous
#A76423 #A7A623 #66A723
triadic
#A7A623 #23A7A6 #A623A7
tetradic
#A7A623 #23A764 #2324A7 #A72366
square
#A7A623 #23A764 #2324A7 #A72366
split-complementary
#A7A623 #2366A7 #6423A7
monochromatic
#42410E #747418 #A7A623 #D4D333 #DFDE66
Accessibility & contrast
On white
2.59
#A7A623 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.12
#A7A623 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7A623
8.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7A623 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7A623 | 1.00 | 2.59 | 8.12 | 8.12 |
| #FFFFFF | 2.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B49F00
Deuteranopia (green-blind)
#B6A32F
Tritanopia (blue-blind)
#B39B8E
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a7a623; /* rgb */ color: rgb(167, 166, 35); /* oklch */ color: oklch(70.4% 0.143 109.1);
Tailwind
colors: {
custom: {
50: '#c5c06a',
500: '#a7a623',
950: '#000000',
},
}SCSS
$custom: #a7a623; $custom-light: #c5c06a; $custom-dark: #000000;
JSON
{
"hex": "#a7a623",
"rgb": {
"r": 167,
"g": 166,
"b": 35
},
"hsl": {
"h": 59.545,
"s": 65.347,
"l": 39.608
},
"oklch": {
"l": 0.70386,
"c": 0.14274,
"h": 109.1
},
"luminance": 0.35609
}Semantic roles & 50–950 ramp
primary
#A7A623
secondary
#6162C4
accent
#41E83F
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A