#AFBD24#AFBD24
#AFBD24 is a light, vivid yellow. Relative luminance 0.456; OKLCH L 76.2% C 0.164 H 115.1°. Best body text is #000000 at 10.13:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBD24 |
|---|---|
| RGB | rgb(175, 189, 36) |
| HSL | hsl(65, 68%, 44%) |
| HSV | hsv(65, 81%, 74%) |
| CMYK | cmyk(7.4%, 0%, 81%, 25.9%) |
| CIE-LAB | lab(73.31, -22.53, 68.27) |
| CIE-LCH | lch(73.31, 71.89, 108.27°) |
| OKLab | oklab(76.22% -0.0695 0.148) |
| OKLCH | oklch(76.22% 0.164 115.1) |
| XYZ | xyz(36.1963, 45.6372, 8.5708) |
| Luminance | 0.4564 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 1.10
Bile
#B5C306
ΔE00 2.28
Mustard Green
#A8B504
ΔE00 2.35
Baby Puke Green
#B6C406
ΔE00 2.51
Pea
#A4BF20
ΔE00 2.69
Gross Green
#A0BF16
ΔE00 3.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBD24 #3224BD
analogous
#BD7F24 #AFBD24 #63BD24
triadic
#AFBD24 #24AFBD #BD24AF
tetradic
#AFBD24 #24BD7F #3224BD #BD2463
square
#AFBD24 #24BD7F #3224BD #BD2463
split-complementary
#AFBD24 #2463BD #7F24BD
monochromatic
#505610 #7F8A1A #AFBD24 #CDDB43 #DBE576
Accessibility & contrast
On white
2.07
#AFBD24 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.13
#AFBD24 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBD24
10.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBD24 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBD24 | 1.00 | 2.07 | 10.13 | 10.13 |
| #FFFFFF | 2.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CBB300
Deuteranopia (green-blind)
#CAB534
Tritanopia (blue-blind)
#BBB2A2
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #afbd24; /* rgb */ color: rgb(175, 189, 36); /* oklch */ color: oklch(76.2% 0.164 115.1);
Tailwind
colors: {
custom: {
50: '#cbd06e',
500: '#afbd24',
950: '#000000',
},
}SCSS
$custom: #afbd24; $custom-light: #cbd06e; $custom-dark: #000000;
JSON
{
"hex": "#afbd24",
"rgb": {
"r": 175,
"g": 189,
"b": 36
},
"hsl": {
"h": 65.49,
"s": 68,
"l": 44.118
},
"oklch": {
"l": 0.76221,
"c": 0.16353,
"h": 115.1
},
"luminance": 0.45637
}Semantic roles & 50–950 ramp
primary
#AFBD24
secondary
#7970CC
accent
#3DEB4D
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141408
muted
#83827B