#AFAA78#AFAA78
#AFAA78 is a light, moderate yellow. Relative luminance 0.392; OKLCH L 73.0% C 0.068 H 103.1°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).
Color values
| HEX | #AFAA78 |
|---|---|
| RGB | rgb(175, 170, 120) |
| HSL | hsl(55, 26%, 58%) |
| HSV | hsv(55, 31%, 69%) |
| CMYK | cmyk(0%, 2.9%, 31.4%, 31.4%) |
| CIE-LAB | lab(68.91, -6.10, 26.48) |
| CIE-LCH | lch(68.91, 27.18, 102.97°) |
| OKLab | oklab(72.99% -0.0154 0.0661) |
| OKLCH | oklch(72.99% 0.068 103.1) |
| XYZ | xyz(35.4444, 39.2202, 23.4688) |
| Luminance | 0.3922 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 4.18
Sand
#C2B280
ΔE00 4.82
Stone (survey)
#ADA587
ΔE00 5.83
Bland
#AFA88B
ΔE00 5.96
Darkkhaki
#BDB76B
ΔE00 6.22
Putty
#BEAE8A
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFAA78 #787DAF
analogous
#AF8E78 #AFAA78 #99AF78
triadic
#AFAA78 #78AFAA #AA78AF
tetradic
#AFAA78 #78AF8E #787DAF #AF7899
square
#AFAA78 #78AF8E #787DAF #AF7899
split-complementary
#AFAA78 #7899AF #8E78AF
monochromatic
#6C6840 #938D57 #AFAA78 #C6C29E #DDDAC5
Accessibility & contrast
On white
2.37
#AFAA78 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.84
#AFAA78 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFAA78
8.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFAA78 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFAA78 | 1.00 | 2.37 | 8.84 | 8.84 |
| #FFFFFF | 2.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B3A675
Deuteranopia (green-blind)
#B5A97A
Tritanopia (blue-blind)
#B7A39D
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #afaa78; /* rgb */ color: rgb(175, 170, 120); /* oklch */ color: oklch(73.0% 0.068 103.1);
Tailwind
colors: {
custom: {
50: '#c7c39f',
500: '#afaa78',
950: '#000000',
},
}SCSS
$custom: #afaa78; $custom-light: #c7c39f; $custom-dark: #000000;
JSON
{
"hex": "#afaa78",
"rgb": {
"r": 175,
"g": 170,
"b": 120
},
"hsl": {
"h": 54.545,
"s": 25.581,
"l": 57.843
},
"oklch": {
"l": 0.72985,
"c": 0.06786,
"h": 103.1
},
"luminance": 0.39219
}Semantic roles & 50–950 ramp
primary
#AFAA78
secondary
#B6B8CC
accent
#6EC266
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120E
muted
#82817E