#AFE78E#AFE78E

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

Color values

HEX#AFE78E
RGBrgb(175, 231, 142)
HSLhsl(98, 65%, 73%)
HSVhsv(98, 39%, 91%)
CMYKcmyk(24.2%, 0%, 38.5%, 9.4%)
CIE-LABlab(86.11, -33.49, 37.69)
CIE-LCHlch(86.11, 50.42, 131.62°)
OKLaboklab(86.86% -0.0916 0.093)
OKLCHoklch(86.86% 0.131 134.6)
XYZxyz(51.1364, 68.2174, 36.0590)
Luminance0.6822 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE78E #C68EE7
analogous
#DBE78E #AFE78E #8EE799
triadic
#AFE78E #8EAFE7 #E78EAF
tetradic
#AFE78E #8EDBE7 #C68EE7 #E7998E
square
#AFE78E #8EDBE7 #C68EE7 #E7998E
split-complementary
#AFE78E #998EE7 #E78EDB
monochromatic
#68CF2C #8BDC5C #AFE78E #D3F2C0 #EDFAE6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFE78E#FFFFFF#000000##000000
##AFE78E1.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)
#EEDA88
Deuteranopia (green-blind)
#E5D693
Tritanopia (blue-blind)
#AFE1D1
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #afe78e;
/* rgb */ color: rgb(175, 231, 142);
/* oklch */ color: oklch(86.9% 0.131 134.6);
Tailwind
colors: {
  custom: {
    50: '#c8efb0',
    500: '#afe78e',
    950: '#000000',
  },
}
SCSS
$custom: #afe78e;
$custom-light: #c8efb0;
$custom-dark: #000000;
JSON
{
  "hex": "#afe78e",
  "rgb": {
    "r": 175,
    "g": 231,
    "b": 142
  },
  "hsl": {
    "h": 97.753,
    "s": 64.964,
    "l": 73.137
  },
  "oklch": {
    "l": 0.86861,
    "c": 0.13054,
    "h": 134.6
  },
  "luminance": 0.68219
}

Semantic roles & 50–950 ramp

primary
#AFE78E
secondary
#9A59C1
accent
#19CD8A
background
#FDFFFD
surface
#F9FEF7
border
#D2D6D0
text
#131610
muted
#828581

Preview Lab

Preview with #AFE78E

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

Preview Lab → · Contrast checker → · Palette generator →

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