#AFD66B#AFD66B

#AFD66B is a very light, vivid yellow-green. Relative luminance 0.583; OKLCH L 82.5% C 0.142 H 125.9°. Best body text is #000000 at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#AFD66B
RGBrgb(175, 214, 107)
HSLhsl(82, 57%, 63%)
HSVhsv(82, 50%, 84%)
CMYKcmyk(18.2%, 0%, 50%, 16.1%)
CIE-LABlab(80.89, -29.72, 48.26)
CIE-LCHlch(80.89, 56.67, 121.63°)
OKLaboklab(82.49% -0.0832 0.115)
OKLCHoklch(82.49% 0.142 125.9)
XYZxyz(44.3795, 58.2682, 22.8159)
Luminance0.5827 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD66B #926BD6
analogous
#D6C76B #AFD66B #79D66B
triadic
#AFD66B #6BAFD6 #D66BAF
tetradic
#AFD66B #6BD6C7 #926BD6 #D66B79
square
#AFD66B #6BD6C7 #926BD6 #D66B79
split-complementary
#AFD66B #6B79D6 #C76BD6
monochromatic
#739C2B #95C93B #AFD66B #C9E39B #E3F1CB

Accessibility & contrast

On white

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

On black

12.65
#AFD66B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD66B
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD66B#FFFFFF#000000##000000
##AFD66B1.001.6612.6512.65
#FFFFFF1.661.0021.0021.00
#00000012.6521.001.001.00
##00000012.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CA61
Deuteranopia (green-blind)
#DAC871
Tritanopia (blue-blind)
#B5CEBD
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #afd66b;
/* rgb */ color: rgb(175, 214, 107);
/* oklch */ color: oklch(82.5% 0.142 125.9);
Tailwind
colors: {
  custom: {
    50: '#c9e298',
    500: '#afd66b',
    950: '#000000',
  },
}
SCSS
$custom: #afd66b;
$custom-light: #c9e298;
$custom-dark: #000000;
JSON
{
  "hex": "#afd66b",
  "rgb": {
    "r": 175,
    "g": 214,
    "b": 107
  },
  "hsl": {
    "h": 81.869,
    "s": 56.614,
    "l": 62.941
  },
  "oklch": {
    "l": 0.82495,
    "c": 0.14189,
    "h": 125.9
  },
  "luminance": 0.58269
}

Semantic roles & 50–950 ramp

primary
#AFD66B
secondary
#6645A0
accent
#21C45D
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150E
muted
#83847F

Preview Lab

Preview with #AFD66B

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

Preview Lab → · Contrast checker → · Palette generator →

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