#A8A61F#A8A61F
#A8A61F is a light, vivid yellow. Relative luminance 0.357; OKLCH L 70.5% C 0.144 H 108.7°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A61F |
|---|---|
| RGB | rgb(168, 166, 31) |
| HSL | hsl(59, 69%, 39%) |
| HSV | hsv(59, 82%, 66%) |
| CMYK | cmyk(0%, 1.2%, 81.5%, 34.1%) |
| CIE-LAB | lab(66.29, -14.13, 63.29) |
| CIE-LCH | lch(66.29, 64.85, 102.59°) |
| OKLab | oklab(70.45% -0.0462 0.1367) |
| OKLCH | oklch(70.45% 0.144 108.7) |
| XYZ | xyz(30.0332, 35.6972, 6.6043) |
| Luminance | 0.3570 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 1.31
Vomit
#A2A415
ΔE00 1.33
Pea Soup Green
#94A617
ΔE00 4.98
Pea Soup
#929901
ΔE00 5.11
Mustard Green
#A8B504
ΔE00 5.13
Puke Green
#9AAE07
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A61F #1F21A8
analogous
#A8621F #A8A61F #66A81F
triadic
#A8A61F #1FA8A6 #A61FA8
tetradic
#A8A61F #1FA862 #1F21A8 #A81F66
square
#A8A61F #1FA862 #1F21A8 #A81F66
split-complementary
#A8A61F #1F66A8 #621FA8
monochromatic
#41400C #747315 #A8A61F #D8D62C #E2E060
Accessibility & contrast
On white
2.58
#A8A61F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.14
#A8A61F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A61F
8.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A61F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A61F | 1.00 | 2.58 | 8.14 | 8.14 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B49F00
Deuteranopia (green-blind)
#B6A32C
Tritanopia (blue-blind)
#B59B8E
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a8a61f; /* rgb */ color: rgb(168, 166, 31); /* oklch */ color: oklch(70.5% 0.144 108.7);
Tailwind
colors: {
custom: {
50: '#c6c069',
500: '#a8a61f',
950: '#000000',
},
}SCSS
$custom: #a8a61f; $custom-light: #c6c069; $custom-dark: #000000;
JSON
{
"hex": "#a8a61f",
"rgb": {
"r": 168,
"g": 166,
"b": 31
},
"hsl": {
"h": 59.124,
"s": 68.844,
"l": 39.02
},
"oklch": {
"l": 0.70454,
"c": 0.14435,
"h": 108.7
},
"luminance": 0.35696
}Semantic roles & 50–950 ramp
primary
#A8A61F
secondary
#5D5EC6
accent
#3FEC3C
background
#FCFBF6
surface
#F9F7EB
border
#D2D0C6
text
#131207
muted
#82817A