#A4A127#A4A127
#A4A127 is a light, vivid yellow. Relative luminance 0.335; OKLCH L 69.0% C 0.136 H 108.0°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).
Color values
| HEX | #A4A127 |
|---|---|
| RGB | rgb(164, 161, 39) |
| HSL | hsl(59, 62%, 40%) |
| HSV | hsv(59, 76%, 64%) |
| CMYK | cmyk(0%, 1.8%, 76.2%, 35.7%) |
| CIE-LAB | lab(64.59, -13.00, 59.23) |
| CIE-LCH | lch(64.59, 60.64, 102.38°) |
| OKLab | oklab(69.03% -0.0422 0.1297) |
| OKLCH | oklch(69.03% 0.136 108) |
| XYZ | xyz(28.4220, 33.5297, 6.8938) |
| Luminance | 0.3353 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.89
Puke
#A5A502
ΔE00 2.49
Pea Soup
#929901
ΔE00 4.16
Baby Poop Green
#8F9805
ΔE00 4.75
Pea Soup Green
#94A617
ΔE00 5.10
Puke Green
#9AAE07
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A4A127 #272AA4
analogous
#A46327 #A4A127 #69A427
triadic
#A4A127 #27A4A1 #A127A4
tetradic
#A4A127 #27A463 #272AA4 #A42769
square
#A4A127 #27A463 #272AA4 #A42769
split-complementary
#A4A127 #2769A4 #6327A4
monochromatic
#41400F #73701B #A4A127 #D0CC38 #DCD96A
Accessibility & contrast
On white
2.73
#A4A127 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.71
#A4A127 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A4A127
7.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A4A127 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A4A127 | 1.00 | 2.73 | 7.71 | 7.71 |
| #FFFFFF | 2.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AF9A09
Deuteranopia (green-blind)
#B19F31
Tritanopia (blue-blind)
#B0968A
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #a4a127; /* rgb */ color: rgb(164, 161, 39); /* oklch */ color: oklch(69.0% 0.136 108.0);
Tailwind
colors: {
custom: {
50: '#c3bc6b',
500: '#a4a127',
950: '#000000',
},
}SCSS
$custom: #a4a127; $custom-light: #c3bc6b; $custom-dark: #000000;
JSON
{
"hex": "#a4a127",
"rgb": {
"r": 164,
"g": 161,
"b": 39
},
"hsl": {
"h": 58.56,
"s": 61.576,
"l": 39.804
},
"oklch": {
"l": 0.69026,
"c": 0.13641,
"h": 108
},
"luminance": 0.33529
}Semantic roles & 50–950 ramp
primary
#A4A127
secondary
#6567C2
accent
#47E543
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A