#AFB413#AFB413
#AFB413 is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.1% C 0.160 H 111.8°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB413 |
|---|---|
| RGB | rgb(175, 180, 19) |
| HSL | hsl(62, 81%, 39%) |
| HSV | hsv(62, 89%, 71%) |
| CMYK | cmyk(2.8%, 0%, 89.4%, 29.4%) |
| CIE-LAB | lab(70.74, -18.51, 69.86) |
| CIE-LCH | lch(70.74, 72.27, 104.84°) |
| OKLab | oklab(74.14% -0.0594 0.1488) |
| OKLCH | oklch(74.14% 0.16 111.8) |
| XYZ | xyz(34.1193, 41.8044, 6.8877) |
| Luminance | 0.4180 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.79
Snot
#ACBB0D
ΔE00 2.62
Puke Yellow
#C2BE0E
ΔE00 4.01
Bile
#B5C306
ΔE00 4.15
Puke
#A5A502
ΔE00 4.25
Puke Green
#9AAE07
ΔE00 4.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB413 #1813B4
analogous
#B46913 #AFB413 #5FB413
triadic
#AFB413 #13AFB4 #B413AF
tetradic
#AFB413 #13B469 #1813B4 #B4135F
square
#AFB413 #13B469 #1813B4 #B4135F
split-complementary
#AFB413 #135FB4 #6913B4
monochromatic
#434507 #797D0D #AFB413 #E1E71D #E8ED54
Accessibility & contrast
On white
2.24
#AFB413 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.36
#AFB413 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB413
9.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB413 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB413 | 1.00 | 2.24 | 9.36 | 9.36 |
| #FFFFFF | 2.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3AB00
Deuteranopia (green-blind)
#C3AF28
Tritanopia (blue-blind)
#BCA899
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #afb413; /* rgb */ color: rgb(175, 180, 19); /* oklch */ color: oklch(74.1% 0.160 111.8);
Tailwind
colors: {
custom: {
50: '#cbca67',
500: '#afb413',
950: '#000000',
},
}SCSS
$custom: #afb413; $custom-light: #cbca67; $custom-dark: #000000;
JSON
{
"hex": "#afb413",
"rgb": {
"r": 175,
"g": 180,
"b": 19
},
"hsl": {
"h": 61.863,
"s": 80.905,
"l": 39.02
},
"oklch": {
"l": 0.7414,
"c": 0.1602,
"h": 111.8
},
"luminance": 0.41803
}Semantic roles & 50–950 ramp
primary
#AFB413
secondary
#5753CF
accent
#30F737
background
#FDFCF6
surface
#FAF8EB
border
#D3D1C6
text
#141307
muted
#83827A