#A8A346#A8A346
#A8A346 is a light, moderate yellow. Relative luminance 0.350; OKLCH L 70.1% C 0.115 H 106.2°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A346 |
|---|---|
| RGB | rgb(168, 163, 70) |
| HSL | hsl(57, 41%, 47%) |
| HSV | hsv(57, 58%, 66%) |
| CMYK | cmyk(0%, 3%, 58.3%, 34.1%) |
| CIE-LAB | lab(65.72, -10.48, 47.91) |
| CIE-LCH | lch(65.72, 49.04, 102.34°) |
| OKLab | oklab(70.09% -0.0321 0.1107) |
| OKLCH | oklch(70.09% 0.115 106.2) |
| XYZ | xyz(30.3521, 34.9624, 10.9427) |
| Luminance | 0.3496 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 4.40
Vomit
#A2A415
ΔE00 4.97
Puke
#A5A502
ΔE00 5.64
Darkkhaki
#BDB76B
ΔE00 6.64
Pea Soup
#929901
ΔE00 6.67
Pea Soup Green
#94A617
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A346 #464BA8
analogous
#A87246 #A8A346 #7CA846
triadic
#A8A346 #46A8A3 #A346A8
tetradic
#A8A346 #46A872 #464BA8 #A8467C
square
#A8A346 #46A872 #464BA8 #A8467C
split-complementary
#A8A346 #467CA8 #7246A8
monochromatic
#524F22 #7D7934 #A8A346 #C1BD6A #D3D095
Accessibility & contrast
On white
2.63
#A8A346 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.99
#A8A346 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A346
7.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A346 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A346 | 1.00 | 2.63 | 7.99 | 7.99 |
| #FFFFFF | 2.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09D3C
Deuteranopia (green-blind)
#B2A24B
Tritanopia (blue-blind)
#B3998F
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #a8a346; /* rgb */ color: rgb(168, 163, 70); /* oklch */ color: oklch(70.1% 0.115 106.2);
Tailwind
colors: {
custom: {
50: '#c4be7d',
500: '#a8a346',
950: '#000000',
},
}SCSS
$custom: #a8a346; $custom-light: #c4be7d; $custom-dark: #000000;
JSON
{
"hex": "#a8a346",
"rgb": {
"r": 168,
"g": 163,
"b": 70
},
"hsl": {
"h": 56.939,
"s": 41.176,
"l": 46.667
},
"oklch": {
"l": 0.70086,
"c": 0.11524,
"h": 106.2
},
"luminance": 0.34961
}Semantic roles & 50–950 ramp
primary
#A8A346
secondary
#8B8EBF
accent
#5DD157
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#13120A
muted
#82817C