#AFEA7C#AFEA7C

#AFEA7C is a very light, vivid yellow-green. Relative luminance 0.694; OKLCH L 87.3% C 0.153 H 132.0°. Best body text is #000000 at 14.88:1 contrast (WCAG AA passes).

Color values

HEX#AFEA7C
RGBrgb(175, 234, 124)
HSLhsl(92, 72%, 70%)
HSVhsv(92, 47%, 92%)
CMYKcmyk(25.2%, 0%, 47%, 8.2%)
CIE-LABlab(86.71, -37.10, 47.25)
CIE-LCHlch(86.71, 60.07, 128.14°)
OKLaboklab(87.26% -0.1025 0.1139)
OKLCHoklch(87.26% 0.153 132)
XYZxyz(50.7393, 69.4135, 29.7897)
Luminance0.6942 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEA7C #B77CEA
analogous
#E6EA7C #AFEA7C #7CEA80
triadic
#AFEA7C #7CAFEA #EA7CAF
tetradic
#AFEA7C #7CE6EA #B77CEA #EA807C
square
#AFEA7C #7CE6EA #B77CEA #EA807C
split-complementary
#AFEA7C #807CEA #EA7CE6
monochromatic
#70CB21 #8FE247 #AFEA7C #CFF2B1 #EFFBE5

Accessibility & contrast

On white

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

On black

14.88
#AFEA7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEA7C
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEA7C#FFFFFF#000000##000000
##AFEA7C1.001.4114.8814.88
#FFFFFF1.411.0021.0021.00
#00000014.8821.001.001.00
##00000014.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DC73
Deuteranopia (green-blind)
#EAD783
Tritanopia (blue-blind)
#B1E2D0
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #afea7c;
/* rgb */ color: rgb(175, 234, 124);
/* oklch */ color: oklch(87.3% 0.153 132.0);
Tailwind
colors: {
  custom: {
    50: '#c9f1a4',
    500: '#afea7c',
    950: '#000000',
  },
}
SCSS
$custom: #afea7c;
$custom-light: #c9f1a4;
$custom-dark: #000000;
JSON
{
  "hex": "#afea7c",
  "rgb": {
    "r": 175,
    "g": 234,
    "b": 124
  },
  "hsl": {
    "h": 92.182,
    "s": 72.368,
    "l": 70.196
  },
  "oklch": {
    "l": 0.87259,
    "c": 0.15322,
    "h": 132
  },
  "luminance": 0.69415
}

Semantic roles & 50–950 ramp

primary
#AFEA7C
secondary
#8A47C3
accent
#11D47A
background
#FEFFFC
surface
#FAFEF6
border
#D3D6D0
text
#13160F
muted
#838580

Preview Lab

Preview with #AFEA7C

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

Preview Lab → · Contrast checker → · Palette generator →

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