#AFA768#AFA768
#AFA768 is a light, moderate yellow. Relative luminance 0.378; OKLCH L 72.0% C 0.084 H 102.0°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA768 |
|---|---|
| RGB | rgb(175, 167, 104) |
| HSL | hsl(53, 31%, 55%) |
| HSV | hsv(53, 41%, 69%) |
| CMYK | cmyk(0%, 4.6%, 40.6%, 31.4%) |
| CIE-LAB | lab(67.84, -6.44, 33.59) |
| CIE-LCH | lch(67.84, 34.21, 100.85°) |
| OKLab | oklab(72.05% -0.0174 0.082) |
| OKLCH | oklch(72.05% 0.084 102) |
| XYZ | xyz(33.9972, 37.7518, 18.5900) |
| Luminance | 0.3775 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 1.69
Darkkhaki
#BDB76B
ΔE00 4.89
Sand
#C2B280
ΔE00 5.62
Sandy Brown
#C4A661
ΔE00 7.08
Sandstone
#C9AE74
ΔE00 7.20
Dark Khaki
#9B8F55
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA768 #6870AF
analogous
#AF8368 #AFA768 #94AF68
triadic
#AFA768 #68AFA7 #A768AF
tetradic
#AFA768 #68AF83 #6870AF #AF6894
square
#AFA768 #68AF83 #6870AF #AF6894
split-complementary
#AFA768 #6894AF #8368AF
monochromatic
#666136 #8E874B #AFA768 #C4BE90 #D9D6B8
Accessibility & contrast
On white
2.46
#AFA768 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.55
#AFA768 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA768
8.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA768 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA768 | 1.00 | 2.46 | 8.55 | 8.55 |
| #FFFFFF | 2.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B2A363
Deuteranopia (green-blind)
#B4A76B
Tritanopia (blue-blind)
#B99F97
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #afa768; /* rgb */ color: rgb(175, 167, 104); /* oklch */ color: oklch(72.0% 0.084 102.0);
Tailwind
colors: {
custom: {
50: '#c8c194',
500: '#afa768',
950: '#000000',
},
}SCSS
$custom: #afa768; $custom-light: #c8c194; $custom-dark: #000000;
JSON
{
"hex": "#afa768",
"rgb": {
"r": 175,
"g": 167,
"b": 104
},
"hsl": {
"h": 53.239,
"s": 30.736,
"l": 54.706
},
"oklch": {
"l": 0.7205,
"c": 0.08382,
"h": 102
},
"luminance": 0.37751
}Semantic roles & 50–950 ramp
primary
#AFA768
secondary
#AAAEC8
accent
#6CC761
background
#FCFBF9
surface
#F8F7F1
border
#D1D0CB
text
#13120D
muted
#82817E