#A4A140#A4A140
#A4A140 is a light, moderate yellow. Relative luminance 0.338; OKLCH L 69.2% C 0.119 H 107.5°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).
Color values
| HEX | #A4A140 |
|---|---|
| RGB | rgb(164, 161, 64) |
| HSL | hsl(58, 44%, 45%) |
| HSV | hsv(58, 61%, 64%) |
| CMYK | cmyk(0%, 1.8%, 61%, 35.7%) |
| CIE-LAB | lab(64.77, -11.60, 49.51) |
| CIE-LCH | lch(64.77, 50.85, 103.18°) |
| OKLab | oklab(69.23% -0.0357 0.1134) |
| OKLCH | oklch(69.23% 0.119 107.5) |
| XYZ | xyz(28.9810, 33.7533, 9.8379) |
| Luminance | 0.3375 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.35
Khaki (survey)
#AAA662
ΔE00 5.13
Puke
#A5A502
ΔE00 5.14
Pea Soup
#929901
ΔE00 5.64
Baby Poop Green
#8F9805
ΔE00 5.94
Pea Soup Green
#94A617
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A4A140 #4043A4
analogous
#A46F40 #A4A140 #75A440
triadic
#A4A140 #40A4A1 #A140A4
tetradic
#A4A140 #40A46F #4043A4 #A44075
square
#A4A140 #40A46F #4043A4 #A44075
split-complementary
#A4A140 #4075A4 #6F40A4
monochromatic
#4C4B1E #78762F #A4A140 #C1BE60 #D2D08C
Accessibility & contrast
On white
2.71
#A4A140 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.75
#A4A140 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A4A140
7.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A4A140 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A4A140 | 1.00 | 2.71 | 7.75 | 7.75 |
| #FFFFFF | 2.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9B35
Deuteranopia (green-blind)
#AF9F46
Tritanopia (blue-blind)
#AF978C
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #a4a140; /* rgb */ color: rgb(164, 161, 64); /* oklch */ color: oklch(69.2% 0.119 107.5);
Tailwind
colors: {
custom: {
50: '#c1bc79',
500: '#a4a140',
950: '#000000',
},
}SCSS
$custom: #a4a140; $custom-light: #c1bc79; $custom-dark: #000000;
JSON
{
"hex": "#a4a140",
"rgb": {
"r": 164,
"g": 161,
"b": 64
},
"hsl": {
"h": 58.2,
"s": 43.86,
"l": 44.706
},
"oklch": {
"l": 0.69226,
"c": 0.11886,
"h": 107.5
},
"luminance": 0.33752
}Semantic roles & 50–950 ramp
primary
#A4A140
secondary
#8384BD
accent
#58D454
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#131209
muted
#82817B