#A8A362#A8A362
#A8A362 is a light, moderate yellow. Relative luminance 0.354; OKLCH L 70.5% C 0.086 H 104.6°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A362 |
|---|---|
| RGB | rgb(168, 163, 98) |
| HSL | hsl(56, 29%, 52%) |
| HSV | hsv(56, 42%, 66%) |
| CMYK | cmyk(0%, 3%, 41.7%, 34.1%) |
| CIE-LAB | lab(66.06, -7.87, 34.36) |
| CIE-LCH | lch(66.06, 35.25, 102.91°) |
| OKLab | oklab(70.47% -0.0217 0.0835) |
| OKLCH | oklch(70.47% 0.086 104.6) |
| XYZ | xyz(31.4508, 35.4019, 16.7294) |
| Luminance | 0.3540 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 1.02
Darkkhaki
#BDB76B
ΔE00 5.98
Dark Khaki
#9B8F55
ΔE00 6.45
Sand
#C2B280
ΔE00 7.29
Moss Green
#8A9A5B
ΔE00 7.51
Sandy Brown
#C4A661
ΔE00 8.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A362 #6267A8
analogous
#A88062 #A8A362 #8AA862
triadic
#A8A362 #62A8A3 #A362A8
tetradic
#A8A362 #62A880 #6267A8 #A8628A
square
#A8A362 #62A880 #6267A8 #A8628A
split-complementary
#A8A362 #628AA8 #8062A8
monochromatic
#5C5933 #848049 #A8A362 #BEBA89 #D4D1B1
Accessibility & contrast
On white
2.60
#A8A362 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.08
#A8A362 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A362
8.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A362 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A362 | 1.00 | 2.60 | 8.08 | 8.08 |
| #FFFFFF | 2.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AD9F5D
Deuteranopia (green-blind)
#AFA265
Tritanopia (blue-blind)
#B19B93
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a8a362; /* rgb */ color: rgb(168, 163, 98); /* oklch */ color: oklch(70.5% 0.086 104.6);
Tailwind
colors: {
custom: {
50: '#c3be90',
500: '#a8a362',
950: '#000000',
},
}SCSS
$custom: #a8a362; $custom-light: #c3be90; $custom-dark: #000000;
JSON
{
"hex": "#a8a362",
"rgb": {
"r": 168,
"g": 163,
"b": 98
},
"hsl": {
"h": 55.714,
"s": 28.689,
"l": 52.157
},
"oklch": {
"l": 0.70467,
"c": 0.08625,
"h": 104.6
},
"luminance": 0.35401
}Semantic roles & 50–950 ramp
primary
#A8A362
secondary
#A4A6C2
accent
#6AC563
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13120C
muted
#82817D