#AFA675#AFA675
#AFA675 is a light, moderate yellow. Relative luminance 0.377; OKLCH L 72.1% C 0.067 H 99.0°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA675 |
|---|---|
| RGB | rgb(175, 166, 117) |
| HSL | hsl(51, 27%, 57%) |
| HSV | hsv(51, 33%, 69%) |
| CMYK | cmyk(0%, 5.1%, 33.1%, 31.4%) |
| CIE-LAB | lab(67.78, -4.35, 26.59) |
| CIE-LCH | lch(67.78, 26.95, 99.29°) |
| OKLab | oklab(72.07% -0.0105 0.0663) |
| OKLCH | oklch(72.07% 0.067 99) |
| XYZ | xyz(34.5267, 37.6716, 22.2787) |
| Luminance | 0.3767 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 4.45
Sand
#C2B280
ΔE00 4.53
Stone (survey)
#ADA587
ΔE00 5.24
Bland
#AFA88B
ΔE00 5.61
Putty
#BEAE8A
ΔE00 5.71
Sandstone
#C9AE74
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA675 #757EAF
analogous
#AF8975 #AFA675 #9BAF75
triadic
#AFA675 #75AFA6 #A675AF
tetradic
#AFA675 #75AF89 #757EAF #AF759B
square
#AFA675 #75AF89 #757EAF #AF759B
split-complementary
#AFA675 #759BAF #8975AF
monochromatic
#6B643E #928955 #AFA675 #C5BF9C #DCD8C2
Accessibility & contrast
On white
2.46
#AFA675 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.53
#AFA675 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA675
8.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA675 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA675 | 1.00 | 2.46 | 8.53 | 8.53 |
| #FFFFFF | 2.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AFA372
Deuteranopia (green-blind)
#B2A777
Tritanopia (blue-blind)
#B89F99
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #afa675; /* rgb */ color: rgb(175, 166, 117); /* oklch */ color: oklch(72.1% 0.067 99.0);
Tailwind
colors: {
custom: {
50: '#c7c09d',
500: '#afa675',
950: '#000000',
},
}SCSS
$custom: #afa675; $custom-light: #c7c09d; $custom-dark: #000000;
JSON
{
"hex": "#afa675",
"rgb": {
"r": 175,
"g": 166,
"b": 117
},
"hsl": {
"h": 50.69,
"s": 26.606,
"l": 57.255
},
"oklch": {
"l": 0.72071,
"c": 0.0671,
"h": 99
},
"luminance": 0.37671
}Semantic roles & 50–950 ramp
primary
#AFA675
secondary
#B4B8CC
accent
#73C365
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120E
muted
#82817E