#AFAA26#AFAA26
#AFAA26 is a light, vivid yellow. Relative luminance 0.380; OKLCH L 72.0% C 0.144 H 107.2°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).
Color values
| HEX | #AFAA26 |
|---|---|
| RGB | rgb(175, 170, 38) |
| HSL | hsl(58, 64%, 42%) |
| HSV | hsv(58, 78%, 69%) |
| CMYK | cmyk(0%, 2.9%, 78.3%, 31.4%) |
| CIE-LAB | lab(68.02, -12.88, 63.02) |
| CIE-LCH | lch(68.02, 64.33, 101.55°) |
| OKLab | oklab(71.99% -0.0425 0.1372) |
| OKLCH | oklch(71.99% 0.144 107.2) |
| XYZ | xyz(32.4051, 38.0045, 7.4620) |
| Luminance | 0.3800 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 2.47
Vomit
#A2A415
ΔE00 2.83
Muddy Yellow
#BFAC05
ΔE00 4.51
Olive Yellow
#C2B709
ΔE00 4.94
Mustard Green
#A8B504
ΔE00 4.97
Puke Green
#9AAE07
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFAA26 #262BAF
analogous
#AF6626 #AFAA26 #70AF26
triadic
#AFAA26 #26AFAA #AA26AF
tetradic
#AFAA26 #26AF66 #262BAF #AF2670
square
#AFAA26 #26AF66 #262BAF #AF2670
split-complementary
#AFAA26 #2670AF #6626AF
monochromatic
#4A4810 #7D791B #AFAA26 #D5CF3D #E0DC70
Accessibility & contrast
On white
2.44
#AFAA26 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.60
#AFAA26 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFAA26
8.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFAA26 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFAA26 | 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)
#B9A300
Deuteranopia (green-blind)
#BBA831
Tritanopia (blue-blind)
#BC9E92
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #afaa26; /* rgb */ color: rgb(175, 170, 38); /* oklch */ color: oklch(72.0% 0.144 107.2);
Tailwind
colors: {
custom: {
50: '#cbc36c',
500: '#afaa26',
950: '#000000',
},
}SCSS
$custom: #afaa26; $custom-light: #cbc36c; $custom-dark: #000000;
JSON
{
"hex": "#afaa26",
"rgb": {
"r": 175,
"g": 170,
"b": 38
},
"hsl": {
"h": 57.81,
"s": 64.319,
"l": 41.765
},
"oklch": {
"l": 0.71993,
"c": 0.14361,
"h": 107.2
},
"luminance": 0.38003
}Semantic roles & 50–950 ramp
primary
#AFAA26
secondary
#6A6EC7
accent
#47E740
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#141208
muted
#82817B