#AFBE43#AFBE43
#AFBE43 is a light, vivid yellow. Relative luminance 0.463; OKLCH L 76.6% C 0.146 H 115.9°. Best body text is #000000 at 10.27:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBE43 |
|---|---|
| RGB | rgb(175, 190, 67) |
| HSL | hsl(67, 49%, 50%) |
| HSV | hsv(67, 65%, 75%) |
| CMYK | cmyk(7.9%, 0%, 64.7%, 25.5%) |
| CIE-LAB | lab(73.77, -21.51, 58.09) |
| CIE-LCH | lch(73.77, 61.95, 110.31°) |
| OKLab | oklab(76.65% -0.0639 0.1317) |
| OKLCH | oklch(76.65% 0.146 115.9) |
| XYZ | xyz(37.1066, 46.3466, 12.3001) |
| Luminance | 0.4635 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 3.33
Sick Green
#9DB92C
ΔE00 3.48
Snot
#ACBB0D
ΔE00 3.79
Booger
#9BB53C
ΔE00 3.96
Gross Green
#A0BF16
ΔE00 4.06
Mustard Green
#A8B504
ΔE00 4.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBE43 #5243BE
analogous
#BE8F43 #AFBE43 #71BE43
triadic
#AFBE43 #43AFBE #BE43AF
tetradic
#AFBE43 #43BE8F #5243BE #BE4371
square
#AFBE43 #43BE8F #5243BE #BE4371
split-complementary
#AFBE43 #4371BE #8F43BE
monochromatic
#5C6423 #869132 #AFBE43 #C2CE70 #D6DD9E
Accessibility & contrast
On white
2.04
#AFBE43 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.27
#AFBE43 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBE43
10.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBE43 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBE43 | 1.00 | 2.04 | 10.27 | 10.27 |
| #FFFFFF | 2.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CBB533
Deuteranopia (green-blind)
#CAB64C
Tritanopia (blue-blind)
#BAB4A5
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #afbe43; /* rgb */ color: rgb(175, 190, 67); /* oklch */ color: oklch(76.6% 0.146 115.9);
Tailwind
colors: {
custom: {
50: '#cad17d',
500: '#afbe43',
950: '#000000',
},
}SCSS
$custom: #afbe43; $custom-light: #cad17d; $custom-dark: #000000;
JSON
{
"hex": "#afbe43",
"rgb": {
"r": 175,
"g": 190,
"b": 67
},
"hsl": {
"h": 67.317,
"s": 48.617,
"l": 50.392
},
"oklch": {
"l": 0.76648,
"c": 0.1464,
"h": 115.9
},
"luminance": 0.46346
}Semantic roles & 50–950 ramp
primary
#AFBE43
secondary
#9A93CA
accent
#50D860
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C