#A4A027#A4A027
#A4A027 is a light, vivid yellow. Relative luminance 0.332; OKLCH L 68.8% C 0.135 H 107.5°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).
Color values
| HEX | #A4A027 |
|---|---|
| RGB | rgb(164, 160, 39) |
| HSL | hsl(58, 62%, 40%) |
| HSV | hsv(58, 76%, 64%) |
| CMYK | cmyk(0%, 2.4%, 76.2%, 35.7%) |
| CIE-LAB | lab(64.31, -12.48, 58.97) |
| CIE-LCH | lch(64.31, 60.28, 101.95°) |
| OKLab | oklab(68.8% -0.0408 0.1292) |
| OKLCH | oklch(68.8% 0.135 107.5) |
| XYZ | xyz(28.2480, 33.1816, 6.8358) |
| Luminance | 0.3318 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.19
Puke
#A5A502
ΔE00 2.72
Pea Soup
#929901
ΔE00 4.16
Baby Poop Green
#8F9805
ΔE00 4.76
Pea Soup Green
#94A617
ΔE00 5.40
Baby Shit Green
#889717
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A4A027 #272BA4
analogous
#A46227 #A4A027 #6AA427
triadic
#A4A027 #27A4A0 #A027A4
tetradic
#A4A027 #27A462 #272BA4 #A4276A
square
#A4A027 #27A462 #272BA4 #A4276A
split-complementary
#A4A027 #276AA4 #6227A4
monochromatic
#41400F #73701B #A4A027 #D0CB38 #DCD86A
Accessibility & contrast
On white
2.75
#A4A027 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.64
#A4A027 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A4A027
7.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A4A027 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A4A027 | 1.00 | 2.75 | 7.64 | 7.64 |
| #FFFFFF | 2.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9A0A
Deuteranopia (green-blind)
#B09E31
Tritanopia (blue-blind)
#B09589
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #a4a027; /* rgb */ color: rgb(164, 160, 39); /* oklch */ color: oklch(68.8% 0.135 107.5);
Tailwind
colors: {
custom: {
50: '#c3bb6b',
500: '#a4a027',
950: '#000000',
},
}SCSS
$custom: #a4a027; $custom-light: #c3bb6b; $custom-dark: #000000;
JSON
{
"hex": "#a4a027",
"rgb": {
"r": 164,
"g": 160,
"b": 39
},
"hsl": {
"h": 58.08,
"s": 61.576,
"l": 39.804
},
"oklch": {
"l": 0.68803,
"c": 0.13544,
"h": 107.5
},
"luminance": 0.33181
}Semantic roles & 50–950 ramp
primary
#A4A027
secondary
#6568C2
accent
#48E543
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A