#AFEA7E#AFEA7E

#AFEA7E is a very light, vivid yellow-green. Relative luminance 0.695; OKLCH L 87.3% C 0.151 H 132.3°. Best body text is #000000 at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#AFEA7E
RGBrgb(175, 234, 126)
HSLhsl(93, 72%, 71%)
HSVhsv(93, 46%, 92%)
CMYKcmyk(25.2%, 0%, 46.2%, 8.2%)
CIE-LABlab(86.73, -36.87, 46.32)
CIE-LCHlch(86.73, 59.20, 128.52°)
OKLaboklab(87.29% -0.1018 0.1119)
OKLCHoklch(87.29% 0.151 132.3)
XYZxyz(50.8671, 69.4646, 30.4626)
Luminance0.6947 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEA7E #B97EEA
analogous
#E5EA7E #AFEA7E #7EEA83
triadic
#AFEA7E #7EAFEA #EA7EAF
tetradic
#AFEA7E #7EE5EA #B97EEA #EA837E
square
#AFEA7E #7EE5EA #B97EEA #EA837E
split-complementary
#AFEA7E #837EEA #EA7EE5
monochromatic
#6FCC21 #8EE149 #AFEA7E #D0F3B3 #EFFBE5

Accessibility & contrast

On white

1.41
#AFEA7E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.89
#AFEA7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEA7E
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEA7E#FFFFFF#000000##000000
##AFEA7E1.001.4114.8914.89
#FFFFFF1.411.0021.0021.00
#00000014.8921.001.001.00
##00000014.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DC75
Deuteranopia (green-blind)
#E9D884
Tritanopia (blue-blind)
#B1E2D1
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #afea7e;
/* rgb */ color: rgb(175, 234, 126);
/* oklch */ color: oklch(87.3% 0.151 132.3);
Tailwind
colors: {
  custom: {
    50: '#c9f1a5',
    500: '#afea7e',
    950: '#000000',
  },
}
SCSS
$custom: #afea7e;
$custom-light: #c9f1a5;
$custom-dark: #000000;
JSON
{
  "hex": "#afea7e",
  "rgb": {
    "r": 175,
    "g": 234,
    "b": 126
  },
  "hsl": {
    "h": 92.778,
    "s": 72,
    "l": 70.588
  },
  "oklch": {
    "l": 0.87288,
    "c": 0.15126,
    "h": 132.3
  },
  "luminance": 0.69466
}

Semantic roles & 50–950 ramp

primary
#AFEA7E
secondary
#8C49C3
accent
#11D47C
background
#FEFFFC
surface
#FAFEF6
border
#D3D6D0
text
#13160F
muted
#838580

Preview Lab

Preview with #AFEA7E

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

Preview Lab → · Contrast checker → · Palette generator →

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