#AFDB7E#AFDB7E

#AFDB7E is a very light, vivid yellow-green. Relative luminance 0.613; OKLCH L 83.9% C 0.130 H 129.5°. Best body text is #000000 at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#AFDB7E
RGBrgb(175, 219, 126)
HSLhsl(88, 56%, 68%)
HSVhsv(88, 42%, 86%)
CMYKcmyk(20.1%, 0%, 42.5%, 14.1%)
CIE-LABlab(82.53, -29.94, 41.05)
CIE-LCHlch(82.53, 50.81, 126.10°)
OKLaboklab(83.9% -0.0825 0.1)
OKLCHoklch(83.9% 0.13 129.5)
XYZxyz(46.7760, 61.2826, 29.0989)
Luminance0.6128 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDB7E #AA7EDB
analogous
#DBD97E #AFDB7E #80DB7E
triadic
#AFDB7E #7EAFDB #DB7EAF
tetradic
#AFDB7E #7EDBD9 #AA7EDB #DB7E80
square
#AFDB7E #7EDBD9 #AA7EDB #DB7E80
split-complementary
#AFDB7E #7E80DB #D97EDB
monochromatic
#73AE31 #91CE4E #AFDB7E #CDE8AE #EAF6DE

Accessibility & contrast

On white

1.58
#AFDB7E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.26
#AFDB7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDB7E
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDB7E#FFFFFF#000000##000000
##AFDB7E1.001.5813.2613.26
#FFFFFF1.581.0021.0021.00
#00000013.2621.001.001.00
##00000013.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CF77
Deuteranopia (green-blind)
#DDCC83
Tritanopia (blue-blind)
#B2D4C5
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #afdb7e;
/* rgb */ color: rgb(175, 219, 126);
/* oklch */ color: oklch(83.9% 0.130 129.5);
Tailwind
colors: {
  custom: {
    50: '#c8e6a5',
    500: '#afdb7e',
    950: '#000000',
  },
}
SCSS
$custom: #afdb7e;
$custom-light: #c8e6a5;
$custom-dark: #000000;
JSON
{
  "hex": "#afdb7e",
  "rgb": {
    "r": 175,
    "g": 219,
    "b": 126
  },
  "hsl": {
    "h": 88.387,
    "s": 56.364,
    "l": 67.647
  },
  "oklch": {
    "l": 0.83897,
    "c": 0.12966,
    "h": 129.5
  },
  "luminance": 0.61283
}

Semantic roles & 50–950 ramp

primary
#AFDB7E
secondary
#7C4DB1
accent
#22C46E
background
#FDFEFC
surface
#F9FCF6
border
#D2D5D0
text
#13160F
muted
#828480

Preview Lab

Preview with #AFDB7E

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

Preview Lab → · Contrast checker → · Palette generator →

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