#AFD06F#AFD06F

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

Color values

HEX#AFD06F
RGBrgb(175, 208, 111)
HSLhsl(80, 51%, 63%)
HSVhsv(80, 47%, 82%)
CMYKcmyk(15.9%, 0%, 46.6%, 18.4%)
CIE-LABlab(79.26, -26.44, 44.35)
CIE-LCHlch(79.26, 51.63, 120.80°)
OKLaboklab(81.2% -0.0737 0.1066)
OKLCHoklch(81.2% 0.13 124.7)
XYZxyz(43.1042, 55.3731, 23.4531)
Luminance0.5537 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD06F #906FD0
analogous
#D0C06F #AFD06F #7FD06F
triadic
#AFD06F #6FAFD0 #D06FAF
tetradic
#AFD06F #6FD0C0 #906FD0 #D06F7F
square
#AFD06F #6FD0C0 #906FD0 #D06F7F
split-complementary
#AFD06F #6F7FD0 #C06FD0
monochromatic
#729430 #95C141 #AFD06F #C9DF9D #E2EECB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFD06F#FFFFFF#000000##000000
##AFD06F1.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)
#D9C567
Deuteranopia (green-blind)
#D5C474
Tritanopia (blue-blind)
#B5C8B9
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #afd06f;
/* rgb */ color: rgb(175, 208, 111);
/* oklch */ color: oklch(81.2% 0.130 124.7);
Tailwind
colors: {
  custom: {
    50: '#c8de9a',
    500: '#afd06f',
    950: '#000000',
  },
}
SCSS
$custom: #afd06f;
$custom-light: #c8de9a;
$custom-dark: #000000;
JSON
{
  "hex": "#afd06f",
  "rgb": {
    "r": 175,
    "g": 208,
    "b": 111
  },
  "hsl": {
    "h": 80.412,
    "s": 50.785,
    "l": 62.549
  },
  "oklch": {
    "l": 0.81198,
    "c": 0.12957,
    "h": 124.7
  },
  "luminance": 0.55373
}

Semantic roles & 50–950 ramp

primary
#AFD06F
secondary
#65499A
accent
#27BE5B
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150E
muted
#83847F

Preview Lab

Preview with #AFD06F

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

Preview Lab → · Contrast checker → · Palette generator →

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