#A8A827#A8A827
#A8A827 is a light, vivid yellow. Relative luminance 0.365; OKLCH L 70.9% C 0.142 H 109.5°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A827 |
|---|---|
| RGB | rgb(168, 168, 39) |
| HSL | hsl(60, 62%, 41%) |
| HSV | hsv(60, 77%, 66%) |
| CMYK | cmyk(0%, 0%, 76.8%, 34.1%) |
| CIE-LAB | lab(66.88, -14.87, 61.46) |
| CIE-LCH | lch(66.88, 63.23, 103.60°) |
| OKLab | oklab(70.94% -0.0477 0.1343) |
| OKLCH | oklch(70.94% 0.143 109.5) |
| XYZ | xyz(30.5184, 36.4775, 7.3523) |
| Luminance | 0.3648 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.63
Puke
#A5A502
ΔE00 1.95
Pea Soup Green
#94A617
ΔE00 4.57
Mustard Green
#A8B504
ΔE00 4.65
Puke Green
#9AAE07
ΔE00 4.71
Pea Soup
#929901
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A827 #2727A8
analogous
#A86727 #A8A827 #67A827
triadic
#A8A827 #27A8A8 #A827A8
tetradic
#A8A827 #27A867 #2727A8 #A82767
square
#A8A827 #27A867 #2727A8 #A82767
split-complementary
#A8A827 #2767A8 #6727A8
monochromatic
#454510 #76761B #A8A827 #D1D13B #DDDD6C
Accessibility & contrast
On white
2.53
#A8A827 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.30
#A8A827 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A827
8.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A827 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A827 | 1.00 | 2.53 | 8.30 | 8.30 |
| #FFFFFF | 2.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A103
Deuteranopia (green-blind)
#B7A532
Tritanopia (blue-blind)
#B49D90
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #a8a827; /* rgb */ color: rgb(168, 168, 39); /* oklch */ color: oklch(70.9% 0.142 109.5);
Tailwind
colors: {
custom: {
50: '#c6c16c',
500: '#a8a827',
950: '#000000',
},
}SCSS
$custom: #a8a827; $custom-light: #c6c16c; $custom-dark: #000000;
JSON
{
"hex": "#a8a827",
"rgb": {
"r": 168,
"g": 168,
"b": 39
},
"hsl": {
"h": 60,
"s": 62.319,
"l": 40.588
},
"oklch": {
"l": 0.70941,
"c": 0.1425,
"h": 109.5
},
"luminance": 0.36477
}Semantic roles & 50–950 ramp
primary
#A8A827
secondary
#6767C3
accent
#42E542
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#131207
muted
#82817A