#AFAA68#AFAA68
#AFAA68 is a light, moderate yellow. Relative luminance 0.389; OKLCH L 72.7% C 0.087 H 104.6°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).
Color values
| HEX | #AFAA68 |
|---|---|
| RGB | rgb(175, 170, 104) |
| HSL | hsl(56, 31%, 55%) |
| HSV | hsv(56, 41%, 69%) |
| CMYK | cmyk(0%, 2.9%, 40.6%, 31.4%) |
| CIE-LAB | lab(68.65, -8.03, 34.63) |
| CIE-LCH | lch(68.65, 35.55, 103.05°) |
| OKLab | oklab(72.7% -0.022 0.0844) |
| OKLCH | oklch(72.7% 0.087 104.6) |
| XYZ | xyz(34.5532, 38.8637, 18.7753) |
| Luminance | 0.3886 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 1.37
Darkkhaki
#BDB76B
ΔE00 4.02
Sand
#C2B280
ΔE00 6.08
Sandstone
#C9AE74
ΔE00 7.93
Sandy Brown
#C4A661
ΔE00 7.95
Light Olive
#ACBF69
ΔE00 8.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFAA68 #686DAF
analogous
#AF8768 #AFAA68 #90AF68
triadic
#AFAA68 #68AFAA #AA68AF
tetradic
#AFAA68 #68AF87 #686DAF #AF6890
square
#AFAA68 #68AF87 #686DAF #AF6890
split-complementary
#AFAA68 #6890AF #8768AF
monochromatic
#666336 #8E8A4B #AFAA68 #C4C190 #D9D7B8
Accessibility & contrast
On white
2.39
#AFAA68 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.77
#AFAA68 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFAA68
8.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFAA68 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFAA68 | 1.00 | 2.39 | 8.77 | 8.77 |
| #FFFFFF | 2.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A663
Deuteranopia (green-blind)
#B7A96B
Tritanopia (blue-blind)
#B9A29A
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #afaa68; /* rgb */ color: rgb(175, 170, 104); /* oklch */ color: oklch(72.7% 0.087 104.6);
Tailwind
colors: {
custom: {
50: '#c8c394',
500: '#afaa68',
950: '#000000',
},
}SCSS
$custom: #afaa68; $custom-light: #c8c394; $custom-dark: #000000;
JSON
{
"hex": "#afaa68",
"rgb": {
"r": 175,
"g": 170,
"b": 104
},
"hsl": {
"h": 55.775,
"s": 30.736,
"l": 54.706
},
"oklch": {
"l": 0.72696,
"c": 0.08716,
"h": 104.6
},
"luminance": 0.38863
}Semantic roles & 50–950 ramp
primary
#AFAA68
secondary
#AAADC8
accent
#68C761
background
#FCFBF9
surface
#F8F7F1
border
#D1D0CB
text
#13120D
muted
#82817E