#AFE27A#AFE27A

#AFE27A is a very light, vivid yellow-green. Relative luminance 0.649; OKLCH L 85.4% C 0.144 H 130.4°. Best body text is #000000 at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#AFE27A
RGBrgb(175, 226, 122)
HSLhsl(89, 64%, 68%)
HSVhsv(89, 46%, 89%)
CMYKcmyk(22.6%, 0%, 46%, 11.4%)
CIE-LABlab(84.44, -33.68, 45.40)
CIE-LCHlch(84.44, 56.53, 126.57°)
OKLaboklab(85.42% -0.0931 0.1096)
OKLCHoklch(85.42% 0.144 130.4)
XYZxyz(48.3878, 64.9108, 28.3883)
Luminance0.6491 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE27A #AD7AE2
analogous
#E2E17A #AFE27A #7BE27A
triadic
#AFE27A #7AAFE2 #E27AAF
tetradic
#AFE27A #7AE2E1 #AD7AE2 #E27A7B
square
#AFE27A #7AE2E1 #AD7AE2 #E27A7B
split-complementary
#AFE27A #7A7BE2 #E17AE2
monochromatic
#72B928 #91D748 #AFE27A #CDEDAC #EBF8DE

Accessibility & contrast

On white

1.50
#AFE27A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.98
#AFE27A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE27A
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE27A#FFFFFF#000000##000000
##AFE27A1.001.5013.9813.98
#FFFFFF1.501.0021.0021.00
#00000013.9821.001.001.00
##00000013.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD571
Deuteranopia (green-blind)
#E3D180
Tritanopia (blue-blind)
#B2DAC9
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #afe27a;
/* rgb */ color: rgb(175, 226, 122);
/* oklch */ color: oklch(85.4% 0.144 130.4);
Tailwind
colors: {
  custom: {
    50: '#c9eba2',
    500: '#afe27a',
    950: '#000000',
  },
}
SCSS
$custom: #afe27a;
$custom-light: #c9eba2;
$custom-dark: #000000;
JSON
{
  "hex": "#afe27a",
  "rgb": {
    "r": 175,
    "g": 226,
    "b": 122
  },
  "hsl": {
    "h": 89.423,
    "s": 64.198,
    "l": 68.235
  },
  "oklch": {
    "l": 0.85417,
    "c": 0.14384,
    "h": 130.4
  },
  "luminance": 0.64912
}

Semantic roles & 50–950 ramp

primary
#AFE27A
secondary
#7F47B9
accent
#19CC71
background
#FEFEFC
surface
#FAFDF5
border
#D3D5CF
text
#13160F
muted
#838480

Preview Lab

Preview with #AFE27A

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

Preview Lab → · Contrast checker → · Palette generator →

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