#A8A427#A8A427
#A8A427 is a light, vivid yellow. Relative luminance 0.350; OKLCH L 70.0% C 0.139 H 107.6°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A427 |
|---|---|
| RGB | rgb(168, 164, 39) |
| HSL | hsl(58, 62%, 41%) |
| HSV | hsv(58, 77%, 66%) |
| CMYK | cmyk(0%, 2.4%, 76.8%, 34.1%) |
| CIE-LAB | lab(65.77, -12.80, 60.44) |
| CIE-LCH | lch(65.77, 61.78, 101.96°) |
| OKLab | oklab(70.05% -0.0419 0.1321) |
| OKLCH | oklch(70.05% 0.139 107.6) |
| XYZ | xyz(29.7913, 35.0233, 7.1099) |
| Luminance | 0.3502 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.83
Puke
#A5A502
ΔE00 2.09
Pea Soup
#929901
ΔE00 5.01
Pea Soup Green
#94A617
ΔE00 5.37
Baby Poop Green
#8F9805
ΔE00 5.63
Muddy Yellow
#BFAC05
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A427 #272BA8
analogous
#A86427 #A8A427 #6BA827
triadic
#A8A427 #27A8A4 #A427A8
tetradic
#A8A427 #27A864 #272BA8 #A8276B
square
#A8A427 #27A864 #272BA8 #A8276B
split-complementary
#A8A427 #276BA8 #6427A8
monochromatic
#454310 #76741B #A8A427 #D1CD3B #DDD96C
Accessibility & contrast
On white
2.62
#A8A427 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.00
#A8A427 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A427
8.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A427 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A427 | 1.00 | 2.62 | 8.00 | 8.00 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29D06
Deuteranopia (green-blind)
#B4A231
Tritanopia (blue-blind)
#B5998D
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #a8a427; /* rgb */ color: rgb(168, 164, 39); /* oklch */ color: oklch(70.0% 0.139 107.6);
Tailwind
colors: {
custom: {
50: '#c6be6c',
500: '#a8a427',
950: '#000000',
},
}SCSS
$custom: #a8a427; $custom-light: #c6be6c; $custom-dark: #000000;
JSON
{
"hex": "#a8a427",
"rgb": {
"r": 168,
"g": 164,
"b": 39
},
"hsl": {
"h": 58.14,
"s": 62.319,
"l": 40.588
},
"oklch": {
"l": 0.7005,
"c": 0.1386,
"h": 107.6
},
"luminance": 0.35022
}Semantic roles & 50–950 ramp
primary
#A8A427
secondary
#676AC3
accent
#47E542
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#131207
muted
#82817A