#AFC533#AFC533
#AFC533 is a light, vivid yellow. Relative luminance 0.493; OKLCH L 78.1% C 0.165 H 118.0°. Best body text is #000000 at 10.86:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC533 |
|---|---|
| RGB | rgb(175, 197, 51) |
| HSL | hsl(69, 59%, 49%) |
| HSV | hsv(69, 74%, 77%) |
| CMYK | cmyk(11.2%, 0%, 74.1%, 22.7%) |
| CIE-LAB | lab(75.63, -25.82, 65.89) |
| CIE-LCH | lch(75.63, 70.77, 111.40°) |
| OKLab | oklab(78.11% -0.0774 0.1456) |
| OKLCH | oklch(78.11% 0.165 118) |
| XYZ | xyz(38.2439, 49.2859, 10.6298) |
| Luminance | 0.4929 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.15
Gross Green
#A0BF16
ΔE00 2.76
Bile
#B5C306
ΔE00 3.25
Baby Puke Green
#B6C406
ΔE00 3.29
Snot Green
#9DC100
ΔE00 3.32
Green Yellow
#B5CE08
ΔE00 3.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC533 #4933C5
analogous
#C59233 #AFC533 #66C533
triadic
#AFC533 #33AFC5 #C533AF
tetradic
#AFC533 #33C592 #4933C5 #C53366
square
#AFC533 #33C592 #4933C5 #C53366
split-complementary
#AFC533 #3366C5 #9233C5
monochromatic
#59641A #849426 #AFC533 #C4D65F #D6E290
Accessibility & contrast
On white
1.93
#AFC533 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.86
#AFC533 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC533
10.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC533 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC533 | 1.00 | 1.93 | 10.86 | 10.86 |
| #FFFFFF | 1.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D2BA13
Deuteranopia (green-blind)
#D0BB40
Tritanopia (blue-blind)
#BABAA9
Achromatopsia (no color)
#BABABA
Design tokens & code
CSS
--color: #afc533; /* rgb */ color: rgb(175, 197, 51); /* oklch */ color: oklch(78.1% 0.165 118.0);
Tailwind
colors: {
custom: {
50: '#cad676',
500: '#afc533',
950: '#000000',
},
}SCSS
$custom: #afc533; $custom-light: #cad676; $custom-dark: #000000;
JSON
{
"hex": "#afc533",
"rgb": {
"r": 175,
"g": 197,
"b": 51
},
"hsl": {
"h": 69.041,
"s": 58.871,
"l": 48.627
},
"oklch": {
"l": 0.78107,
"c": 0.16486,
"h": 118
},
"luminance": 0.49285
}Semantic roles & 50–950 ramp
primary
#AFC533
secondary
#9187CD
accent
#46E25D
background
#FCFDF7
surface
#F9FAED
border
#D2D3C8
text
#141409
muted
#82837B