#A7A423#A7A423
#A7A423 is a light, vivid yellow. Relative luminance 0.349; OKLCH L 69.9% C 0.141 H 108.1°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).
Color values
| HEX | #A7A423 |
|---|---|
| RGB | rgb(167, 164, 35) |
| HSL | hsl(59, 65%, 40%) |
| HSV | hsv(59, 79%, 65%) |
| CMYK | cmyk(0%, 1.8%, 79%, 34.5%) |
| CIE-LAB | lab(65.66, -13.40, 61.57) |
| CIE-LCH | lch(65.66, 63.01, 102.28°) |
| OKLab | oklab(69.94% -0.0438 0.1338) |
| OKLCH | oklch(69.94% 0.141 108.1) |
| XYZ | xyz(29.5164, 34.8888, 6.7692) |
| Luminance | 0.3489 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.46
Puke
#A5A502
ΔE00 1.72
Pea Soup
#929901
ΔE00 4.78
Pea Soup Green
#94A617
ΔE00 5.11
Baby Poop Green
#8F9805
ΔE00 5.42
Puke Green
#9AAE07
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7A423 #2326A7
analogous
#A76223 #A7A423 #68A723
triadic
#A7A423 #23A7A4 #A423A7
tetradic
#A7A423 #23A762 #2326A7 #A72368
square
#A7A423 #23A762 #2326A7 #A72368
split-complementary
#A7A423 #2368A7 #6223A7
monochromatic
#42410E #747218 #A7A423 #D4D133 #DFDC66
Accessibility & contrast
On white
2.63
#A7A423 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.98
#A7A423 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7A423
7.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7A423 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7A423 | 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)
#B29D00
Deuteranopia (green-blind)
#B4A12E
Tritanopia (blue-blind)
#B4998C
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #a7a423; /* rgb */ color: rgb(167, 164, 35); /* oklch */ color: oklch(69.9% 0.141 108.1);
Tailwind
colors: {
custom: {
50: '#c5be6a',
500: '#a7a423',
950: '#000000',
},
}SCSS
$custom: #a7a423; $custom-light: #c5be6a; $custom-dark: #000000;
JSON
{
"hex": "#a7a423",
"rgb": {
"r": 167,
"g": 164,
"b": 35
},
"hsl": {
"h": 58.636,
"s": 65.347,
"l": 39.608
},
"oklch": {
"l": 0.69939,
"c": 0.14081,
"h": 108.1
},
"luminance": 0.34888
}Semantic roles & 50–950 ramp
primary
#A7A423
secondary
#6164C4
accent
#43E83F
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A