#A8A81E#A8A81E
#A8A81E is a light, vivid yellow. Relative luminance 0.364; OKLCH L 70.9% C 0.147 H 109.6°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A81E |
|---|---|
| RGB | rgb(168, 168, 30) |
| HSL | hsl(60, 70%, 39%) |
| HSV | hsv(60, 82%, 66%) |
| CMYK | cmyk(0%, 0%, 82.1%, 34.1%) |
| CIE-LAB | lab(66.84, -15.19, 64.04) |
| CIE-LCH | lch(66.84, 65.82, 103.35°) |
| OKLab | oklab(70.9% -0.0493 0.1382) |
| OKLCH | oklch(70.9% 0.147 109.6) |
| XYZ | xyz(30.3866, 36.4248, 6.6581) |
| Luminance | 0.3642 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 1.38
Vomit
#A2A415
ΔE00 1.41
Mustard Green
#A8B504
ΔE00 4.42
Puke Green
#9AAE07
ΔE00 4.63
Pea Soup Green
#94A617
ΔE00 4.65
Pea Soup
#929901
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A81E #1E1EA8
analogous
#A8631E #A8A81E #63A81E
triadic
#A8A81E #1EA8A8 #A81EA8
tetradic
#A8A81E #1EA863 #1E1EA8 #A81E63
square
#A8A81E #1EA863 #1E1EA8 #A81E63
split-complementary
#A8A81E #1E63A8 #631EA8
monochromatic
#40400B #747415 #A8A81E #D9D92A #E2E25E
Accessibility & contrast
On white
2.53
#A8A81E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.28
#A8A81E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A81E
8.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A81E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A81E | 1.00 | 2.53 | 8.28 | 8.28 |
| #FFFFFF | 2.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A100
Deuteranopia (green-blind)
#B8A42C
Tritanopia (blue-blind)
#B59D8F
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #a8a81e; /* rgb */ color: rgb(168, 168, 30); /* oklch */ color: oklch(70.9% 0.147 109.6);
Tailwind
colors: {
custom: {
50: '#c6c169',
500: '#a8a81e',
950: '#000000',
},
}SCSS
$custom: #a8a81e; $custom-light: #c6c169; $custom-dark: #000000;
JSON
{
"hex": "#a8a81e",
"rgb": {
"r": 168,
"g": 168,
"b": 30
},
"hsl": {
"h": 60,
"s": 69.697,
"l": 38.824
},
"oklch": {
"l": 0.70896,
"c": 0.14669,
"h": 109.6
},
"luminance": 0.36424
}Semantic roles & 50–950 ramp
primary
#A8A81E
secondary
#5B5BC7
accent
#3BED3B
background
#FCFBF6
surface
#F9F7EB
border
#D2D0C6
text
#131207
muted
#82817A