#A8A11F#A8A11F
#A8A11F is a light, vivid yellow. Relative luminance 0.339; OKLCH L 69.3% C 0.140 H 106.2°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A11F |
|---|---|
| RGB | rgb(168, 161, 31) |
| HSL | hsl(57, 69%, 39%) |
| HSV | hsv(57, 82%, 66%) |
| CMYK | cmyk(0%, 4.2%, 81.5%, 34.1%) |
| CIE-LAB | lab(64.89, -11.53, 62.09) |
| CIE-LCH | lch(64.89, 63.15, 100.52°) |
| OKLab | oklab(69.34% -0.039 0.1341) |
| OKLCH | oklch(69.34% 0.14 106.2) |
| XYZ | xyz(29.1419, 33.9146, 6.3072) |
| Luminance | 0.3391 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 2.36
Vomit
#A2A415
ΔE00 2.41
Pea Soup
#929901
ΔE00 4.93
Muddy Yellow
#BFAC05
ΔE00 5.52
Baby Poop Green
#8F9805
ΔE00 5.61
Brown Yellow
#B29705
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A11F #1F26A8
analogous
#A85D1F #A8A11F #6BA81F
triadic
#A8A11F #1FA8A1 #A11FA8
tetradic
#A8A11F #1FA85D #1F26A8 #A81F6B
square
#A8A11F #1FA85D #1F26A8 #A81F6B
split-complementary
#A8A11F #1F6BA8 #5D1FA8
monochromatic
#413E0C #746F15 #A8A11F #D8CF2C #E2DB60
Accessibility & contrast
On white
2.70
#A8A11F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.78
#A8A11F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A11F
7.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A11F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A11F | 1.00 | 2.70 | 7.78 | 7.78 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#B2A02B
Tritanopia (blue-blind)
#B5968A
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #a8a11f; /* rgb */ color: rgb(168, 161, 31); /* oklch */ color: oklch(69.3% 0.140 106.2);
Tailwind
colors: {
custom: {
50: '#c6bc68',
500: '#a8a11f',
950: '#000000',
},
}SCSS
$custom: #a8a11f; $custom-light: #c6bc68; $custom-dark: #000000;
JSON
{
"hex": "#a8a11f",
"rgb": {
"r": 168,
"g": 161,
"b": 31
},
"hsl": {
"h": 56.934,
"s": 68.844,
"l": 39.02
},
"oklch": {
"l": 0.69342,
"c": 0.13969,
"h": 106.2
},
"luminance": 0.33913
}Semantic roles & 50–950 ramp
primary
#A8A11F
secondary
#5D62C6
accent
#45EC3C
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#131107
muted
#82807A