#AFE78D#AFE78D

#AFE78D is a very light, vivid yellow-green. Relative luminance 0.682; OKLCH L 86.8% C 0.132 H 134.4°. Best body text is #000000 at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#AFE78D
RGBrgb(175, 231, 141)
HSLhsl(97, 65%, 73%)
HSVhsv(97, 39%, 91%)
CMYKcmyk(24.2%, 0%, 39%, 9.4%)
CIE-LABlab(86.10, -33.62, 38.17)
CIE-LCHlch(86.10, 50.87, 131.38°)
OKLaboklab(86.84% -0.0921 0.094)
OKLCHoklch(86.84% 0.132 134.4)
XYZxyz(51.0617, 68.1875, 35.6654)
Luminance0.6819 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE78D #C58DE7
analogous
#DCE78D #AFE78D #8DE798
triadic
#AFE78D #8DAFE7 #E78DAF
tetradic
#AFE78D #8DDCE7 #C58DE7 #E7988D
square
#AFE78D #8DDCE7 #C58DE7 #E7988D
split-complementary
#AFE78D #988DE7 #E78DDC
monochromatic
#69CE2B #8CDC5A #AFE78D #D2F2C0 #EDFAE6

Accessibility & contrast

On white

1.43
#AFE78D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.64
#AFE78D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE78D
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE78D#FFFFFF#000000##000000
##AFE78D1.001.4314.6414.64
#FFFFFF1.431.0021.0021.00
#00000014.6421.001.001.00
##00000014.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EEDA86
Deuteranopia (green-blind)
#E5D692
Tritanopia (blue-blind)
#AFE1D1
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #afe78d;
/* rgb */ color: rgb(175, 231, 141);
/* oklch */ color: oklch(86.8% 0.132 134.4);
Tailwind
colors: {
  custom: {
    50: '#c8efaf',
    500: '#afe78d',
    950: '#000000',
  },
}
SCSS
$custom: #afe78d;
$custom-light: #c8efaf;
$custom-dark: #000000;
JSON
{
  "hex": "#afe78d",
  "rgb": {
    "r": 175,
    "g": 231,
    "b": 141
  },
  "hsl": {
    "h": 97.333,
    "s": 65.217,
    "l": 72.941
  },
  "oklch": {
    "l": 0.86844,
    "c": 0.13159,
    "h": 134.4
  },
  "luminance": 0.68189
}

Semantic roles & 50–950 ramp

primary
#AFE78D
secondary
#9958C1
accent
#18CD89
background
#FDFFFD
surface
#F9FEF7
border
#D2D6D0
text
#131610
muted
#828581

Preview Lab

Preview with #AFE78D

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

Preview Lab → · Contrast checker → · Palette generator →

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