#A5A846#A5A846
#A5A846 is a light, vivid yellow. Relative luminance 0.364; OKLCH L 70.9% C 0.121 H 110.7°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A846 |
|---|---|
| RGB | rgb(165, 168, 70) |
| HSL | hsl(62, 41%, 47%) |
| HSV | hsv(62, 58%, 66%) |
| CMYK | cmyk(1.8%, 0%, 58.3%, 34.1%) |
| CIE-LAB | lab(66.86, -14.37, 49.11) |
| CIE-LCH | lch(66.86, 51.17, 106.31°) |
| OKLab | oklab(70.93% -0.0429 0.1133) |
| OKLCH | oklch(70.93% 0.121 110.7) |
| XYZ | xyz(30.6260, 36.4475, 11.2149) |
| Luminance | 0.3645 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.64
Khaki (survey)
#AAA662
ΔE00 5.05
Pea Soup Green
#94A617
ΔE00 5.24
Puke
#A5A502
ΔE00 5.48
Booger
#9BB53C
ΔE00 5.98
Puke Green
#9AAE07
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A846 #4946A8
analogous
#A87A46 #A5A846 #74A846
triadic
#A5A846 #46A5A8 #A846A5
tetradic
#A5A846 #46A87A #4946A8 #A84674
square
#A5A846 #46A87A #4946A8 #A84674
split-complementary
#A5A846 #4674A8 #7A46A8
monochromatic
#505222 #7B7D34 #A5A846 #BEC16A #D1D395
Accessibility & contrast
On white
2.53
#A5A846 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.29
#A5A846 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A846
8.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A846 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A846 | 1.00 | 2.53 | 8.29 | 8.29 |
| #FFFFFF | 2.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B4A13B
Deuteranopia (green-blind)
#B5A44C
Tritanopia (blue-blind)
#AF9E93
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #a5a846; /* rgb */ color: rgb(165, 168, 70); /* oklch */ color: oklch(70.9% 0.121 110.7);
Tailwind
colors: {
custom: {
50: '#c2c17d',
500: '#a5a846',
950: '#000000',
},
}SCSS
$custom: #a5a846; $custom-light: #c2c17d; $custom-dark: #000000;
JSON
{
"hex": "#a5a846",
"rgb": {
"r": 165,
"g": 168,
"b": 70
},
"hsl": {
"h": 61.837,
"s": 41.176,
"l": 46.667
},
"oklch": {
"l": 0.70934,
"c": 0.12118,
"h": 110.7
},
"luminance": 0.36447
}Semantic roles & 50–950 ramp
primary
#A5A846
secondary
#8D8BBF
accent
#57D15B
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#13120A
muted
#82817C