#AFC434#AFC434
#AFC434 is a light, vivid yellow. Relative luminance 0.488; OKLCH L 77.9% C 0.163 H 117.7°. Best body text is #000000 at 10.77:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC434 |
|---|---|
| RGB | rgb(175, 196, 52) |
| HSL | hsl(69, 58%, 49%) |
| HSV | hsv(69, 73%, 77%) |
| CMYK | cmyk(10.7%, 0%, 73.5%, 23.1%) |
| CIE-LAB | lab(75.35, -25.29, 65.29) |
| CIE-LCH | lch(75.35, 70.02, 111.17°) |
| OKLab | oklab(77.89% -0.0758 0.1445) |
| OKLCH | oklch(77.89% 0.163 117.7) |
| XYZ | xyz(38.0398, 48.8421, 10.6717) |
| Luminance | 0.4884 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.10
Gross Green
#A0BF16
ΔE00 2.77
Bile
#B5C306
ΔE00 3.23
Snot
#ACBB0D
ΔE00 3.26
Baby Puke Green
#B6C406
ΔE00 3.29
Snot Green
#9DC100
ΔE00 3.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC434 #4934C4
analogous
#C49134 #AFC434 #67C434
triadic
#AFC434 #34AFC4 #C434AF
tetradic
#AFC434 #34C491 #4934C4 #C43467
square
#AFC434 #34C491 #4934C4 #C43467
split-complementary
#AFC434 #3467C4 #9134C4
monochromatic
#59631A #849427 #AFC434 #C4D560 #D6E291
Accessibility & contrast
On white
1.95
#AFC434 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.77
#AFC434 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC434
10.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC434 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC434 | 1.00 | 1.95 | 10.77 | 10.77 |
| #FFFFFF | 1.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D1B916
Deuteranopia (green-blind)
#CFBA40
Tritanopia (blue-blind)
#BAB9A8
Achromatopsia (no color)
#BABABA
Design tokens & code
CSS
--color: #afc434; /* rgb */ color: rgb(175, 196, 52); /* oklch */ color: oklch(77.9% 0.163 117.7);
Tailwind
colors: {
custom: {
50: '#cad576',
500: '#afc434',
950: '#000000',
},
}SCSS
$custom: #afc434; $custom-light: #cad576; $custom-dark: #000000;
JSON
{
"hex": "#afc434",
"rgb": {
"r": 175,
"g": 196,
"b": 52
},
"hsl": {
"h": 68.75,
"s": 58.065,
"l": 48.627
},
"oklch": {
"l": 0.77887,
"c": 0.16318,
"h": 117.7
},
"luminance": 0.48842
}Semantic roles & 50–950 ramp
primary
#AFC434
secondary
#9187CC
accent
#47E15D
background
#FCFDF7
surface
#F9FAEE
border
#D2D3C9
text
#141409
muted
#82837B