#AFD666#AFD666

#AFD666 is a very light, vivid yellow-green. Relative luminance 0.582; OKLCH L 82.4% C 0.147 H 125.4°. Best body text is #000000 at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#AFD666
RGBrgb(175, 214, 102)
HSLhsl(81, 58%, 62%)
HSVhsv(81, 52%, 84%)
CMYKcmyk(18.2%, 0%, 52.3%, 16.1%)
CIE-LABlab(80.83, -30.22, 50.54)
CIE-LCHlch(80.83, 58.89, 120.88°)
OKLaboklab(82.43% -0.085 0.1196)
OKLCHoklch(82.43% 0.147 125.4)
XYZxyz(44.1240, 58.1660, 21.4703)
Luminance0.5817 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD666 #8D66D6
analogous
#D6C566 #AFD666 #77D666
triadic
#AFD666 #66AFD6 #D666AF
tetradic
#AFD666 #66D6C5 #8D66D6 #D66677
square
#AFD666 #66D6C5 #8D66D6 #D66677
split-complementary
#AFD666 #6677D6 #C566D6
monochromatic
#729929 #96C936 #AFD666 #C8E396 #E1F0C7

Accessibility & contrast

On white

1.66
#AFD666 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.63
#AFD666 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD666
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD666#FFFFFF#000000##000000
##AFD6661.001.6612.6312.63
#FFFFFF1.661.0021.0021.00
#00000012.6321.001.001.00
##00000012.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CA5B
Deuteranopia (green-blind)
#DBC86D
Tritanopia (blue-blind)
#B5CDBD
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #afd666;
/* rgb */ color: rgb(175, 214, 102);
/* oklch */ color: oklch(82.4% 0.147 125.4);
Tailwind
colors: {
  custom: {
    50: '#c9e294',
    500: '#afd666',
    950: '#000000',
  },
}
SCSS
$custom: #afd666;
$custom-light: #c9e294;
$custom-dark: #000000;
JSON
{
  "hex": "#afd666",
  "rgb": {
    "r": 175,
    "g": 214,
    "b": 102
  },
  "hsl": {
    "h": 80.893,
    "s": 57.732,
    "l": 61.961
  },
  "oklch": {
    "l": 0.82431,
    "c": 0.14668,
    "h": 125.4
  },
  "luminance": 0.58166
}

Semantic roles & 50–950 ramp

primary
#AFD666
secondary
#62439D
accent
#20C55A
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFD666

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

Preview Lab → · Contrast checker → · Palette generator →

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