#AFD06C#AFD06C

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

Color values

HEX#AFD06C
RGBrgb(175, 208, 108)
HSLhsl(80, 52%, 62%)
HSVhsv(80, 48%, 82%)
CMYKcmyk(15.9%, 0%, 48.1%, 18.4%)
CIE-LABlab(79.22, -26.76, 45.76)
CIE-LCHlch(79.22, 53.01, 120.32°)
OKLaboklab(81.16% -0.0748 0.1095)
OKLCHoklch(81.16% 0.133 124.3)
XYZxyz(42.9418, 55.3082, 22.5977)
Luminance0.5531 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD06C #8D6CD0
analogous
#D0BF6C #AFD06C #7DD06C
triadic
#AFD06C #6CAFD0 #D06CAF
tetradic
#AFD06C #6CD0BF #8D6CD0 #D06C7D
square
#AFD06C #6CD0BF #8D6CD0 #D06C7D
split-complementary
#AFD06C #6C7DD0 #BF6CD0
monochromatic
#72932F #96C13E #AFD06C #C8DF9A #E1EEC9

Accessibility & contrast

On white

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

On black

12.06
#AFD06C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD06C
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD06C#FFFFFF#000000##000000
##AFD06C1.001.7412.0612.06
#FFFFFF1.741.0021.0021.00
#00000012.0621.001.001.00
##00000012.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afd06c;
/* rgb */ color: rgb(175, 208, 108);
/* oklch */ color: oklch(81.2% 0.133 124.3);
Tailwind
colors: {
  custom: {
    50: '#c8de98',
    500: '#afd06c',
    950: '#000000',
  },
}
SCSS
$custom: #afd06c;
$custom-light: #c8de98;
$custom-dark: #000000;
JSON
{
  "hex": "#afd06c",
  "rgb": {
    "r": 175,
    "g": 208,
    "b": 108
  },
  "hsl": {
    "h": 79.8,
    "s": 51.546,
    "l": 61.961
  },
  "oklch": {
    "l": 0.81156,
    "c": 0.13263,
    "h": 124.3
  },
  "luminance": 0.55308
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFD06C

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

Preview Lab → · Contrast checker → · Palette generator →

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