#AFDB78#AFDB78

#AFDB78 is a very light, vivid yellow-green. Relative luminance 0.611; OKLCH L 83.8% C 0.136 H 128.6°. Best body text is #000000 at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#AFDB78
RGBrgb(175, 219, 120)
HSLhsl(87, 58%, 66%)
HSVhsv(87, 45%, 86%)
CMYKcmyk(20.1%, 0%, 45.2%, 14.1%)
CIE-LABlab(82.45, -30.65, 43.90)
CIE-LCHlch(82.45, 53.55, 124.92°)
OKLaboklab(83.81% -0.0848 0.1062)
OKLCHoklch(83.81% 0.136 128.6)
XYZxyz(46.4004, 61.1323, 27.1208)
Luminance0.6113 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDB78 #A478DB
analogous
#DBD678 #AFDB78 #7EDB78
triadic
#AFDB78 #78AFDB #DB78AF
tetradic
#AFDB78 #78DBD6 #A478DB #DB787E
square
#AFDB78 #78DBD6 #A478DB #DB787E
split-complementary
#AFDB78 #787EDB #D678DB
monochromatic
#73AB2E #92CE48 #AFDB78 #CCE8A8 #E8F5D9

Accessibility & contrast

On white

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

On black

13.23
#AFDB78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDB78
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDB78#FFFFFF#000000##000000
##AFDB781.001.5913.2313.23
#FFFFFF1.591.0021.0021.00
#00000013.2321.001.001.00
##00000013.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CF70
Deuteranopia (green-blind)
#DDCC7E
Tritanopia (blue-blind)
#B3D3C3
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #afdb78;
/* rgb */ color: rgb(175, 219, 120);
/* oklch */ color: oklch(83.8% 0.136 128.6);
Tailwind
colors: {
  custom: {
    50: '#c8e6a1',
    500: '#afdb78',
    950: '#000000',
  },
}
SCSS
$custom: #afdb78;
$custom-light: #c8e6a1;
$custom-dark: #000000;
JSON
{
  "hex": "#afdb78",
  "rgb": {
    "r": 175,
    "g": 219,
    "b": 120
  },
  "hsl": {
    "h": 86.667,
    "s": 57.895,
    "l": 66.471
  },
  "oklch": {
    "l": 0.83806,
    "c": 0.13589,
    "h": 128.6
  },
  "luminance": 0.61133
}

Semantic roles & 50–950 ramp

primary
#AFDB78
secondary
#764AAE
accent
#20C56A
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13160F
muted
#838480

Preview Lab

Preview with #AFDB78

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

Preview Lab → · Contrast checker → · Palette generator →

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