#AFAA74#AFAA74
#AFAA74 is a light, moderate yellow. Relative luminance 0.391; OKLCH L 72.9% C 0.073 H 103.5°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).
Color values
| HEX | #AFAA74 |
|---|---|
| RGB | rgb(175, 170, 116) |
| HSL | hsl(55, 27%, 57%) |
| HSV | hsv(55, 34%, 69%) |
| CMYK | cmyk(0%, 2.9%, 33.7%, 31.4%) |
| CIE-LAB | lab(68.84, -6.61, 28.54) |
| CIE-LCH | lch(68.84, 29.29, 103.04°) |
| OKLab | oklab(72.91% -0.017 0.0708) |
| OKLCH | oklch(72.91% 0.073 103.5) |
| XYZ | xyz(35.2067, 39.1251, 22.2169) |
| Luminance | 0.3912 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 3.31
Sand
#C2B280
ΔE00 4.97
Darkkhaki
#BDB76B
ΔE00 5.51
Stone (survey)
#ADA587
ΔE00 6.67
Bland
#AFA88B
ΔE00 6.84
Putty
#BEAE8A
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFAA74 #7479AF
analogous
#AF8D74 #AFAA74 #97AF74
triadic
#AFAA74 #74AFAA #AA74AF
tetradic
#AFAA74 #74AF8D #7479AF #AF7497
square
#AFAA74 #74AF8D #7479AF #AF7497
split-complementary
#AFAA74 #7497AF #8D74AF
monochromatic
#6B673E #928D54 #AFAA74 #C5C29B #DCDAC2
Accessibility & contrast
On white
2.38
#AFAA74 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.82
#AFAA74 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFAA74
8.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFAA74 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFAA74 | 1.00 | 2.38 | 8.82 | 8.82 |
| #FFFFFF | 2.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B3A670
Deuteranopia (green-blind)
#B5A976
Tritanopia (blue-blind)
#B7A39C
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #afaa74; /* rgb */ color: rgb(175, 170, 116); /* oklch */ color: oklch(72.9% 0.073 103.5);
Tailwind
colors: {
custom: {
50: '#c7c39c',
500: '#afaa74',
950: '#000000',
},
}SCSS
$custom: #afaa74; $custom-light: #c7c39c; $custom-dark: #000000;
JSON
{
"hex": "#afaa74",
"rgb": {
"r": 175,
"g": 170,
"b": 116
},
"hsl": {
"h": 54.915,
"s": 26.941,
"l": 57.059
},
"oklch": {
"l": 0.72908,
"c": 0.07282,
"h": 103.5
},
"luminance": 0.39124
}Semantic roles & 50–950 ramp
primary
#AFAA74
secondary
#B3B5CB
accent
#6DC365
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120E
muted
#82817E