#AFD06D#AFD06D

#AFD06D is a light, vivid yellow-green. Relative luminance 0.553; OKLCH L 81.2% C 0.132 H 124.4°. Best body text is #000000 at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#AFD06D
RGBrgb(175, 208, 109)
HSLhsl(80, 51%, 62%)
HSVhsv(80, 48%, 82%)
CMYKcmyk(15.9%, 0%, 47.6%, 18.4%)
CIE-LABlab(79.23, -26.65, 45.29)
CIE-LCHlch(79.23, 52.55, 120.48°)
OKLaboklab(81.17% -0.0744 0.1086)
OKLCHoklch(81.17% 0.132 124.4)
XYZxyz(42.9953, 55.3296, 22.8796)
Luminance0.5533 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD06D #8E6DD0
analogous
#D0C06D #AFD06D #7ED06D
triadic
#AFD06D #6DAFD0 #D06DAF
tetradic
#AFD06D #6DD0C0 #8E6DD0 #D06D7E
square
#AFD06D #6DD0C0 #8E6DD0 #D06D7E
split-complementary
#AFD06D #6D7ED0 #C06DD0
monochromatic
#72932F #96C13F #AFD06D #C8DF9B #E2EECA

Accessibility & contrast

On white

1.74
#AFD06D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.07
#AFD06D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD06D
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD06D#FFFFFF#000000##000000
##AFD06D1.001.7412.0712.07
#FFFFFF1.741.0021.0021.00
#00000012.0721.001.001.00
##00000012.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC565
Deuteranopia (green-blind)
#D5C473
Tritanopia (blue-blind)
#B5C8B9
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #afd06d;
/* rgb */ color: rgb(175, 208, 109);
/* oklch */ color: oklch(81.2% 0.132 124.4);
Tailwind
colors: {
  custom: {
    50: '#c8de99',
    500: '#afd06d',
    950: '#000000',
  },
}
SCSS
$custom: #afd06d;
$custom-light: #c8de99;
$custom-dark: #000000;
JSON
{
  "hex": "#afd06d",
  "rgb": {
    "r": 175,
    "g": 208,
    "b": 109
  },
  "hsl": {
    "h": 80,
    "s": 51.295,
    "l": 62.157
  },
  "oklch": {
    "l": 0.8117,
    "c": 0.13162,
    "h": 124.4
  },
  "luminance": 0.5533
}

Semantic roles & 50–950 ramp

primary
#AFD06D
secondary
#634899
accent
#27BF59
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150E
muted
#83847F

Preview Lab

Preview with #AFD06D

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

Preview Lab → · Contrast checker → · Palette generator →

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