#AFC541#AFC541
#AFC541 is a light, vivid yellow-green. Relative luminance 0.494; OKLCH L 78.2% C 0.156 H 118.3°. Best body text is #000000 at 10.89:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC541 |
|---|---|
| RGB | rgb(175, 197, 65) |
| HSL | hsl(70, 53%, 51%) |
| HSV | hsv(70, 67%, 77%) |
| CMYK | cmyk(11.2%, 0%, 67%, 22.7%) |
| CIE-LAB | lab(75.72, -25.06, 60.91) |
| CIE-LCH | lch(75.72, 65.86, 112.36°) |
| OKLab | oklab(78.21% -0.074 0.1373) |
| OKLCH | oklch(78.21% 0.156 118.3) |
| XYZ | xyz(38.6003, 49.4284, 12.5072) |
| Luminance | 0.4943 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Pea
#A4BF20
ΔE00 2.82
Gross Green
#A0BF16
ΔE00 3.41
Sick Green
#9DB92C
ΔE00 3.76
Snot Green
#9DC100
ΔE00 4.03
Bright Olive
#9CBB04
ΔE00 4.33
Snot
#ACBB0D
ΔE00 4.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC541 #5741C5
analogous
#C59941 #AFC541 #6DC541
triadic
#AFC541 #41AFC5 #C541AF
tetradic
#AFC541 #41C599 #5741C5 #C5416D
square
#AFC541 #41C599 #5741C5 #C5416D
split-complementary
#AFC541 #416DC5 #9941C5
monochromatic
#5F6B21 #889A2F #AFC541 #C3D370 #D6E29F
Accessibility & contrast
On white
1.93
#AFC541 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.89
#AFC541 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC541
10.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC541 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC541 | 1.00 | 1.93 | 10.89 | 10.89 |
| #FFFFFF | 1.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D2BA2E
Deuteranopia (green-blind)
#CFBB4B
Tritanopia (blue-blind)
#B9BAAA
Achromatopsia (no color)
#BBBBBB
Design tokens & code
CSS
--color: #afc541; /* rgb */ color: rgb(175, 197, 65); /* oklch */ color: oklch(78.2% 0.156 118.3);
Tailwind
colors: {
custom: {
50: '#cad67d',
500: '#afc541',
950: '#000000',
},
}SCSS
$custom: #afc541; $custom-light: #cad67d; $custom-dark: #000000;
JSON
{
"hex": "#afc541",
"rgb": {
"r": 175,
"g": 197,
"b": 65
},
"hsl": {
"h": 70,
"s": 53.226,
"l": 51.373
},
"oklch": {
"l": 0.78207,
"c": 0.15602,
"h": 118.3
},
"luminance": 0.49428
}Semantic roles & 50–950 ramp
primary
#AFC541
secondary
#9E94CE
accent
#4BDD63
background
#FCFDF7
surface
#F9FAEE
border
#D2D3C9
text
#14140A
muted
#82837C