#AFD76F#AFD76F
#AFD76F is a very light, vivid yellow-green. Relative luminance 0.589; OKLCH L 82.8% C 0.139 H 126.6°. Best body text is #000000 at 12.77:1 contrast (WCAG AA passes).
Color values
| HEX | #AFD76F |
|---|---|
| RGB | rgb(175, 215, 111) |
| HSL | hsl(83, 57%, 64%) |
| HSV | hsv(83, 48%, 84%) |
| CMYK | cmyk(18.6%, 0%, 48.4%, 15.7%) |
| CIE-LAB | lab(81.22, -29.77, 46.74) |
| CIE-LCH | lch(81.22, 55.42, 122.50°) |
| OKLab | oklab(82.78% -0.083 0.1119) |
| OKLCH | oklch(82.78% 0.139 126.6) |
| XYZ | xyz(44.8487, 58.8620, 24.0345) |
| Luminance | 0.5886 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Pale Olive Green
#B1D27B
ΔE00 2.69
Light Moss Green
#A6C875
ΔE00 4.53
Pale Olive
#B9CC81
ΔE00 5.61
Greenish Tan
#BCCB7A
ΔE00 5.72
Light Olive Green
#A4BE5C
ΔE00 6.32
Yellowgreen
#9ACD32
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFD76F #976FD7
analogous
#D7CB6F #AFD76F #7BD76F
triadic
#AFD76F #6FAFD7 #D76FAF
tetradic
#AFD76F #6FD7CB #976FD7 #D76F7B
square
#AFD76F #6FD7CB #976FD7 #D76F7B
split-complementary
#AFD76F #6F7BD7 #CB6FD7
monochromatic
#739F2C #94CA3F #AFD76F #CAE49F #E4F2CF
Accessibility & contrast
On white
1.64
#AFD76F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.77
#AFD76F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFD76F
12.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFD76F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFD76F | 1.00 | 1.64 | 12.77 | 12.77 |
| #FFFFFF | 1.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E0CB66
Deuteranopia (green-blind)
#DBC975
Tritanopia (blue-blind)
#B4CFBF
Achromatopsia (no color)
#CACACA
Design tokens & code
CSS
--color: #afd76f; /* rgb */ color: rgb(175, 215, 111); /* oklch */ color: oklch(82.8% 0.139 126.6);
Tailwind
colors: {
custom: {
50: '#c9e39a',
500: '#afd76f',
950: '#000000',
},
}SCSS
$custom: #afd76f; $custom-light: #c9e39a; $custom-dark: #000000;
JSON
{
"hex": "#afd76f",
"rgb": {
"r": 175,
"g": 215,
"b": 111
},
"hsl": {
"h": 83.077,
"s": 56.522,
"l": 63.922
},
"oklch": {
"l": 0.82775,
"c": 0.13934,
"h": 126.6
},
"luminance": 0.58863
}Semantic roles & 50–950 ramp
primary
#AFD76F
secondary
#6A47A3
accent
#21C460
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150E
muted
#83847F