#AFA062#AFA062
#AFA062 is a light, moderate yellow. Relative luminance 0.351; OKLCH L 70.5% C 0.084 H 96.2°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA062 |
|---|---|
| RGB | rgb(175, 160, 98) |
| HSL | hsl(48, 32%, 54%) |
| HSV | hsv(48, 44%, 69%) |
| CMYK | cmyk(0%, 8.6%, 44%, 31.4%) |
| CIE-LAB | lab(65.86, -3.35, 34.23) |
| CIE-LCH | lch(65.86, 34.40, 95.59°) |
| OKLab | oklab(70.45% -0.009 0.0831) |
| OKLCH | oklch(70.45% 0.084 96.2) |
| XYZ | xyz(32.4554, 35.1386, 16.6257) |
| Luminance | 0.3514 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 3.89
Sandy Brown
#C4A661
ΔE00 5.42
Dark Khaki
#9B8F55
ΔE00 5.71
Dark Beige
#AC9362
ΔE00 5.94
Sand
#C2B280
ΔE00 6.15
Dark Sand
#A88F59
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA062 #6271AF
analogous
#AF7962 #AFA062 #97AF62
triadic
#AFA062 #62AFA0 #A062AF
tetradic
#AFA062 #62AF79 #6271AF #AF6297
square
#AFA062 #62AF79 #6271AF #AF6297
split-complementary
#AFA062 #6297AF #7962AF
monochromatic
#645A33 #8C7F47 #AFA062 #C4B98B #D8D1B3
Accessibility & contrast
On white
2.62
#AFA062 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.03
#AFA062 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA062
8.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA062 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA062 | 1.00 | 2.62 | 8.03 | 8.03 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AC9D5D
Deuteranopia (green-blind)
#B0A264
Tritanopia (blue-blind)
#BA9791
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #afa062; /* rgb */ color: rgb(175, 160, 98); /* oklch */ color: oklch(70.5% 0.084 96.2);
Tailwind
colors: {
custom: {
50: '#c8bb8f',
500: '#afa062',
950: '#000000',
},
}SCSS
$custom: #afa062; $custom-light: #c8bb8f; $custom-dark: #000000;
JSON
{
"hex": "#afa062",
"rgb": {
"r": 175,
"g": 160,
"b": 98
},
"hsl": {
"h": 48.312,
"s": 32.489,
"l": 53.529
},
"oklch": {
"l": 0.70453,
"c": 0.0836,
"h": 96.2
},
"luminance": 0.35137
}Semantic roles & 50–950 ramp
primary
#AFA062
secondary
#A6ACC7
accent
#74C95F
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13110C
muted
#82807D