#A8A262#A8A262
#A8A262 is a light, moderate yellow. Relative luminance 0.350; OKLCH L 70.2% C 0.085 H 103.7°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A262 |
|---|---|
| RGB | rgb(168, 162, 98) |
| HSL | hsl(55, 29%, 52%) |
| HSV | hsv(55, 42%, 66%) |
| CMYK | cmyk(0%, 3.6%, 41.7%, 34.1%) |
| CIE-LAB | lab(65.79, -7.34, 34.02) |
| CIE-LCH | lch(65.79, 34.80, 102.18°) |
| OKLab | oklab(70.25% -0.0202 0.0827) |
| OKLCH | oklch(70.25% 0.085 103.7) |
| XYZ | xyz(31.2740, 35.0482, 16.6704) |
| Luminance | 0.3505 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 1.41
Dark Khaki
#9B8F55
ΔE00 6.10
Darkkhaki
#BDB76B
ΔE00 6.25
Sand
#C2B280
ΔE00 7.22
Moss Green
#8A9A5B
ΔE00 7.64
Sandy Brown
#C4A661
ΔE00 8.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A262 #6268A8
analogous
#A87F62 #A8A262 #8BA862
triadic
#A8A262 #62A8A2 #A262A8
tetradic
#A8A262 #62A87F #6268A8 #A8628B
square
#A8A262 #62A87F #6268A8 #A8628B
split-complementary
#A8A262 #628BA8 #7F62A8
monochromatic
#5C5933 #847F49 #A8A262 #BEB989 #D4D1B1
Accessibility & contrast
On white
2.62
#A8A262 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.01
#A8A262 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A262
8.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A262 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A262 | 1.00 | 2.62 | 8.01 | 8.01 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AC9E5D
Deuteranopia (green-blind)
#AFA165
Tritanopia (blue-blind)
#B19A92
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #a8a262; /* rgb */ color: rgb(168, 162, 98); /* oklch */ color: oklch(70.2% 0.085 103.7);
Tailwind
colors: {
custom: {
50: '#c3bd8f',
500: '#a8a262',
950: '#000000',
},
}SCSS
$custom: #a8a262; $custom-light: #c3bd8f; $custom-dark: #000000;
JSON
{
"hex": "#a8a262",
"rgb": {
"r": 168,
"g": 162,
"b": 98
},
"hsl": {
"h": 54.857,
"s": 28.689,
"l": 52.157
},
"oklch": {
"l": 0.70249,
"c": 0.08512,
"h": 103.7
},
"luminance": 0.35047
}Semantic roles & 50–950 ramp
primary
#A8A262
secondary
#A4A6C2
accent
#6BC563
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13120C
muted
#82817D