#AFC032#AFC032
#AFC032 is a light, vivid yellow. Relative luminance 0.470; OKLCH L 77.0% C 0.160 H 116.3°. Best body text is #000000 at 10.41:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC032 |
|---|---|
| RGB | rgb(175, 192, 50) |
| HSL | hsl(67, 59%, 47%) |
| HSV | hsv(67, 74%, 75%) |
| CMYK | cmyk(8.9%, 0%, 74%, 24.7%) |
| CIE-LAB | lab(74.22, -23.44, 64.89) |
| CIE-LCH | lch(74.22, 68.99, 109.86°) |
| OKLab | oklab(76.97% -0.0709 0.1433) |
| OKLCH | oklch(76.97% 0.16 116.3) |
| XYZ | xyz(37.1055, 47.0440, 10.1427) |
| Luminance | 0.4704 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.19
Snot
#ACBB0D
ΔE00 2.38
Bile
#B5C306
ΔE00 2.94
Gross Green
#A0BF16
ΔE00 2.97
Baby Puke Green
#B6C406
ΔE00 3.08
Sick Green
#9DB92C
ΔE00 3.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC032 #4332C0
analogous
#C08A32 #AFC032 #68C032
triadic
#AFC032 #32AFC0 #C032AF
tetradic
#AFC032 #32C08A #4332C0 #C03268
square
#AFC032 #32C08A #4332C0 #C03268
split-complementary
#AFC032 #3268C0 #8A32C0
monochromatic
#565F19 #838F25 #AFC032 #C6D45B #D7E18B
Accessibility & contrast
On white
2.02
#AFC032 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.41
#AFC032 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC032
10.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC032 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC032 | 1.00 | 2.02 | 10.41 | 10.41 |
| #FFFFFF | 2.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDB613
Deuteranopia (green-blind)
#CCB73E
Tritanopia (blue-blind)
#BAB5A5
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #afc032; /* rgb */ color: rgb(175, 192, 50); /* oklch */ color: oklch(77.0% 0.160 116.3);
Tailwind
colors: {
custom: {
50: '#cad274',
500: '#afc032',
950: '#000000',
},
}SCSS
$custom: #afc032; $custom-light: #cad274; $custom-dark: #000000;
JSON
{
"hex": "#afc032",
"rgb": {
"r": 175,
"g": 192,
"b": 50
},
"hsl": {
"h": 67.183,
"s": 58.678,
"l": 47.451
},
"oklch": {
"l": 0.76972,
"c": 0.15986,
"h": 116.3
},
"luminance": 0.47044
}Semantic roles & 50–950 ramp
primary
#AFC032
secondary
#8B83CB
accent
#46E259
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B