#AFA065#AFA065
#AFA065 is a light, moderate yellow. Relative luminance 0.352; OKLCH L 70.5% C 0.080 H 95.6°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA065 |
|---|---|
| RGB | rgb(175, 160, 101) |
| HSL | hsl(48, 32%, 54%) |
| HSV | hsv(48, 42%, 69%) |
| CMYK | cmyk(0%, 8.6%, 42.3%, 31.4%) |
| CIE-LAB | lab(65.90, -3.03, 32.71) |
| CIE-LCH | lch(65.90, 32.85, 95.29°) |
| OKLab | oklab(70.5% -0.0078 0.0798) |
| OKLCH | oklch(70.5% 0.08 95.6) |
| XYZ | xyz(32.5997, 35.1963, 17.3857) |
| Luminance | 0.3519 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 4.15
Sandy Brown
#C4A661
ΔE00 5.50
Dark Beige
#AC9362
ΔE00 5.63
Dark Khaki
#9B8F55
ΔE00 5.72
Sand
#C2B280
ΔE00 5.85
Dust
#B2996E
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA065 #6574AF
analogous
#AF7B65 #AFA065 #99AF65
triadic
#AFA065 #65AFA0 #A065AF
tetradic
#AFA065 #65AF7B #6574AF #AF6599
square
#AFA065 #65AF7B #6574AF #AF6599
split-complementary
#AFA065 #6599AF #7B65AF
monochromatic
#655B35 #8D8049 #AFA065 #C4B98D #D9D2B6
Accessibility & contrast
On white
2.61
#AFA065 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.04
#AFA065 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA065
8.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA065 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA065 | 1.00 | 2.61 | 8.04 | 8.04 |
| #FFFFFF | 2.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AB9D61
Deuteranopia (green-blind)
#AFA267
Tritanopia (blue-blind)
#B99891
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #afa065; /* rgb */ color: rgb(175, 160, 101); /* oklch */ color: oklch(70.5% 0.080 95.6);
Tailwind
colors: {
custom: {
50: '#c8bb92',
500: '#afa065',
950: '#000000',
},
}SCSS
$custom: #afa065; $custom-light: #c8bb92; $custom-dark: #000000;
JSON
{
"hex": "#afa065",
"rgb": {
"r": 175,
"g": 160,
"b": 101
},
"hsl": {
"h": 47.838,
"s": 31.624,
"l": 54.118
},
"oklch": {
"l": 0.70503,
"c": 0.08019,
"h": 95.6
},
"luminance": 0.35195
}Semantic roles & 50–950 ramp
primary
#AFA065
secondary
#A8AFC8
accent
#75C860
background
#FCFBF9
surface
#F8F6F1
border
#D1D0CB
text
#13110D
muted
#82807E