#AFE27E#AFE27E

#AFE27E is a very light, vivid yellow-green. Relative luminance 0.650; OKLCH L 85.5% C 0.140 H 130.9°. Best body text is #000000 at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#AFE27E
RGBrgb(175, 226, 126)
HSLhsl(91, 63%, 69%)
HSVhsv(91, 44%, 89%)
CMYKcmyk(22.6%, 0%, 44.2%, 11.4%)
CIE-LABlab(84.49, -33.21, 43.52)
CIE-LCHlch(84.49, 54.75, 127.35°)
OKLaboklab(85.48% -0.0916 0.1056)
OKLCHoklch(85.48% 0.14 130.9)
XYZxyz(48.6407, 65.0120, 29.7205)
Luminance0.6501 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE27E #B17EE2
analogous
#E1E27E #AFE27E #7EE27F
triadic
#AFE27E #7EAFE2 #E27EAF
tetradic
#AFE27E #7EE1E2 #B17EE2 #E27F7E
square
#AFE27E #7EE1E2 #B17EE2 #E27F7E
split-complementary
#AFE27E #7F7EE2 #E27EE1
monochromatic
#71BB2A #90D74C #AFE27E #CEEDB0 #EDF8E2

Accessibility & contrast

On white

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

On black

14.00
#AFE27E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE27E
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE27E#FFFFFF#000000##000000
##AFE27E1.001.5014.0014.00
#FFFFFF1.501.0021.0021.00
#00000014.0021.001.001.00
##00000014.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD576
Deuteranopia (green-blind)
#E3D284
Tritanopia (blue-blind)
#B2DBCA
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #afe27e;
/* rgb */ color: rgb(175, 226, 126);
/* oklch */ color: oklch(85.5% 0.140 130.9);
Tailwind
colors: {
  custom: {
    50: '#c9eba5',
    500: '#afe27e',
    950: '#000000',
  },
}
SCSS
$custom: #afe27e;
$custom-light: #c9eba5;
$custom-dark: #000000;
JSON
{
  "hex": "#afe27e",
  "rgb": {
    "r": 175,
    "g": 226,
    "b": 126
  },
  "hsl": {
    "h": 90.6,
    "s": 63.291,
    "l": 69.02
  },
  "oklch": {
    "l": 0.85476,
    "c": 0.13981,
    "h": 130.9
  },
  "luminance": 0.65013
}

Semantic roles & 50–950 ramp

primary
#AFE27E
secondary
#834BB9
accent
#1ACB75
background
#FEFEFC
surface
#FAFDF6
border
#D3D5D0
text
#13160F
muted
#838480

Preview Lab

Preview with #AFE27E

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

Preview Lab → · Contrast checker → · Palette generator →

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