#AFDC7D#AFDC7D

#AFDC7D is a very light, vivid yellow-green. Relative luminance 0.618; OKLCH L 84.1% C 0.132 H 129.6°. Best body text is #000000 at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#AFDC7D
RGBrgb(175, 220, 125)
HSLhsl(88, 58%, 68%)
HSVhsv(88, 43%, 86%)
CMYKcmyk(20.5%, 0%, 43.2%, 13.7%)
CIE-LABlab(82.80, -30.53, 41.88)
CIE-LCHlch(82.80, 51.83, 126.09°)
OKLaboklab(84.11% -0.0842 0.1019)
OKLCHoklch(84.11% 0.132 129.6)
XYZxyz(46.9735, 61.7802, 28.8480)
Luminance0.6178 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDC7D #AA7DDC
analogous
#DCDA7D #AFDC7D #7FDC7D
triadic
#AFDC7D #7DAFDC #DC7DAF
tetradic
#AFDC7D #7DDCDA #AA7DDC #DC7D7F
square
#AFDC7D #7DDCDA #AA7DDC #DC7D7F
split-complementary
#AFDC7D #7D7FDC #DA7DDC
monochromatic
#73AF2F #91CF4D #AFDC7D #CDE9AD #EAF6DD

Accessibility & contrast

On white

1.57
#AFDC7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.36
#AFDC7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDC7D
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDC7D#FFFFFF#000000##000000
##AFDC7D1.001.5713.3613.36
#FFFFFF1.571.0021.0021.00
#00000013.3621.001.001.00
##00000013.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D076
Deuteranopia (green-blind)
#DDCD82
Tritanopia (blue-blind)
#B2D5C5
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #afdc7d;
/* rgb */ color: rgb(175, 220, 125);
/* oklch */ color: oklch(84.1% 0.132 129.6);
Tailwind
colors: {
  custom: {
    50: '#c8e7a4',
    500: '#afdc7d',
    950: '#000000',
  },
}
SCSS
$custom: #afdc7d;
$custom-light: #c8e7a4;
$custom-dark: #000000;
JSON
{
  "hex": "#afdc7d",
  "rgb": {
    "r": 175,
    "g": 220,
    "b": 125
  },
  "hsl": {
    "h": 88.421,
    "s": 57.576,
    "l": 67.647
  },
  "oklch": {
    "l": 0.84107,
    "c": 0.13216,
    "h": 129.6
  },
  "luminance": 0.61781
}

Semantic roles & 50–950 ramp

primary
#AFDC7D
secondary
#7C4CB2
accent
#20C56E
background
#FEFEFC
surface
#FAFCF6
border
#D3D5D0
text
#13160F
muted
#838480

Preview Lab

Preview with #AFDC7D

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

Preview Lab → · Contrast checker → · Palette generator →

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