#A8A940#A8A940
#A8A940 is a light, vivid yellow. Relative luminance 0.371; OKLCH L 71.4% C 0.127 H 109.7°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A940 |
|---|---|
| RGB | rgb(168, 169, 64) |
| HSL | hsl(61, 45%, 46%) |
| HSV | hsv(61, 62%, 66%) |
| CMYK | cmyk(0.6%, 0%, 62.1%, 33.7%) |
| CIE-LAB | lab(67.33, -14.04, 52.37) |
| CIE-LCH | lch(67.33, 54.22, 105.01°) |
| OKLab | oklab(71.35% -0.0428 0.1194) |
| OKLCH | oklch(71.35% 0.127 109.7) |
| XYZ | xyz(31.2628, 37.0718, 10.3582) |
| Luminance | 0.3707 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 3.79
Puke
#A5A502
ΔE00 4.50
Pea Soup Green
#94A617
ΔE00 5.12
Puke Green
#9AAE07
ΔE00 5.64
Khaki (survey)
#AAA662
ΔE00 5.81
Mustard Green
#A8B504
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A940 #4140A9
analogous
#A97540 #A8A940 #74A940
triadic
#A8A940 #40A8A9 #A940A8
tetradic
#A8A940 #40A975 #4140A9 #A94074
square
#A8A940 #40A975 #4140A9 #A94074
split-complementary
#A8A940 #4074A9 #7540A9
monochromatic
#50501E #7C7D2F #A8A940 #C3C462 #D4D58F
Accessibility & contrast
On white
2.50
#A8A940 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.41
#A8A940 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A940
8.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A940 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A940 | 1.00 | 2.50 | 8.41 | 8.41 |
| #FFFFFF | 2.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A233
Deuteranopia (green-blind)
#B7A646
Tritanopia (blue-blind)
#B39F93
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #a8a940; /* rgb */ color: rgb(168, 169, 64); /* oklch */ color: oklch(71.4% 0.127 109.7);
Tailwind
colors: {
custom: {
50: '#c4c27a',
500: '#a8a940',
950: '#000000',
},
}SCSS
$custom: #a8a940; $custom-light: #c4c27a; $custom-dark: #000000;
JSON
{
"hex": "#a8a940",
"rgb": {
"r": 168,
"g": 169,
"b": 64
},
"hsl": {
"h": 60.571,
"s": 45.064,
"l": 45.686
},
"oklch": {
"l": 0.71352,
"c": 0.12681,
"h": 109.7
},
"luminance": 0.37071
}Semantic roles & 50–950 ramp
primary
#A8A940
secondary
#8685C0
accent
#53D554
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#131209
muted
#82817B