#AFDB7B#AFDB7B

#AFDB7B is a very light, vivid yellow-green. Relative luminance 0.612; OKLCH L 83.9% C 0.133 H 129.1°. Best body text is #000000 at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#AFDB7B
RGBrgb(175, 219, 123)
HSLhsl(88, 57%, 67%)
HSVhsv(88, 44%, 86%)
CMYKcmyk(20.1%, 0%, 43.8%, 14.1%)
CIE-LABlab(82.49, -30.30, 42.48)
CIE-LCHlch(82.49, 52.18, 125.50°)
OKLaboklab(83.85% -0.0837 0.1031)
OKLCHoklch(83.85% 0.133 129.1)
XYZxyz(46.5854, 61.2063, 28.0947)
Luminance0.6121 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDB7B #A77BDB
analogous
#DBD77B #AFDB7B #7FDB7B
triadic
#AFDB7B #7BAFDB #DB7BAF
tetradic
#AFDB7B #7BDBD7 #A77BDB #DB7B7F
square
#AFDB7B #7BDBD7 #A77BDB #DB7B7F
split-complementary
#AFDB7B #7B7FDB #D77BDB
monochromatic
#73AD2F #92CE4B #AFDB7B #CCE8AB #E9F5DB

Accessibility & contrast

On white

1.59
#AFDB7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.24
#AFDB7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDB7B
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDB7B#FFFFFF#000000##000000
##AFDB7B1.001.5913.2413.24
#FFFFFF1.591.0021.0021.00
#00000013.2421.001.001.00
##00000013.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CF73
Deuteranopia (green-blind)
#DDCC80
Tritanopia (blue-blind)
#B3D4C4
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #afdb7b;
/* rgb */ color: rgb(175, 219, 123);
/* oklch */ color: oklch(83.9% 0.133 129.1);
Tailwind
colors: {
  custom: {
    50: '#c8e6a3',
    500: '#afdb7b',
    950: '#000000',
  },
}
SCSS
$custom: #afdb7b;
$custom-light: #c8e6a3;
$custom-dark: #000000;
JSON
{
  "hex": "#afdb7b",
  "rgb": {
    "r": 175,
    "g": 219,
    "b": 123
  },
  "hsl": {
    "h": 87.5,
    "s": 57.143,
    "l": 67.059
  },
  "oklch": {
    "l": 0.83851,
    "c": 0.1328,
    "h": 129.1
  },
  "luminance": 0.61207
}

Semantic roles & 50–950 ramp

primary
#AFDB7B
secondary
#794BAF
accent
#21C56C
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13160F
muted
#838480

Preview Lab

Preview with #AFDB7B

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

Preview Lab → · Contrast checker → · Palette generator →

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