#A8A627#A8A627
#A8A627 is a light, vivid yellow. Relative luminance 0.357; OKLCH L 70.5% C 0.141 H 108.6°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A627 |
|---|---|
| RGB | rgb(168, 166, 39) |
| HSL | hsl(59, 62%, 41%) |
| HSV | hsv(59, 77%, 66%) |
| CMYK | cmyk(0%, 1.2%, 76.8%, 34.1%) |
| CIE-LAB | lab(66.32, -13.84, 60.95) |
| CIE-LCH | lch(66.32, 62.50, 102.79°) |
| OKLab | oklab(70.49% -0.0448 0.1332) |
| OKLCH | oklch(70.49% 0.141 108.6) |
| XYZ | xyz(30.1520, 35.7447, 7.2302) |
| Luminance | 0.3574 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.57
Puke
#A5A502
ΔE00 1.89
Pea Soup Green
#94A617
ΔE00 4.93
Pea Soup
#929901
ΔE00 5.15
Puke Green
#9AAE07
ΔE00 5.31
Mustard Green
#A8B504
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A627 #2729A8
analogous
#A86527 #A8A627 #69A827
triadic
#A8A627 #27A8A6 #A627A8
tetradic
#A8A627 #27A865 #2729A8 #A82769
square
#A8A627 #27A865 #2729A8 #A82769
split-complementary
#A8A627 #2769A8 #6527A8
monochromatic
#454410 #76751B #A8A627 #D1CF3B #DDDB6C
Accessibility & contrast
On white
2.58
#A8A627 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.15
#A8A627 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A627
8.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A627 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A627 | 1.00 | 2.58 | 8.15 | 8.15 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B49F05
Deuteranopia (green-blind)
#B6A332
Tritanopia (blue-blind)
#B49B8E
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a8a627; /* rgb */ color: rgb(168, 166, 39); /* oklch */ color: oklch(70.5% 0.141 108.6);
Tailwind
colors: {
custom: {
50: '#c6c06c',
500: '#a8a627',
950: '#000000',
},
}SCSS
$custom: #a8a627; $custom-light: #c6c06c; $custom-dark: #000000;
JSON
{
"hex": "#a8a627",
"rgb": {
"r": 168,
"g": 166,
"b": 39
},
"hsl": {
"h": 59.07,
"s": 62.319,
"l": 40.588
},
"oklch": {
"l": 0.70495,
"c": 0.14054,
"h": 108.6
},
"luminance": 0.35744
}Semantic roles & 50–950 ramp
primary
#A8A627
secondary
#6769C3
accent
#45E542
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#131207
muted
#82817A