#A8A140#A8A140
#A8A140 is a light, moderate yellow. Relative luminance 0.342; OKLCH L 69.6% C 0.118 H 105.2°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A140 |
|---|---|
| RGB | rgb(168, 161, 64) |
| HSL | hsl(56, 45%, 45%) |
| HSV | hsv(56, 62%, 66%) |
| CMYK | cmyk(0%, 4.2%, 61.9%, 34.1%) |
| CIE-LAB | lab(65.11, -9.86, 49.98) |
| CIE-LCH | lch(65.11, 50.94, 101.16°) |
| OKLab | oklab(69.58% -0.031 0.1143) |
| OKLCH | oklch(69.58% 0.118 105.2) |
| XYZ | xyz(29.8198, 34.1858, 9.8772) |
| Luminance | 0.3418 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.60
Puke
#A5A502
ΔE00 5.18
Khaki (survey)
#AAA662
ΔE00 5.20
Pea Soup
#929901
ΔE00 6.23
Baby Poop Green
#8F9805
ΔE00 6.62
Pea Soup Green
#94A617
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A140 #4047A8
analogous
#A86D40 #A8A140 #7BA840
triadic
#A8A140 #40A8A1 #A140A8
tetradic
#A8A140 #40A86D #4047A8 #A8407B
square
#A8A140 #40A86D #4047A8 #A8407B
split-complementary
#A8A140 #407BA8 #6D40A8
monochromatic
#4F4C1E #7C772F #A8A140 #C3BD62 #D4CF8E
Accessibility & contrast
On white
2.68
#A8A140 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.84
#A8A140 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A140
7.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A140 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A140 | 1.00 | 2.68 | 7.84 | 7.84 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9C35
Deuteranopia (green-blind)
#B1A045
Tritanopia (blue-blind)
#B4978C
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a8a140; /* rgb */ color: rgb(168, 161, 64); /* oklch */ color: oklch(69.6% 0.118 105.2);
Tailwind
colors: {
custom: {
50: '#c4bc79',
500: '#a8a140',
950: '#000000',
},
}SCSS
$custom: #a8a140; $custom-light: #c4bc79; $custom-dark: #000000;
JSON
{
"hex": "#a8a140",
"rgb": {
"r": 168,
"g": 161,
"b": 64
},
"hsl": {
"h": 55.962,
"s": 44.828,
"l": 45.49
},
"oklch": {
"l": 0.69582,
"c": 0.11842,
"h": 105.2
},
"luminance": 0.34185
}Semantic roles & 50–950 ramp
primary
#A8A140
secondary
#8589BF
accent
#5CD553
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#131209
muted
#82817B