#A4A827#A4A827
#A4A827 is a light, vivid yellow. Relative luminance 0.360; OKLCH L 70.6% C 0.143 H 111.4°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).
Color values
| HEX | #A4A827 |
|---|---|
| RGB | rgb(164, 168, 39) |
| HSL | hsl(62, 62%, 41%) |
| HSV | hsv(62, 77%, 66%) |
| CMYK | cmyk(2.4%, 0%, 76.8%, 34.1%) |
| CIE-LAB | lab(66.55, -16.62, 61.04) |
| CIE-LCH | lch(66.55, 63.26, 105.23°) |
| OKLab | oklab(70.6% -0.0523 0.1336) |
| OKLCH | oklch(70.6% 0.143 111.4) |
| XYZ | xyz(29.6797, 36.0450, 7.3130) |
| Luminance | 0.3604 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.62
Puke
#A5A502
ΔE00 2.34
Pea Soup Green
#94A617
ΔE00 3.54
Puke Green
#9AAE07
ΔE00 3.85
Mustard Green
#A8B504
ΔE00 4.37
Barf Green
#94AC02
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A4A827 #2B27A8
analogous
#A86B27 #A4A827 #64A827
triadic
#A4A827 #27A4A8 #A827A4
tetradic
#A4A827 #27A86B #2B27A8 #A82764
square
#A4A827 #27A86B #2B27A8 #A82764
split-complementary
#A4A827 #2764A8 #6B27A8
monochromatic
#434510 #74761B #A4A827 #CDD13B #D9DD6C
Accessibility & contrast
On white
2.56
#A4A827 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.21
#A4A827 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A4A827
8.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A4A827 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A4A827 | 1.00 | 2.56 | 8.21 | 8.21 |
| #FFFFFF | 2.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A003
Deuteranopia (green-blind)
#B6A332
Tritanopia (blue-blind)
#B09D90
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #a4a827; /* rgb */ color: rgb(164, 168, 39); /* oklch */ color: oklch(70.6% 0.143 111.4);
Tailwind
colors: {
custom: {
50: '#c3c16c',
500: '#a4a827',
950: '#000000',
},
}SCSS
$custom: #a4a827; $custom-light: #c3c16c; $custom-dark: #000000;
JSON
{
"hex": "#a4a827",
"rgb": {
"r": 164,
"g": 168,
"b": 39
},
"hsl": {
"h": 61.86,
"s": 62.319,
"l": 40.588
},
"oklch": {
"l": 0.70598,
"c": 0.14343,
"h": 111.4
},
"luminance": 0.36044
}Semantic roles & 50–950 ramp
primary
#A4A827
secondary
#6A67C3
accent
#42E547
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A