#AFAA29#AFAA29
#AFAA29 is a light, vivid yellow. Relative luminance 0.380; OKLCH L 72.0% C 0.142 H 107.2°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).
Color values
| HEX | #AFAA29 |
|---|---|
| RGB | rgb(175, 170, 41) |
| HSL | hsl(58, 62%, 42%) |
| HSV | hsv(58, 77%, 69%) |
| CMYK | cmyk(0%, 2.9%, 76.6%, 31.4%) |
| CIE-LAB | lab(68.04, -12.76, 62.09) |
| CIE-LCH | lch(68.04, 63.39, 101.61°) |
| OKLab | oklab(72.01% -0.042 0.1357) |
| OKLCH | oklch(72.01% 0.142 107.2) |
| XYZ | xyz(32.4555, 38.0247, 7.7273) |
| Luminance | 0.3802 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 2.60
Vomit
#A2A415
ΔE00 2.87
Muddy Yellow
#BFAC05
ΔE00 4.64
Mustard Green
#A8B504
ΔE00 5.04
Olive Yellow
#C2B709
ΔE00 5.07
Puke Green
#9AAE07
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFAA29 #292EAF
analogous
#AF6729 #AFAA29 #71AF29
triadic
#AFAA29 #29AFAA #AA29AF
tetradic
#AFAA29 #29AF67 #292EAF #AF2971
square
#AFAA29 #29AF67 #292EAF #AF2971
split-complementary
#AFAA29 #2971AF #6729AF
monochromatic
#4C4A12 #7D7A1D #AFAA29 #D3CD42 #DEDA74
Accessibility & contrast
On white
2.44
#AFAA29 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.60
#AFAA29 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFAA29
8.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFAA29 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFAA29 | 1.00 | 2.44 | 8.60 | 8.60 |
| #FFFFFF | 2.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B9A308
Deuteranopia (green-blind)
#BBA833
Tritanopia (blue-blind)
#BC9E92
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #afaa29; /* rgb */ color: rgb(175, 170, 41); /* oklch */ color: oklch(72.0% 0.142 107.2);
Tailwind
colors: {
custom: {
50: '#cbc36e',
500: '#afaa29',
950: '#000000',
},
}SCSS
$custom: #afaa29; $custom-light: #cbc36e; $custom-dark: #000000;
JSON
{
"hex": "#afaa29",
"rgb": {
"r": 175,
"g": 170,
"b": 41
},
"hsl": {
"h": 57.761,
"s": 62.037,
"l": 42.353
},
"oklch": {
"l": 0.7201,
"c": 0.14207,
"h": 107.2
},
"luminance": 0.38024
}Semantic roles & 50–950 ramp
primary
#AFAA29
secondary
#6E71C6
accent
#49E543
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#141208
muted
#82817B