#AFA63A#AFA63A
#AFA63A is a light, vivid yellow. Relative luminance 0.367; OKLCH L 71.3% C 0.127 H 104.5°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA63A |
|---|---|
| RGB | rgb(175, 166, 58) |
| HSL | hsl(55, 50%, 46%) |
| HSV | hsv(55, 67%, 69%) |
| CMYK | cmyk(0%, 5.1%, 66.9%, 31.4%) |
| CIE-LAB | lab(67.05, -9.83, 54.81) |
| CIE-LCH | lch(67.05, 55.68, 100.17°) |
| OKLab | oklab(71.25% -0.032 0.1234) |
| OKLCH | oklch(71.25% 0.127 104.5) |
| XYZ | xyz(32.0804, 36.6931, 9.3948) |
| Luminance | 0.3669 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.04
Puke
#A5A502
ΔE00 4.21
Muddy Yellow
#BFAC05
ΔE00 5.53
Khaki (survey)
#AAA662
ΔE00 6.43
Olive Yellow
#C2B709
ΔE00 6.78
Pea Soup
#929901
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA63A #3A43AF
analogous
#AF6C3A #AFA63A #7DAF3A
triadic
#AFA63A #3AAFA6 #A63AAF
tetradic
#AFA63A #3AAF6C #3A43AF #AF3A7D
square
#AFA63A #3AAF6C #3A43AF #AF3A7D
split-complementary
#AFA63A #3A7DAF #6C3AAF
monochromatic
#534F1C #817A2B #AFA63A #C9C15D #D9D38B
Accessibility & contrast
On white
2.52
#AFA63A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.34
#AFA63A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA63A
8.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA63A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA63A | 1.00 | 2.52 | 8.34 | 8.34 |
| #FFFFFF | 2.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B4A02B
Deuteranopia (green-blind)
#B7A541
Tritanopia (blue-blind)
#BC9B90
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #afa63a; /* rgb */ color: rgb(175, 166, 58); /* oklch */ color: oklch(71.3% 0.127 104.5);
Tailwind
colors: {
custom: {
50: '#cac076',
500: '#afa63a',
950: '#000000',
},
}SCSS
$custom: #afa63a; $custom-light: #cac076; $custom-dark: #000000;
JSON
{
"hex": "#afa63a",
"rgb": {
"r": 175,
"g": 166,
"b": 58
},
"hsl": {
"h": 55.385,
"s": 50.215,
"l": 45.686
},
"oklch": {
"l": 0.71254,
"c": 0.12746,
"h": 104.5
},
"luminance": 0.36692
}Semantic roles & 50–950 ramp
primary
#AFA63A
secondary
#8287C3
accent
#59DA4E
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141209
muted
#82817B