#AFBD29#AFBD29
#AFBD29 is a light, vivid yellow. Relative luminance 0.457; OKLCH L 76.2% C 0.161 H 115.2°. Best body text is #000000 at 10.13:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBD29 |
|---|---|
| RGB | rgb(175, 189, 41) |
| HSL | hsl(66, 64%, 45%) |
| HSV | hsv(66, 78%, 74%) |
| CMYK | cmyk(7.4%, 0%, 78.3%, 25.9%) |
| CIE-LAB | lab(73.33, -22.35, 66.89) |
| CIE-LCH | lch(73.33, 70.53, 108.48°) |
| OKLab | oklab(76.24% -0.0686 0.146) |
| OKLCH | oklch(76.24% 0.161 115.2) |
| XYZ | xyz(36.2781, 45.6699, 9.0015) |
| Luminance | 0.4567 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 1.41
Mustard Green
#A8B504
ΔE00 2.52
Bile
#B5C306
ΔE00 2.54
Pea
#A4BF20
ΔE00 2.63
Baby Puke Green
#B6C406
ΔE00 2.76
Gross Green
#A0BF16
ΔE00 3.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBD29 #3729BD
analogous
#BD8129 #AFBD29 #65BD29
triadic
#AFBD29 #29AFBD #BD29AF
tetradic
#AFBD29 #29BD81 #3729BD #BD2965
square
#AFBD29 #29BD81 #3729BD #BD2965
split-complementary
#AFBD29 #2965BD #8129BD
monochromatic
#525813 #808B1E #AFBD29 #CBD84B #D9E37D
Accessibility & contrast
On white
2.07
#AFBD29 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.13
#AFBD29 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBD29
10.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBD29 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBD29 | 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)
#CAB537
Tritanopia (blue-blind)
#BBB2A2
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #afbd29; /* rgb */ color: rgb(175, 189, 41); /* oklch */ color: oklch(76.2% 0.161 115.2);
Tailwind
colors: {
custom: {
50: '#cbd070',
500: '#afbd29',
950: '#000000',
},
}SCSS
$custom: #afbd29; $custom-light: #cbd070; $custom-dark: #000000;
JSON
{
"hex": "#afbd29",
"rgb": {
"r": 175,
"g": 189,
"b": 41
},
"hsl": {
"h": 65.676,
"s": 64.348,
"l": 45.098
},
"oklch": {
"l": 0.76245,
"c": 0.16129,
"h": 115.2
},
"luminance": 0.45669
}Semantic roles & 50–950 ramp
primary
#AFBD29
secondary
#7F77CB
accent
#40E750
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141408
muted
#82827B