#AFD566#AFD566

#AFD566 is a very light, vivid yellow-green. Relative luminance 0.577; OKLCH L 82.2% C 0.145 H 125.1°. Best body text is #000000 at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#AFD566
RGBrgb(175, 213, 102)
HSLhsl(81, 57%, 62%)
HSVhsv(81, 52%, 84%)
CMYKcmyk(17.8%, 0%, 52.1%, 16.5%)
CIE-LABlab(80.55, -29.75, 50.21)
CIE-LCHlch(80.55, 58.36, 120.65°)
OKLaboklab(82.21% -0.0837 0.1188)
OKLCHoklch(82.21% 0.145 125.1)
XYZxyz(43.8717, 57.6614, 21.3862)
Luminance0.5766 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD566 #8C66D5
analogous
#D5C466 #AFD566 #78D566
triadic
#AFD566 #66AFD5 #D566AF
tetradic
#AFD566 #66D5C4 #8C66D5 #D56678
square
#AFD566 #66D5C4 #8C66D5 #D56678
split-complementary
#AFD566 #6678D5 #C466D5
monochromatic
#729729 #96C737 #AFD566 #C8E296 #E1EFC6

Accessibility & contrast

On white

1.68
#AFD566 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.53
#AFD566 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD566
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD566#FFFFFF#000000##000000
##AFD5661.001.6812.5312.53
#FFFFFF1.681.0021.0021.00
#00000012.5321.001.001.00
##00000012.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC95C
Deuteranopia (green-blind)
#DAC76D
Tritanopia (blue-blind)
#B5CCBC
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #afd566;
/* rgb */ color: rgb(175, 213, 102);
/* oklch */ color: oklch(82.2% 0.145 125.1);
Tailwind
colors: {
  custom: {
    50: '#c9e294',
    500: '#afd566',
    950: '#000000',
  },
}
SCSS
$custom: #afd566;
$custom-light: #c9e294;
$custom-dark: #000000;
JSON
{
  "hex": "#afd566",
  "rgb": {
    "r": 175,
    "g": 213,
    "b": 102
  },
  "hsl": {
    "h": 80.541,
    "s": 56.923,
    "l": 61.765
  },
  "oklch": {
    "l": 0.82205,
    "c": 0.14533,
    "h": 125.1
  },
  "luminance": 0.57662
}

Semantic roles & 50–950 ramp

primary
#AFD566
secondary
#62439C
accent
#21C459
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFD566

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#AFD566 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva