#A7A427#A7A427
#A7A427 is a light, vivid yellow. Relative luminance 0.349; OKLCH L 70.0% C 0.139 H 108.1°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).
Color values
| HEX | #A7A427 |
|---|---|
| RGB | rgb(167, 164, 39) |
| HSL | hsl(59, 62%, 40%) |
| HSV | hsv(59, 77%, 65%) |
| CMYK | cmyk(0%, 1.8%, 76.6%, 34.5%) |
| CIE-LAB | lab(65.68, -13.24, 60.33) |
| CIE-LCH | lch(65.68, 61.77, 102.38°) |
| OKLab | oklab(69.96% -0.0431 0.1319) |
| OKLCH | oklch(69.96% 0.139 108.1) |
| XYZ | xyz(29.5792, 34.9139, 7.1000) |
| Luminance | 0.3491 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.64
Puke
#A5A502
ΔE00 2.03
Pea Soup
#929901
ΔE00 4.83
Pea Soup Green
#94A617
ΔE00 5.10
Baby Poop Green
#8F9805
ΔE00 5.44
Puke Green
#9AAE07
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7A427 #272AA7
analogous
#A76427 #A7A427 #6AA727
triadic
#A7A427 #27A7A4 #A427A7
tetradic
#A7A427 #27A764 #272AA7 #A7276A
square
#A7A427 #27A764 #272AA7 #A7276A
split-complementary
#A7A427 #276AA7 #6427A7
monochromatic
#444310 #75731B #A7A427 #D1CD3A #DDDA6C
Accessibility & contrast
On white
2.63
#A7A427 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.98
#A7A427 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7A427
7.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7A427 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7A427 | 1.00 | 2.63 | 7.98 | 7.98 |
| #FFFFFF | 2.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29D07
Deuteranopia (green-blind)
#B4A231
Tritanopia (blue-blind)
#B3998D
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #a7a427; /* rgb */ color: rgb(167, 164, 39); /* oklch */ color: oklch(70.0% 0.139 108.1);
Tailwind
colors: {
custom: {
50: '#c5be6c',
500: '#a7a427',
950: '#000000',
},
}SCSS
$custom: #a7a427; $custom-light: #c5be6c; $custom-dark: #000000;
JSON
{
"hex": "#a7a427",
"rgb": {
"r": 167,
"g": 164,
"b": 39
},
"hsl": {
"h": 58.594,
"s": 62.136,
"l": 40.392
},
"oklch": {
"l": 0.69961,
"c": 0.13878,
"h": 108.1
},
"luminance": 0.34913
}Semantic roles & 50–950 ramp
primary
#A7A427
secondary
#6769C3
accent
#46E543
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A