#AFB419#AFB419
#AFB419 is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.2% C 0.158 H 111.7°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB419 |
|---|---|
| RGB | rgb(175, 180, 25) |
| HSL | hsl(62, 76%, 40%) |
| HSV | hsv(62, 86%, 71%) |
| CMYK | cmyk(2.8%, 0%, 86.1%, 29.4%) |
| CIE-LAB | lab(70.75, -18.38, 68.72) |
| CIE-LCH | lch(70.75, 71.14, 104.97°) |
| OKLab | oklab(74.16% -0.0587 0.1472) |
| OKLCH | oklch(74.16% 0.158 111.7) |
| XYZ | xyz(34.1772, 41.8276, 7.1927) |
| Luminance | 0.4183 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.81
Snot
#ACBB0D
ΔE00 2.63
Puke Yellow
#C2BE0E
ΔE00 4.12
Bile
#B5C306
ΔE00 4.20
Puke Green
#9AAE07
ΔE00 4.22
Puke
#A5A502
ΔE00 4.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB419 #1E19B4
analogous
#B46B19 #AFB419 #62B419
triadic
#AFB419 #19AFB4 #B419AF
tetradic
#AFB419 #19B46B #1E19B4 #B41962
square
#AFB419 #19B46B #1E19B4 #B41962
split-complementary
#AFB419 #1962B4 #6B19B4
monochromatic
#47490A #7B7E12 #AFB419 #DBE129 #E4E95F
Accessibility & contrast
On white
2.24
#AFB419 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.37
#AFB419 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB419
9.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB419 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB419 | 1.00 | 2.24 | 9.37 | 9.37 |
| #FFFFFF | 2.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3AB00
Deuteranopia (green-blind)
#C3AF2B
Tritanopia (blue-blind)
#BCA899
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #afb419; /* rgb */ color: rgb(175, 180, 25); /* oklch */ color: oklch(74.2% 0.158 111.7);
Tailwind
colors: {
custom: {
50: '#cbca69',
500: '#afb419',
950: '#000000',
},
}SCSS
$custom: #afb419; $custom-light: #cbca69; $custom-dark: #000000;
JSON
{
"hex": "#afb419",
"rgb": {
"r": 175,
"g": 180,
"b": 25
},
"hsl": {
"h": 61.935,
"s": 75.61,
"l": 40.196
},
"oklch": {
"l": 0.74158,
"c": 0.15848,
"h": 111.7
},
"luminance": 0.41827
}Semantic roles & 50–950 ramp
primary
#AFB419
secondary
#605CCD
accent
#36F23C
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141307
muted
#83827A