#AFBD20#AFBD20
#AFBD20 is a light, vivid yellow. Relative luminance 0.456; OKLCH L 76.2% C 0.165 H 115.1°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBD20 |
|---|---|
| RGB | rgb(175, 189, 32) |
| HSL | hsl(65, 71%, 43%) |
| HSV | hsv(65, 83%, 74%) |
| CMYK | cmyk(7.4%, 0%, 83.1%, 25.9%) |
| CIE-LAB | lab(73.29, -22.66, 69.27) |
| CIE-LCH | lch(73.29, 72.88, 108.12°) |
| OKLab | oklab(76.2% -0.0701 0.1495) |
| OKLCH | oklch(76.2% 0.165 115.1) |
| XYZ | xyz(36.1386, 45.6141, 8.2669) |
| Luminance | 0.4561 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 0.91
Bile
#B5C306
ΔE00 2.11
Mustard Green
#A8B504
ΔE00 2.26
Baby Puke Green
#B6C406
ΔE00 2.34
Pea
#A4BF20
ΔE00 2.76
Gross Green
#A0BF16
ΔE00 3.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBD20 #2E20BD
analogous
#BD7C20 #AFBD20 #61BD20
triadic
#AFBD20 #20AFBD #BD20AF
tetradic
#AFBD20 #20BD7C #2E20BD #BD2061
square
#AFBD20 #20BD7C #2E20BD #BD2061
split-complementary
#AFBD20 #2061BD #7C20BD
monochromatic
#4E540E #7F8917 #AFBD20 #D0DE3C #DCE771
Accessibility & contrast
On white
2.07
#AFBD20 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.12
#AFBD20 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBD20
10.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBD20 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBD20 | 1.00 | 2.07 | 10.12 | 10.12 |
| #FFFFFF | 2.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CBB300
Deuteranopia (green-blind)
#CAB531
Tritanopia (blue-blind)
#BBB1A1
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #afbd20; /* rgb */ color: rgb(175, 189, 32); /* oklch */ color: oklch(76.2% 0.165 115.1);
Tailwind
colors: {
custom: {
50: '#cbd06d',
500: '#afbd20',
950: '#000000',
},
}SCSS
$custom: #afbd20; $custom-light: #cbd06d; $custom-dark: #000000;
JSON
{
"hex": "#afbd20",
"rgb": {
"r": 175,
"g": 189,
"b": 32
},
"hsl": {
"h": 65.35,
"s": 71.041,
"l": 43.333
},
"oklch": {
"l": 0.76204,
"c": 0.16513,
"h": 115.1
},
"luminance": 0.45613
}Semantic roles & 50–950 ramp
primary
#AFBD20
secondary
#746BCD
accent
#3AEE4A
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141408
muted
#83827B