#AFEA8A#AFEA8A

#AFEA8A is a very light, vivid yellow-green. Relative luminance 0.698; OKLCH L 87.5% C 0.139 H 134.2°. Best body text is #000000 at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#AFEA8A
RGBrgb(175, 234, 138)
HSLhsl(97, 70%, 73%)
HSVhsv(97, 41%, 92%)
CMYKcmyk(25.2%, 0%, 41%, 8.2%)
CIE-LABlab(86.90, -35.39, 40.68)
CIE-LCHlch(86.90, 53.92, 131.03°)
OKLaboklab(87.47% -0.0971 0.0997)
OKLCHoklch(87.47% 0.139 134.2)
XYZxyz(51.6883, 69.7931, 34.7880)
Luminance0.6979 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEA8A #C58AEA
analogous
#DFEA8A #AFEA8A #8AEA95
triadic
#AFEA8A #8AAFEA #EA8AAF
tetradic
#AFEA8A #8ADFEA #C58AEA #EA958A
square
#AFEA8A #8ADFEA #C58AEA #EA958A
split-complementary
#AFEA8A #958AEA #EA8ADF
monochromatic
#69D426 #8CE156 #AFEA8A #D2F3BE #EDFAE5

Accessibility & contrast

On white

1.40
#AFEA8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.96
#AFEA8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEA8A
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEA8A#FFFFFF#000000##000000
##AFEA8A1.001.4014.9614.96
#FFFFFF1.401.0021.0021.00
#00000014.9621.001.001.00
##00000014.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DD83
Deuteranopia (green-blind)
#E8D88F
Tritanopia (blue-blind)
#AFE3D3
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #afea8a;
/* rgb */ color: rgb(175, 234, 138);
/* oklch */ color: oklch(87.5% 0.139 134.2);
Tailwind
colors: {
  custom: {
    50: '#c9f1ad',
    500: '#afea8a',
    950: '#000000',
  },
}
SCSS
$custom: #afea8a;
$custom-light: #c9f1ad;
$custom-dark: #000000;
JSON
{
  "hex": "#afea8a",
  "rgb": {
    "r": 175,
    "g": 234,
    "b": 138
  },
  "hsl": {
    "h": 96.875,
    "s": 69.565,
    "l": 72.941
  },
  "oklch": {
    "l": 0.87471,
    "c": 0.13915,
    "h": 134.2
  },
  "luminance": 0.69795
}

Semantic roles & 50–950 ramp

primary
#AFEA8A
secondary
#9954C4
accent
#14D288
background
#FEFFFD
surface
#FAFEF7
border
#D3D6D0
text
#131610
muted
#838581

Preview Lab

Preview with #AFEA8A

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

Preview Lab → · Contrast checker → · Palette generator →

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