#A6A846#A6A846
#A6A846 is a light, vivid yellow. Relative luminance 0.366; OKLCH L 71.0% C 0.121 H 110.2°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A846 |
|---|---|
| RGB | rgb(166, 168, 70) |
| HSL | hsl(61, 41%, 47%) |
| HSV | hsv(61, 58%, 66%) |
| CMYK | cmyk(1.2%, 0%, 58.3%, 34.1%) |
| CIE-LAB | lab(66.94, -13.95, 49.23) |
| CIE-LCH | lch(66.94, 51.16, 105.82°) |
| OKLab | oklab(71.02% -0.0418 0.1135) |
| OKLCH | oklch(71.02% 0.121 110.2) |
| XYZ | xyz(30.8348, 36.5552, 11.2247) |
| Luminance | 0.3655 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.59
Khaki (survey)
#AAA662
ΔE00 4.99
Puke
#A5A502
ΔE00 5.39
Pea Soup Green
#94A617
ΔE00 5.39
Booger
#9BB53C
ΔE00 6.19
Puke Green
#9AAE07
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A846 #4846A8
analogous
#A87946 #A6A846 #75A846
triadic
#A6A846 #46A6A8 #A846A6
tetradic
#A6A846 #46A879 #4846A8 #A84675
square
#A6A846 #46A879 #4846A8 #A84675
split-complementary
#A6A846 #4675A8 #7946A8
monochromatic
#515222 #7B7D34 #A6A846 #BFC16A #D2D395
Accessibility & contrast
On white
2.53
#A6A846 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.31
#A6A846 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A846
8.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A846 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A846 | 1.00 | 2.53 | 8.31 | 8.31 |
| #FFFFFF | 2.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B4A13B
Deuteranopia (green-blind)
#B5A44C
Tritanopia (blue-blind)
#B19E93
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #a6a846; /* rgb */ color: rgb(166, 168, 70); /* oklch */ color: oklch(71.0% 0.121 110.2);
Tailwind
colors: {
custom: {
50: '#c3c17d',
500: '#a6a846',
950: '#000000',
},
}SCSS
$custom: #a6a846; $custom-light: #c3c17d; $custom-dark: #000000;
JSON
{
"hex": "#a6a846",
"rgb": {
"r": 166,
"g": 168,
"b": 70
},
"hsl": {
"h": 61.224,
"s": 41.176,
"l": 46.667
},
"oklch": {
"l": 0.71019,
"c": 0.12099,
"h": 110.2
},
"luminance": 0.36554
}Semantic roles & 50–950 ramp
primary
#A6A846
secondary
#8C8BBF
accent
#57D159
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#13120A
muted
#82817C