#AFD66F#AFD66F

#AFD66F is a very light, vivid yellow-green. Relative luminance 0.584; OKLCH L 82.5% C 0.138 H 126.3°. Best body text is #000000 at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#AFD66F
RGBrgb(175, 214, 111)
HSLhsl(83, 56%, 64%)
HSVhsv(83, 48%, 84%)
CMYKcmyk(18.2%, 0%, 48.1%, 16.1%)
CIE-LABlab(80.94, -29.30, 46.40)
CIE-LCHlch(80.94, 54.88, 122.27°)
OKLaboklab(82.55% -0.0817 0.1112)
OKLCHoklch(82.55% 0.138 126.3)
XYZxyz(44.5948, 58.3543, 23.9499)
Luminance0.5836 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD66F #966FD6
analogous
#D6C96F #AFD66F #7BD66F
triadic
#AFD66F #6FAFD6 #D66FAF
tetradic
#AFD66F #6FD6C9 #966FD6 #D66F7B
square
#AFD66F #6FD6C9 #966FD6 #D66F7B
split-complementary
#AFD66F #6F7BD6 #C96FD6
monochromatic
#739E2D #95C83F #AFD66F #C9E49F #E4F1CE

Accessibility & contrast

On white

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

On black

12.67
#AFD66F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD66F
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD66F#FFFFFF#000000##000000
##AFD66F1.001.6612.6712.67
#FFFFFF1.661.0021.0021.00
#00000012.6721.001.001.00
##00000012.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCA66
Deuteranopia (green-blind)
#DAC875
Tritanopia (blue-blind)
#B4CEBE
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #afd66f;
/* rgb */ color: rgb(175, 214, 111);
/* oklch */ color: oklch(82.5% 0.138 126.3);
Tailwind
colors: {
  custom: {
    50: '#c9e29a',
    500: '#afd66f',
    950: '#000000',
  },
}
SCSS
$custom: #afd66f;
$custom-light: #c9e29a;
$custom-dark: #000000;
JSON
{
  "hex": "#afd66f",
  "rgb": {
    "r": 175,
    "g": 214,
    "b": 111
  },
  "hsl": {
    "h": 82.718,
    "s": 55.676,
    "l": 63.725
  },
  "oklch": {
    "l": 0.82549,
    "c": 0.13794,
    "h": 126.3
  },
  "luminance": 0.58355
}

Semantic roles & 50–950 ramp

primary
#AFD66F
secondary
#6A47A2
accent
#22C35F
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150E
muted
#83847F

Preview Lab

Preview with #AFD66F

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

Preview Lab → · Contrast checker → · Palette generator →

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