#AFC546#AFC546
#AFC546 is a light, vivid yellow-green. Relative luminance 0.495; OKLCH L 78.2% C 0.152 H 118.5°. Best body text is #000000 at 10.90:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC546 |
|---|---|
| RGB | rgb(175, 197, 70) |
| HSL | hsl(70, 52%, 52%) |
| HSV | hsv(70, 64%, 77%) |
| CMYK | cmyk(11.2%, 0%, 64.5%, 22.7%) |
| CIE-LAB | lab(75.75, -24.74, 58.95) |
| CIE-LCH | lch(75.75, 63.93, 112.76°) |
| OKLab | oklab(78.25% -0.0726 0.134) |
| OKLCH | oklch(78.25% 0.152 118.5) |
| XYZ | xyz(38.7516, 49.4890, 13.3040) |
| Luminance | 0.4949 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Pea
#A4BF20
ΔE00 3.22
Gross Green
#A0BF16
ΔE00 3.78
Sick Green
#9DB92C
ΔE00 3.88
Snot Green
#9DC100
ΔE00 4.41
Light Olive Green
#A4BE5C
ΔE00 4.58
Bright Olive
#9CBB04
ΔE00 4.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC546 #5C46C5
analogous
#C59C46 #AFC546 #6FC546
triadic
#AFC546 #46AFC5 #C546AF
tetradic
#AFC546 #46C59C #5C46C5 #C5466F
square
#AFC546 #46C59C #5C46C5 #C5466F
split-complementary
#AFC546 #466FC5 #9C46C5
monochromatic
#616E23 #8A9D31 #AFC546 #C3D475 #D7E2A3
Accessibility & contrast
On white
1.93
#AFC546 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.90
#AFC546 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC546
10.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC546 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC546 | 1.00 | 1.93 | 10.90 | 10.90 |
| #FFFFFF | 1.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D1BB35
Deuteranopia (green-blind)
#CFBB4F
Tritanopia (blue-blind)
#B9BBAB
Achromatopsia (no color)
#BBBBBB
Design tokens & code
CSS
--color: #afc546; /* rgb */ color: rgb(175, 197, 70); /* oklch */ color: oklch(78.2% 0.152 118.5);
Tailwind
colors: {
custom: {
50: '#cad680',
500: '#afc546',
950: '#000000',
},
}SCSS
$custom: #afc546; $custom-light: #cad680; $custom-dark: #000000;
JSON
{
"hex": "#afc546",
"rgb": {
"r": 175,
"g": 197,
"b": 70
},
"hsl": {
"h": 70.394,
"s": 52.263,
"l": 52.353
},
"oklch": {
"l": 0.78249,
"c": 0.15238,
"h": 118.5
},
"luminance": 0.49489
}Semantic roles & 50–950 ramp
primary
#AFC546
secondary
#A198CF
accent
#4CDC65
background
#FCFDF8
surface
#F9FAEF
border
#D2D3CA
text
#14140B
muted
#82837C