#AFA774#AFA774
#AFA774 is a light, moderate yellow. Relative luminance 0.380; OKLCH L 72.3% C 0.069 H 100.3°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA774 |
|---|---|
| RGB | rgb(175, 167, 116) |
| HSL | hsl(52, 27%, 57%) |
| HSV | hsv(52, 34%, 69%) |
| CMYK | cmyk(0%, 4.6%, 33.7%, 31.4%) |
| CIE-LAB | lab(68.03, -5.01, 27.46) |
| CIE-LCH | lch(68.03, 27.92, 100.35°) |
| OKLab | oklab(72.27% -0.0125 0.0683) |
| OKLCH | oklch(72.27% 0.069 100.3) |
| XYZ | xyz(34.6507, 38.0132, 22.0316) |
| Luminance | 0.3801 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 3.92
Sand
#C2B280
ΔE00 4.60
Stone (survey)
#ADA587
ΔE00 5.75
Bland
#AFA88B
ΔE00 6.06
Putty
#BEAE8A
ΔE00 6.14
Darkkhaki
#BDB76B
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA774 #747CAF
analogous
#AF8974 #AFA774 #9AAF74
triadic
#AFA774 #74AFA7 #A774AF
tetradic
#AFA774 #74AF89 #747CAF #AF749A
square
#AFA774 #74AF89 #747CAF #AF749A
split-complementary
#AFA774 #749AAF #8974AF
monochromatic
#6B653E #928954 #AFA774 #C5C09B #DCD8C2
Accessibility & contrast
On white
2.44
#AFA774 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.60
#AFA774 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA774
8.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA774 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA774 | 1.00 | 2.44 | 8.60 | 8.60 |
| #FFFFFF | 2.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B0A470
Deuteranopia (green-blind)
#B3A776
Tritanopia (blue-blind)
#B8A09A
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #afa774; /* rgb */ color: rgb(175, 167, 116); /* oklch */ color: oklch(72.3% 0.069 100.3);
Tailwind
colors: {
custom: {
50: '#c7c19c',
500: '#afa774',
950: '#000000',
},
}SCSS
$custom: #afa774; $custom-light: #c7c19c; $custom-dark: #000000;
JSON
{
"hex": "#afa774",
"rgb": {
"r": 175,
"g": 167,
"b": 116
},
"hsl": {
"h": 51.864,
"s": 26.941,
"l": 57.059
},
"oklch": {
"l": 0.72265,
"c": 0.06942,
"h": 100.3
},
"luminance": 0.38012
}Semantic roles & 50–950 ramp
primary
#AFA774
secondary
#B3B7CB
accent
#71C365
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120E
muted
#82817E