#AFAA33#AFAA33
#AFAA33 is a light, vivid yellow. Relative luminance 0.381; OKLCH L 72.1% C 0.136 H 107.0°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).
Color values
| HEX | #AFAA33 |
|---|---|
| RGB | rgb(175, 170, 51) |
| HSL | hsl(58, 55%, 44%) |
| HSV | hsv(58, 71%, 69%) |
| CMYK | cmyk(0%, 2.9%, 70.9%, 31.4%) |
| CIE-LAB | lab(68.10, -12.30, 58.63) |
| CIE-LCH | lch(68.10, 59.91, 101.85°) |
| OKLab | oklab(72.08% -0.0397 0.1303) |
| OKLCH | oklch(72.08% 0.136 107) |
| XYZ | xyz(32.6527, 38.1035, 8.7660) |
| Luminance | 0.3810 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 3.20
Puke
#A5A502
ΔE00 3.23
Muddy Yellow
#BFAC05
ΔE00 5.18
Mustard Green
#A8B504
ΔE00 5.44
Olive Yellow
#C2B709
ΔE00 5.63
Puke Green
#9AAE07
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFAA33 #3338AF
analogous
#AF6C33 #AFAA33 #76AF33
triadic
#AFAA33 #33AFAA #AA33AF
tetradic
#AFAA33 #33AF6C #3338AF #AF3376
square
#AFAA33 #33AF6C #3338AF #AF3376
split-complementary
#AFAA33 #3376AF #6C33AF
monochromatic
#504E17 #807C25 #AFAA33 #CDC852 #DBD782
Accessibility & contrast
On white
2.44
#AFAA33 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.62
#AFAA33 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFAA33
8.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFAA33 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFAA33 | 1.00 | 2.44 | 8.62 | 8.62 |
| #FFFFFF | 2.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A31F
Deuteranopia (green-blind)
#BBA83B
Tritanopia (blue-blind)
#BC9F93
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #afaa33; /* rgb */ color: rgb(175, 170, 51); /* oklch */ color: oklch(72.1% 0.136 107.0);
Tailwind
colors: {
custom: {
50: '#cac373',
500: '#afaa33',
950: '#000000',
},
}SCSS
$custom: #afaa33; $custom-light: #cac373; $custom-dark: #000000;
JSON
{
"hex": "#afaa33",
"rgb": {
"r": 175,
"g": 170,
"b": 51
},
"hsl": {
"h": 57.581,
"s": 54.867,
"l": 44.314
},
"oklch": {
"l": 0.72075,
"c": 0.13617,
"h": 107
},
"luminance": 0.38102
}Semantic roles & 50–950 ramp
primary
#AFAA33
secondary
#7A7DC4
accent
#50DE4A
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141208
muted
#82817B