#A8AF77#A8AF77
#A8AF77 is a light, moderate yellow. Relative luminance 0.403; OKLCH L 73.5% C 0.076 H 114.1°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).
Color values
| HEX | #A8AF77 |
|---|---|
| RGB | rgb(168, 175, 119) |
| HSL | hsl(68, 26%, 58%) |
| HSV | hsv(68, 32%, 69%) |
| CMYK | cmyk(4%, 0%, 32%, 31.4%) |
| CIE-LAB | lab(69.69, -11.65, 27.96) |
| CIE-LCH | lch(69.69, 30.29, 112.62°) |
| OKLab | oklab(73.46% -0.0311 0.0696) |
| OKLCH | oklch(73.46% 0.076 114.1) |
| XYZ | xyz(34.8082, 40.3170, 23.3974) |
| Luminance | 0.4032 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 4.97
Tan Green
#A9BE70
ΔE00 5.91
Sage Green
#9CAF88
ΔE00 6.02
Darkkhaki
#BDB76B
ΔE00 6.39
Light Olive
#ACBF69
ΔE00 6.77
Moss Green
#8A9A5B
ΔE00 7.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8AF77 #7E77AF
analogous
#AF9A77 #A8AF77 #8CAF77
triadic
#A8AF77 #77A8AF #AF77A8
tetradic
#A8AF77 #77AF9A #7E77AF #AF778C
square
#A8AF77 #77AF9A #7E77AF #AF778C
split-complementary
#A8AF77 #778CAF #9A77AF
monochromatic
#666C40 #8B9356 #A8AF77 #C1C69E #D9DCC4
Accessibility & contrast
On white
2.32
#A8AF77 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.06
#A8AF77 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8AF77
9.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8AF77 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8AF77 | 1.00 | 2.32 | 9.06 | 9.06 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7AA73
Deuteranopia (green-blind)
#B7AB79
Tritanopia (blue-blind)
#AEA9A1
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a8af77; /* rgb */ color: rgb(168, 175, 119); /* oklch */ color: oklch(73.5% 0.076 114.1);
Tailwind
colors: {
custom: {
50: '#c2c69e',
500: '#a8af77',
950: '#000000',
},
}SCSS
$custom: #a8af77; $custom-light: #c2c69e; $custom-dark: #000000;
JSON
{
"hex": "#a8af77",
"rgb": {
"r": 168,
"g": 175,
"b": 119
},
"hsl": {
"h": 67.5,
"s": 25.926,
"l": 57.647
},
"oklch": {
"l": 0.73463,
"c": 0.0762,
"h": 114.1
},
"luminance": 0.40317
}Semantic roles & 50–950 ramp
primary
#A8AF77
secondary
#B8B6CC
accent
#65C271
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#12130E
muted
#81827E