#AFE78F#AFE78F

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

Color values

HEX#AFE78F
RGBrgb(175, 231, 143)
HSLhsl(98, 65%, 73%)
HSVhsv(98, 38%, 91%)
CMYKcmyk(24.2%, 0%, 38.1%, 9.4%)
CIE-LABlab(86.13, -33.35, 37.21)
CIE-LCHlch(86.13, 49.97, 131.87°)
OKLaboklab(86.88% -0.0912 0.0919)
OKLCHoklch(86.88% 0.129 134.8)
XYZxyz(51.2118, 68.2476, 36.4562)
Luminance0.6825 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE78F #C78FE7
analogous
#DBE78F #AFE78F #8FE79B
triadic
#AFE78F #8FAFE7 #E78FAF
tetradic
#AFE78F #8FDBE7 #C78FE7 #E79B8F
square
#AFE78F #8FDBE7 #C78FE7 #E79B8F
split-complementary
#AFE78F #9B8FE7 #E78FDB
monochromatic
#68CF2C #8BDC5D #AFE78F #D3F2C1 #EDFAE6

Accessibility & contrast

On white

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

On black

14.65
#AFE78F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE78F
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE78F#FFFFFF#000000##000000
##AFE78F1.001.4314.6514.65
#FFFFFF1.431.0021.0021.00
#00000014.6521.001.001.00
##00000014.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afe78f;
/* rgb */ color: rgb(175, 231, 143);
/* oklch */ color: oklch(86.9% 0.129 134.8);
Tailwind
colors: {
  custom: {
    50: '#c8efb1',
    500: '#afe78f',
    950: '#000000',
  },
}
SCSS
$custom: #afe78f;
$custom-light: #c8efb1;
$custom-dark: #000000;
JSON
{
  "hex": "#afe78f",
  "rgb": {
    "r": 175,
    "g": 231,
    "b": 143
  },
  "hsl": {
    "h": 98.182,
    "s": 64.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.86878,
    "c": 0.12948,
    "h": 134.8
  },
  "luminance": 0.68249
}

Semantic roles & 50–950 ramp

primary
#AFE78F
secondary
#9B5AC1
accent
#19CD8B
background
#FDFFFD
surface
#F9FEF7
border
#D2D6D0
text
#131611
muted
#828581

Preview Lab

Preview with #AFE78F

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

Preview Lab → · Contrast checker → · Palette generator →

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