#AFE27F#AFE27F

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

Color values

HEX#AFE27F
RGBrgb(175, 226, 127)
HSLhsl(91, 63%, 69%)
HSVhsv(91, 44%, 89%)
CMYKcmyk(22.6%, 0%, 43.8%, 11.4%)
CIE-LABlab(84.50, -33.09, 43.05)
CIE-LCHlch(84.50, 54.30, 127.55°)
OKLaboklab(85.49% -0.0912 0.1046)
OKLCHoklch(85.49% 0.139 131.1)
XYZxyz(48.7056, 65.0379, 30.0620)
Luminance0.6504 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE27F #B27FE2
analogous
#E1E27F #AFE27F #7FE281
triadic
#AFE27F #7FAFE2 #E27FAF
tetradic
#AFE27F #7FE1E2 #B27FE2 #E2817F
square
#AFE27F #7FE1E2 #B27FE2 #E2817F
split-complementary
#AFE27F #817FE2 #E27FE1
monochromatic
#71BC2B #90D74D #AFE27F #CEEDB1 #EDF9E3

Accessibility & contrast

On white

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

On black

14.01
#AFE27F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE27F
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE27F#FFFFFF#000000##000000
##AFE27F1.001.5014.0114.01
#FFFFFF1.501.0021.0021.00
#00000014.0121.001.001.00
##00000014.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD577
Deuteranopia (green-blind)
#E2D285
Tritanopia (blue-blind)
#B1DBCA
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #afe27f;
/* rgb */ color: rgb(175, 226, 127);
/* oklch */ color: oklch(85.5% 0.139 131.1);
Tailwind
colors: {
  custom: {
    50: '#c8eba5',
    500: '#afe27f',
    950: '#000000',
  },
}
SCSS
$custom: #afe27f;
$custom-light: #c8eba5;
$custom-dark: #000000;
JSON
{
  "hex": "#afe27f",
  "rgb": {
    "r": 175,
    "g": 226,
    "b": 127
  },
  "hsl": {
    "h": 90.909,
    "s": 63.057,
    "l": 69.216
  },
  "oklch": {
    "l": 0.85491,
    "c": 0.13879,
    "h": 131.1
  },
  "luminance": 0.65039
}

Semantic roles & 50–950 ramp

primary
#AFE27F
secondary
#844CBA
accent
#1BCB75
background
#FEFEFC
surface
#FAFDF6
border
#D3D5D0
text
#13160F
muted
#838480

Preview Lab

Preview with #AFE27F

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

Preview Lab → · Contrast checker → · Palette generator →

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