#AFBE47#AFBE47
#AFBE47 is a light, vivid yellow. Relative luminance 0.464; OKLCH L 76.7% C 0.143 H 116.0°. Best body text is #000000 at 10.28:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBE47 |
|---|---|
| RGB | rgb(175, 190, 71) |
| HSL | hsl(68, 48%, 51%) |
| HSV | hsv(68, 63%, 75%) |
| CMYK | cmyk(7.9%, 0%, 62.6%, 25.5%) |
| CIE-LAB | lab(73.80, -21.24, 56.46) |
| CIE-LCH | lch(73.80, 60.33, 110.61°) |
| OKLab | oklab(76.68% -0.0628 0.1288) |
| OKLCH | oklch(76.68% 0.143 116) |
| XYZ | xyz(37.2308, 46.3963, 12.9541) |
| Luminance | 0.4640 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 3.63
Pea
#A4BF20
ΔE00 3.67
Booger
#9BB53C
ΔE00 3.89
Snot
#ACBB0D
ΔE00 4.24
Gross Green
#A0BF16
ΔE00 4.37
Light Olive Green
#A4BE5C
ΔE00 4.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBE47 #5647BE
analogous
#BE9147 #AFBE47 #73BE47
triadic
#AFBE47 #47AFBE #BE47AF
tetradic
#AFBE47 #47BE91 #5647BE #BE4773
square
#AFBE47 #47BE91 #5647BE #BE4773
split-complementary
#AFBE47 #4773BE #9147BE
monochromatic
#5E6624 #889434 #AFBE47 #C3CE74 #D6DEA1
Accessibility & contrast
On white
2.04
#AFBE47 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.28
#AFBE47 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBE47
10.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBE47 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBE47 | 1.00 | 2.04 | 10.28 | 10.28 |
| #FFFFFF | 2.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CBB538
Deuteranopia (green-blind)
#C9B64F
Tritanopia (blue-blind)
#B9B4A5
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #afbe47; /* rgb */ color: rgb(175, 190, 71); /* oklch */ color: oklch(76.7% 0.143 116.0);
Tailwind
colors: {
custom: {
50: '#cad180',
500: '#afbe47',
950: '#000000',
},
}SCSS
$custom: #afbe47; $custom-light: #cad180; $custom-dark: #000000;
JSON
{
"hex": "#afbe47",
"rgb": {
"r": 175,
"g": 190,
"b": 71
},
"hsl": {
"h": 67.563,
"s": 47.791,
"l": 51.176
},
"oklch": {
"l": 0.76684,
"c": 0.14331,
"h": 116
},
"luminance": 0.46396
}Semantic roles & 50–950 ramp
primary
#AFBE47
secondary
#9D96CB
accent
#50D761
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14140A
muted
#82827C