#AFC432#AFC432
#AFC432 is a light, vivid yellow. Relative luminance 0.488; OKLCH L 77.9% C 0.164 H 117.7°. Best body text is #000000 at 10.76:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC432 |
|---|---|
| RGB | rgb(175, 196, 50) |
| HSL | hsl(69, 59%, 48%) |
| HSV | hsv(69, 74%, 77%) |
| CMYK | cmyk(10.7%, 0%, 74.5%, 23.1%) |
| CIE-LAB | lab(75.34, -25.39, 65.95) |
| CIE-LCH | lch(75.34, 70.67, 111.05°) |
| OKLab | oklab(77.88% -0.0763 0.1455) |
| OKLCH | oklch(77.88% 0.164 117.7) |
| XYZ | xyz(37.9957, 48.8245, 10.4395) |
| Luminance | 0.4882 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.05
Gross Green
#A0BF16
ΔE00 2.72
Bile
#B5C306
ΔE00 3.07
Baby Puke Green
#B6C406
ΔE00 3.14
Snot
#ACBB0D
ΔE00 3.15
Snot Green
#9DC100
ΔE00 3.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC432 #4732C4
analogous
#C49032 #AFC432 #66C432
triadic
#AFC432 #32AFC4 #C432AF
tetradic
#AFC432 #32C490 #4732C4 #C43266
square
#AFC432 #32C490 #4732C4 #C43266
split-complementary
#AFC432 #3266C4 #9032C4
monochromatic
#586219 #839326 #AFC432 #C4D65D #D6E28E
Accessibility & contrast
On white
1.95
#AFC432 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.76
#AFC432 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC432
10.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC432 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC432 | 1.00 | 1.95 | 10.76 | 10.76 |
| #FFFFFF | 1.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D1B910
Deuteranopia (green-blind)
#CFBA3F
Tritanopia (blue-blind)
#BAB9A8
Achromatopsia (no color)
#BABABA
Design tokens & code
CSS
--color: #afc432; /* rgb */ color: rgb(175, 196, 50); /* oklch */ color: oklch(77.9% 0.164 117.7);
Tailwind
colors: {
custom: {
50: '#cad575',
500: '#afc432',
950: '#000000',
},
}SCSS
$custom: #afc432; $custom-light: #cad575; $custom-dark: #000000;
JSON
{
"hex": "#afc432",
"rgb": {
"r": 175,
"g": 196,
"b": 50
},
"hsl": {
"h": 68.63,
"s": 59.35,
"l": 48.235
},
"oklch": {
"l": 0.77875,
"c": 0.1643,
"h": 117.7
},
"luminance": 0.48824
}Semantic roles & 50–950 ramp
primary
#AFC432
secondary
#8F85CD
accent
#45E35C
background
#FCFDF7
surface
#F9FAED
border
#D2D3C8
text
#141409
muted
#82837B