#AFC646#AFC646
#AFC646 is a light, vivid yellow-green. Relative luminance 0.499; OKLCH L 78.5% C 0.154 H 118.8°. Best body text is #000000 at 10.99:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC646 |
|---|---|
| RGB | rgb(175, 198, 70) |
| HSL | hsl(71, 53%, 53%) |
| HSV | hsv(71, 65%, 78%) |
| CMYK | cmyk(11.6%, 0%, 64.6%, 22.4%) |
| CIE-LAB | lab(76.04, -25.22, 59.25) |
| CIE-LCH | lch(76.04, 64.39, 113.06°) |
| OKLab | oklab(78.47% -0.074 0.1346) |
| OKLCH | oklch(78.47% 0.154 118.8) |
| XYZ | xyz(38.9795, 49.9446, 13.3800) |
| Luminance | 0.4994 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Pea
#A4BF20
ΔE00 3.28
Gross Green
#A0BF16
ΔE00 3.81
Sick Green
#9DB92C
ΔE00 4.01
Snot Green
#9DC100
ΔE00 4.37
Light Olive Green
#A4BE5C
ΔE00 4.67
Bright Olive
#9CBB04
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC646 #5D46C6
analogous
#C69D46 #AFC646 #6FC646
triadic
#AFC646 #46AFC6 #C646AF
tetradic
#AFC646 #46C69D #5D46C6 #C6466F
square
#AFC646 #46C69D #5D46C6 #C6466F
split-complementary
#AFC646 #466FC6 #9D46C6
monochromatic
#616F22 #8A9E31 #AFC646 #C3D475 #D7E3A4
Accessibility & contrast
On white
1.91
#AFC646 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.99
#AFC646 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC646
10.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC646 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC646 | 1.00 | 1.91 | 10.99 | 10.99 |
| #FFFFFF | 1.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D2BB35
Deuteranopia (green-blind)
#D0BC4F
Tritanopia (blue-blind)
#B9BCAC
Achromatopsia (no color)
#BBBBBB
Design tokens & code
CSS
--color: #afc646; /* rgb */ color: rgb(175, 198, 70); /* oklch */ color: oklch(78.5% 0.154 118.8);
Tailwind
colors: {
custom: {
50: '#cad780',
500: '#afc646',
950: '#000000',
},
}SCSS
$custom: #afc646; $custom-light: #cad780; $custom-dark: #000000;
JSON
{
"hex": "#afc646",
"rgb": {
"r": 175,
"g": 198,
"b": 70
},
"hsl": {
"h": 70.781,
"s": 52.893,
"l": 52.549
},
"oklch": {
"l": 0.78474,
"c": 0.15358,
"h": 118.8
},
"luminance": 0.49944
}Semantic roles & 50–950 ramp
primary
#AFC646
secondary
#A298D0
accent
#4BDC66
background
#FCFDF8
surface
#F9FAEF
border
#D2D3CA
text
#14140B
muted
#82837C