#A8A740#A8A740
#A8A740 is a light, vivid yellow. Relative luminance 0.363; OKLCH L 70.9% C 0.125 H 108.7°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A740 |
|---|---|
| RGB | rgb(168, 167, 64) |
| HSL | hsl(59, 45%, 45%) |
| HSV | hsv(59, 62%, 66%) |
| CMYK | cmyk(0%, 0.6%, 61.9%, 34.1%) |
| CIE-LAB | lab(66.77, -13.00, 51.78) |
| CIE-LCH | lch(66.77, 53.38, 104.10°) |
| OKLab | oklab(70.91% -0.0399 0.1181) |
| OKLCH | oklch(70.91% 0.125 108.7) |
| XYZ | xyz(30.8935, 36.3333, 10.2351) |
| Luminance | 0.3633 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 3.78
Puke
#A5A502
ΔE00 4.48
Pea Soup Green
#94A617
ΔE00 5.46
Khaki (survey)
#AAA662
ΔE00 5.53
Puke Green
#9AAE07
ΔE00 6.17
Pea Soup
#929901
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A740 #4041A8
analogous
#A87340 #A8A740 #75A840
triadic
#A8A740 #40A8A7 #A740A8
tetradic
#A8A740 #40A873 #4041A8 #A84075
square
#A8A740 #40A873 #4041A8 #A84075
split-complementary
#A8A740 #4075A8 #7340A8
monochromatic
#4F4F1E #7C7B2F #A8A740 #C3C262 #D4D38E
Accessibility & contrast
On white
2.54
#A8A740 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.27
#A8A740 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A740
8.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A740 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A740 | 1.00 | 2.54 | 8.27 | 8.27 |
| #FFFFFF | 2.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B4A034
Deuteranopia (green-blind)
#B5A446
Tritanopia (blue-blind)
#B39D91
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #a8a740; /* rgb */ color: rgb(168, 167, 64); /* oklch */ color: oklch(70.9% 0.125 108.7);
Tailwind
colors: {
custom: {
50: '#c4c07a',
500: '#a8a740',
950: '#000000',
},
}SCSS
$custom: #a8a740; $custom-light: #c4c07a; $custom-dark: #000000;
JSON
{
"hex": "#a8a740",
"rgb": {
"r": 168,
"g": 167,
"b": 64
},
"hsl": {
"h": 59.423,
"s": 44.828,
"l": 45.49
},
"oklch": {
"l": 0.70908,
"c": 0.12466,
"h": 108.7
},
"luminance": 0.36332
}Semantic roles & 50–950 ramp
primary
#A8A740
secondary
#8585BF
accent
#55D553
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#131209
muted
#82817B