#AFA260#AFA260
#AFA260 is a light, moderate yellow. Relative luminance 0.358; OKLCH L 70.8% C 0.088 H 98.4°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA260 |
|---|---|
| RGB | rgb(175, 162, 96) |
| HSL | hsl(50, 33%, 53%) |
| HSV | hsv(50, 45%, 69%) |
| CMYK | cmyk(0%, 7.4%, 45.1%, 31.4%) |
| CIE-LAB | lab(66.37, -4.64, 35.92) |
| CIE-LCH | lch(66.37, 36.22, 97.35°) |
| OKLab | oklab(70.85% -0.0129 0.0868) |
| OKLCH | oklch(70.85% 0.088 98.4) |
| XYZ | xyz(32.7117, 35.8003, 16.2511) |
| Luminance | 0.3580 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 2.95
Sandy Brown
#C4A661
ΔE00 5.80
Darkkhaki
#BDB76B
ΔE00 6.17
Dark Khaki
#9B8F55
ΔE00 6.21
Sand
#C2B280
ΔE00 6.31
Sandstone
#C9AE74
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA260 #606DAF
analogous
#AF7A60 #AFA260 #94AF60
triadic
#AFA260 #60AFA2 #A260AF
tetradic
#AFA260 #60AF7A #606DAF #AF6094
square
#AFA260 #60AF7A #606DAF #AF6094
split-complementary
#AFA260 #6094AF #7A60AF
monochromatic
#635B32 #8C8046 #AFA260 #C3BA89 #D8D2B1
Accessibility & contrast
On white
2.57
#AFA260 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.16
#AFA260 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA260
8.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA260 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA260 | 1.00 | 2.57 | 8.16 | 8.16 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9F5B
Deuteranopia (green-blind)
#B1A363
Tritanopia (blue-blind)
#BA9992
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #afa260; /* rgb */ color: rgb(175, 162, 96); /* oklch */ color: oklch(70.8% 0.088 98.4);
Tailwind
colors: {
custom: {
50: '#c8bd8e',
500: '#afa260',
950: '#000000',
},
}SCSS
$custom: #afa260; $custom-light: #c8bd8e; $custom-dark: #000000;
JSON
{
"hex": "#afa260",
"rgb": {
"r": 175,
"g": 162,
"b": 96
},
"hsl": {
"h": 50.127,
"s": 33.054,
"l": 53.137
},
"oklch": {
"l": 0.70847,
"c": 0.08776,
"h": 98.4
},
"luminance": 0.35799
}Semantic roles & 50–950 ramp
primary
#AFA260
secondary
#A4AAC6
accent
#70C95F
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13120C
muted
#82817D