#A7A628#A7A628
#A7A628 is a light, vivid yellow. Relative luminance 0.356; OKLCH L 70.4% C 0.140 H 109.1°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).
Color values
| HEX | #A7A628 |
|---|---|
| RGB | rgb(167, 166, 40) |
| HSL | hsl(60, 61%, 41%) |
| HSV | hsv(60, 76%, 65%) |
| CMYK | cmyk(0%, 0.6%, 76%, 34.5%) |
| CIE-LAB | lab(66.25, -14.24, 60.52) |
| CIE-LCH | lch(66.25, 62.17, 103.24°) |
| OKLab | oklab(70.41% -0.0458 0.1325) |
| OKLCH | oklch(70.41% 0.14 109.1) |
| XYZ | xyz(29.9567, 35.6421, 7.3087) |
| Luminance | 0.3564 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.48
Puke
#A5A502
ΔE00 1.97
Pea Soup Green
#94A617
ΔE00 4.66
Pea Soup
#929901
ΔE00 5.01
Puke Green
#9AAE07
ΔE00 5.10
Mustard Green
#A8B504
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7A628 #2829A7
analogous
#A76728 #A7A628 #68A728
triadic
#A7A628 #28A7A6 #A628A7
tetradic
#A7A628 #28A767 #2829A7 #A72868
square
#A7A628 #28A767 #2829A7 #A72868
split-complementary
#A7A628 #2868A7 #6728A7
monochromatic
#444410 #76751C #A7A628 #D0CF3C #DCDB6D
Accessibility & contrast
On white
2.58
#A7A628 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.13
#A7A628 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7A628
8.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7A628 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7A628 | 1.00 | 2.58 | 8.13 | 8.13 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B49F08
Deuteranopia (green-blind)
#B6A332
Tritanopia (blue-blind)
#B39B8E
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a7a628; /* rgb */ color: rgb(167, 166, 40); /* oklch */ color: oklch(70.4% 0.140 109.1);
Tailwind
colors: {
custom: {
50: '#c5c06d',
500: '#a7a628',
950: '#000000',
},
}SCSS
$custom: #a7a628; $custom-light: #c5c06d; $custom-dark: #000000;
JSON
{
"hex": "#a7a628",
"rgb": {
"r": 167,
"g": 166,
"b": 40
},
"hsl": {
"h": 59.528,
"s": 61.353,
"l": 40.588
},
"oklch": {
"l": 0.70413,
"c": 0.1402,
"h": 109.1
},
"luminance": 0.35641
}Semantic roles & 50–950 ramp
primary
#A7A628
secondary
#6869C3
accent
#45E443
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A