#AFA968#AFA968
#AFA968 is a light, moderate yellow. Relative luminance 0.385; OKLCH L 72.5% C 0.086 H 103.8°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA968 |
|---|---|
| RGB | rgb(175, 169, 104) |
| HSL | hsl(55, 31%, 55%) |
| HSV | hsv(55, 41%, 69%) |
| CMYK | cmyk(0%, 3.4%, 40.6%, 31.4%) |
| CIE-LAB | lab(68.38, -7.50, 34.29) |
| CIE-LCH | lch(68.38, 35.10, 102.34°) |
| OKLab | oklab(72.48% -0.0204 0.0836) |
| OKLCH | oklch(72.48% 0.086 103.8) |
| XYZ | xyz(34.3665, 38.4903, 18.7130) |
| Luminance | 0.3849 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 1.35
Darkkhaki
#BDB76B
ΔE00 4.28
Sand
#C2B280
ΔE00 5.91
Sandy Brown
#C4A661
ΔE00 7.65
Sandstone
#C9AE74
ΔE00 7.68
Dark Khaki
#9B8F55
ΔE00 8.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA968 #686EAF
analogous
#AF8668 #AFA968 #91AF68
triadic
#AFA968 #68AFA9 #A968AF
tetradic
#AFA968 #68AF86 #686EAF #AF6891
square
#AFA968 #68AF86 #686EAF #AF6891
split-complementary
#AFA968 #6891AF #8668AF
monochromatic
#666236 #8E894B #AFA968 #C4C090 #D9D7B8
Accessibility & contrast
On white
2.41
#AFA968 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.70
#AFA968 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA968
8.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA968 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA968 | 1.00 | 2.41 | 8.70 | 8.70 |
| #FFFFFF | 2.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B4A563
Deuteranopia (green-blind)
#B6A86B
Tritanopia (blue-blind)
#B9A199
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #afa968; /* rgb */ color: rgb(175, 169, 104); /* oklch */ color: oklch(72.5% 0.086 103.8);
Tailwind
colors: {
custom: {
50: '#c8c294',
500: '#afa968',
950: '#000000',
},
}SCSS
$custom: #afa968; $custom-light: #c8c294; $custom-dark: #000000;
JSON
{
"hex": "#afa968",
"rgb": {
"r": 175,
"g": 169,
"b": 104
},
"hsl": {
"h": 54.93,
"s": 30.736,
"l": 54.706
},
"oklch": {
"l": 0.7248,
"c": 0.08604,
"h": 103.8
},
"luminance": 0.38489
}Semantic roles & 50–950 ramp
primary
#AFA968
secondary
#AAADC8
accent
#69C761
background
#FCFBF9
surface
#F8F7F1
border
#D1D0CB
text
#13120D
muted
#82817E