#A8A81F#A8A81F
#A8A81F is a light, vivid yellow. Relative luminance 0.364; OKLCH L 70.9% C 0.146 H 109.6°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A81F |
|---|---|
| RGB | rgb(168, 168, 31) |
| HSL | hsl(60, 69%, 39%) |
| HSV | hsv(60, 82%, 66%) |
| CMYK | cmyk(0%, 0%, 81.5%, 34.1%) |
| CIE-LAB | lab(66.85, -15.16, 63.78) |
| CIE-LCH | lch(66.85, 65.56, 103.37°) |
| OKLab | oklab(70.9% -0.0491 0.1378) |
| OKLCH | oklch(70.9% 0.146 109.6) |
| XYZ | xyz(30.3996, 36.4300, 6.7264) |
| Luminance | 0.3643 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.42
Puke
#A5A502
ΔE00 1.43
Mustard Green
#A8B504
ΔE00 4.44
Puke Green
#9AAE07
ΔE00 4.63
Pea Soup Green
#94A617
ΔE00 4.63
Pea Soup
#929901
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A81F #1F1FA8
analogous
#A8641F #A8A81F #64A81F
triadic
#A8A81F #1FA8A8 #A81FA8
tetradic
#A8A81F #1FA864 #1F1FA8 #A81F64
square
#A8A81F #1FA864 #1F1FA8 #A81F64
split-complementary
#A8A81F #1F64A8 #641FA8
monochromatic
#41410C #747415 #A8A81F #D8D82C #E2E260
Accessibility & contrast
On white
2.53
#A8A81F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.29
#A8A81F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A81F
8.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A81F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A81F | 1.00 | 2.53 | 8.29 | 8.29 |
| #FFFFFF | 2.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A100
Deuteranopia (green-blind)
#B8A42C
Tritanopia (blue-blind)
#B49D8F
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #a8a81f; /* rgb */ color: rgb(168, 168, 31); /* oklch */ color: oklch(70.9% 0.146 109.6);
Tailwind
colors: {
custom: {
50: '#c6c169',
500: '#a8a81f',
950: '#000000',
},
}SCSS
$custom: #a8a81f; $custom-light: #c6c169; $custom-dark: #000000;
JSON
{
"hex": "#a8a81f",
"rgb": {
"r": 168,
"g": 168,
"b": 31
},
"hsl": {
"h": 60,
"s": 68.844,
"l": 39.02
},
"oklch": {
"l": 0.70901,
"c": 0.14627,
"h": 109.6
},
"luminance": 0.36429
}Semantic roles & 50–950 ramp
primary
#A8A81F
secondary
#5D5DC6
accent
#3CEC3C
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#131207
muted
#82817A