#AFE27D#AFE27D

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

Color values

HEX#AFE27D
RGBrgb(175, 226, 125)
HSLhsl(90, 64%, 69%)
HSVhsv(90, 45%, 89%)
CMYKcmyk(22.6%, 0%, 44.7%, 11.4%)
CIE-LABlab(84.48, -33.33, 43.99)
CIE-LCHlch(84.48, 55.19, 127.15°)
OKLaboklab(85.46% -0.092 0.1066)
OKLCHoklch(85.46% 0.141 130.8)
XYZxyz(48.5765, 64.9863, 29.3824)
Luminance0.6499 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE27D #B07DE2
analogous
#E2E27D #AFE27D #7DE27E
triadic
#AFE27D #7DAFE2 #E27DAF
tetradic
#AFE27D #7DE2E2 #B07DE2 #E27E7D
square
#AFE27D #7DE2E2 #B07DE2 #E27E7D
split-complementary
#AFE27D #7E7DE2 #E27DE2
monochromatic
#72BB2A #90D74B #AFE27D #CEEDAF #EDF8E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFE27D#FFFFFF#000000##000000
##AFE27D1.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)
#EAD575
Deuteranopia (green-blind)
#E3D283
Tritanopia (blue-blind)
#B2DACA
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #afe27d;
/* rgb */ color: rgb(175, 226, 125);
/* oklch */ color: oklch(85.5% 0.141 130.8);
Tailwind
colors: {
  custom: {
    50: '#c9eba4',
    500: '#afe27d',
    950: '#000000',
  },
}
SCSS
$custom: #afe27d;
$custom-light: #c9eba4;
$custom-dark: #000000;
JSON
{
  "hex": "#afe27d",
  "rgb": {
    "r": 175,
    "g": 226,
    "b": 125
  },
  "hsl": {
    "h": 90.297,
    "s": 63.522,
    "l": 68.824
  },
  "oklch": {
    "l": 0.85461,
    "c": 0.14082,
    "h": 130.8
  },
  "luminance": 0.64987
}

Semantic roles & 50–950 ramp

primary
#AFE27D
secondary
#824AB9
accent
#1ACB74
background
#FEFEFC
surface
#FAFDF6
border
#D3D5D0
text
#13160F
muted
#838480

Preview Lab

Preview with #AFE27D

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

Preview Lab → · Contrast checker → · Palette generator →

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