#A6A451#A6A451
#A6A451 is a light, moderate yellow. Relative luminance 0.353; OKLCH L 70.3% C 0.106 H 107.6°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A451 |
|---|---|
| RGB | rgb(166, 164, 81) |
| HSL | hsl(59, 34%, 48%) |
| HSV | hsv(59, 51%, 65%) |
| CMYK | cmyk(0%, 1.2%, 51.2%, 34.9%) |
| CIE-LAB | lab(65.94, -10.95, 42.85) |
| CIE-LCH | lch(65.94, 44.22, 104.33°) |
| OKLab | oklab(70.26% -0.032 0.1011) |
| OKLCH | oklch(70.26% 0.106 107.6) |
| XYZ | xyz(30.4873, 35.2528, 12.9815) |
| Luminance | 0.3525 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 2.84
Darkkhaki
#BDB76B
ΔE00 6.00
Vomit
#A2A415
ΔE00 6.42
Puke
#A5A502
ΔE00 7.20
Pea Soup Green
#94A617
ΔE00 7.41
Pea Soup
#929901
ΔE00 7.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A451 #5153A6
analogous
#A67951 #A6A451 #7DA651
triadic
#A6A451 #51A6A4 #A451A6
tetradic
#A6A451 #51A679 #5153A6 #A6517D
square
#A6A451 #51A679 #5153A6 #A6517D
split-complementary
#A6A451 #517DA6 #7951A6
monochromatic
#545329 #7D7B3D #A6A451 #BDBB77 #D1D0A1
Accessibility & contrast
On white
2.61
#A6A451 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.05
#A6A451 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A451
8.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A451 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A451 | 1.00 | 2.61 | 8.05 | 8.05 |
| #FFFFFF | 2.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09E49
Deuteranopia (green-blind)
#B1A255
Tritanopia (blue-blind)
#B09B91
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #a6a451; /* rgb */ color: rgb(166, 164, 81); /* oklch */ color: oklch(70.3% 0.106 107.6);
Tailwind
colors: {
custom: {
50: '#c2be84',
500: '#a6a451',
950: '#000000',
},
}SCSS
$custom: #a6a451; $custom-light: #c2be84; $custom-dark: #000000;
JSON
{
"hex": "#a6a451",
"rgb": {
"r": 166,
"g": 164,
"b": 81
},
"hsl": {
"h": 58.588,
"s": 34.413,
"l": 48.431
},
"oklch": {
"l": 0.70262,
"c": 0.10601,
"h": 107.6
},
"luminance": 0.35252
}Semantic roles & 50–950 ramp
primary
#A6A451
secondary
#9596BE
accent
#60CA5D
background
#FCFBF8
surface
#F8F6EF
border
#D1D0CA
text
#13120B
muted
#82817C