#AFA269#AFA269
#AFA269 is a light, moderate yellow. Relative luminance 0.360; OKLCH L 71.0% C 0.077 H 96.9°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA269 |
|---|---|
| RGB | rgb(175, 162, 105) |
| HSL | hsl(49, 30%, 55%) |
| HSV | hsv(49, 40%, 69%) |
| CMYK | cmyk(0%, 7.4%, 40%, 31.4%) |
| CIE-LAB | lab(66.50, -3.66, 31.35) |
| CIE-LCH | lch(66.50, 31.56, 96.65°) |
| OKLab | oklab(71% -0.0093 0.0769) |
| OKLCH | oklch(71% 0.077 96.9) |
| XYZ | xyz(33.1500, 35.9756, 18.5596) |
| Luminance | 0.3598 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 3.73
Sand
#C2B280
ΔE00 5.32
Sandy Brown
#C4A661
ΔE00 5.98
Dark Khaki
#9B8F55
ΔE00 6.17
Dark Beige
#AC9362
ΔE00 6.24
Sandstone
#C9AE74
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA269 #6976AF
analogous
#AF7F69 #AFA269 #99AF69
triadic
#AFA269 #69AFA2 #A269AF
tetradic
#AFA269 #69AF7F #6976AF #AF6999
square
#AFA269 #69AF7F #6976AF #AF6999
split-complementary
#AFA269 #6999AF #7F69AF
monochromatic
#675E37 #8F824C #AFA269 #C4BB91 #DAD3B9
Accessibility & contrast
On white
2.56
#AFA269 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.20
#AFA269 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA269
8.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA269 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA269 | 1.00 | 2.56 | 8.20 | 8.20 |
| #FFFFFF | 2.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AD9F65
Deuteranopia (green-blind)
#B0A46B
Tritanopia (blue-blind)
#B99A94
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #afa269; /* rgb */ color: rgb(175, 162, 105); /* oklch */ color: oklch(71.0% 0.077 96.9);
Tailwind
colors: {
custom: {
50: '#c8bd94',
500: '#afa269',
950: '#000000',
},
}SCSS
$custom: #afa269; $custom-light: #c8bd94; $custom-dark: #000000;
JSON
{
"hex": "#afa269",
"rgb": {
"r": 175,
"g": 162,
"b": 105
},
"hsl": {
"h": 48.857,
"s": 30.435,
"l": 54.902
},
"oklch": {
"l": 0.70997,
"c": 0.07747,
"h": 96.9
},
"luminance": 0.35975
}Semantic roles & 50–950 ramp
primary
#AFA269
secondary
#ABB1C9
accent
#74C761
background
#FCFBF9
surface
#F8F6F1
border
#D1D0CB
text
#13120D
muted
#82817E