#AFAC60#AFAC60
#AFAC60 is a light, moderate yellow. Relative luminance 0.395; OKLCH L 73.0% C 0.098 H 106.6°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).
Color values
| HEX | #AFAC60 |
|---|---|
| RGB | rgb(175, 172, 96) |
| HSL | hsl(58, 33%, 53%) |
| HSV | hsv(58, 45%, 69%) |
| CMYK | cmyk(0%, 1.7%, 45.1%, 31.4%) |
| CIE-LAB | lab(69.09, -9.93, 39.30) |
| CIE-LCH | lch(69.09, 40.53, 104.19°) |
| OKLab | oklab(73% -0.0281 0.0944) |
| OKLCH | oklch(73% 0.098 106.6) |
| XYZ | xyz(34.5437, 39.4644, 16.8618) |
| Luminance | 0.3946 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 2.16
Darkkhaki
#BDB76B
ΔE00 3.36
Light Olive
#ACBF69
ΔE00 7.04
Tan Green
#A9BE70
ΔE00 7.41
Sand
#C2B280
ΔE00 7.44
Light Olive Green
#A4BE5C
ΔE00 8.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFAC60 #6063AF
analogous
#AF8560 #AFAC60 #8AAF60
triadic
#AFAC60 #60AFAC #AC60AF
tetradic
#AFAC60 #60AF85 #6063AF #AF608A
square
#AFAC60 #60AF85 #6063AF #AF608A
split-complementary
#AFAC60 #608AAF #8560AF
monochromatic
#636132 #8C8946 #AFAC60 #C3C189 #D8D7B1
Accessibility & contrast
On white
2.36
#AFAC60 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.89
#AFAC60 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFAC60
8.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFAC60 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFAC60 | 1.00 | 2.36 | 8.89 | 8.89 |
| #FFFFFF | 2.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A75A
Deuteranopia (green-blind)
#B9AA63
Tritanopia (blue-blind)
#B9A39A
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #afac60; /* rgb */ color: rgb(175, 172, 96); /* oklch */ color: oklch(73.0% 0.098 106.6);
Tailwind
colors: {
custom: {
50: '#c8c48f',
500: '#afac60',
950: '#000000',
},
}SCSS
$custom: #afac60; $custom-light: #c8c48f; $custom-dark: #000000;
JSON
{
"hex": "#afac60",
"rgb": {
"r": 175,
"g": 172,
"b": 96
},
"hsl": {
"h": 57.722,
"s": 33.054,
"l": 53.137
},
"oklch": {
"l": 0.73004,
"c": 0.09847,
"h": 106.6
},
"luminance": 0.39464
}Semantic roles & 50–950 ramp
primary
#AFAC60
secondary
#A4A6C6
accent
#63C95F
background
#FCFCF8
surface
#F8F8F0
border
#D1D1CB
text
#13120C
muted
#82817D