#A4A227#A4A227
#A4A227 is a light, vivid yellow. Relative luminance 0.339; OKLCH L 69.3% C 0.137 H 108.5°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).
Color values
| HEX | #A4A227 |
|---|---|
| RGB | rgb(164, 162, 39) |
| HSL | hsl(59, 62%, 40%) |
| HSV | hsv(59, 76%, 64%) |
| CMYK | cmyk(0%, 1.2%, 76.2%, 35.7%) |
| CIE-LAB | lab(64.87, -13.53, 59.49) |
| CIE-LCH | lch(64.87, 61.01, 102.81°) |
| OKLab | oklab(69.25% -0.0437 0.1303) |
| OKLCH | oklch(69.25% 0.137 108.5) |
| XYZ | xyz(28.5975, 33.8806, 6.9523) |
| Luminance | 0.3388 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.62
Puke
#A5A502
ΔE00 2.30
Pea Soup
#929901
ΔE00 4.19
Baby Poop Green
#8F9805
ΔE00 4.77
Pea Soup Green
#94A617
ΔE00 4.82
Puke Green
#9AAE07
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A4A227 #2729A4
analogous
#A46427 #A4A227 #68A427
triadic
#A4A227 #27A4A2 #A227A4
tetradic
#A4A227 #27A464 #2729A4 #A42768
square
#A4A227 #27A464 #2729A4 #A42768
split-complementary
#A4A227 #2768A4 #6427A4
monochromatic
#41400F #73711B #A4A227 #D0CD38 #DCDA6A
Accessibility & contrast
On white
2.70
#A4A227 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.78
#A4A227 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A4A227
7.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A4A227 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A4A227 | 1.00 | 2.70 | 7.78 | 7.78 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09B08
Deuteranopia (green-blind)
#B29F31
Tritanopia (blue-blind)
#B0978B
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #a4a227; /* rgb */ color: rgb(164, 162, 39); /* oklch */ color: oklch(69.3% 0.137 108.5);
Tailwind
colors: {
custom: {
50: '#c3bd6c',
500: '#a4a227',
950: '#000000',
},
}SCSS
$custom: #a4a227; $custom-light: #c3bd6c; $custom-dark: #000000;
JSON
{
"hex": "#a4a227",
"rgb": {
"r": 164,
"g": 162,
"b": 39
},
"hsl": {
"h": 59.04,
"s": 61.576,
"l": 39.804
},
"oklch": {
"l": 0.6925,
"c": 0.13739,
"h": 108.5
},
"luminance": 0.3388
}Semantic roles & 50–950 ramp
primary
#A4A227
secondary
#6567C2
accent
#46E543
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A