#AFE48B#AFE48B

#AFE48B is a very light, vivid yellow-green. Relative luminance 0.665; OKLCH L 86.1% C 0.129 H 133.5°. Best body text is #000000 at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#AFE48B
RGBrgb(175, 228, 139)
HSLhsl(96, 62%, 72%)
HSVhsv(96, 39%, 89%)
CMYKcmyk(23.2%, 0%, 39%, 10.6%)
CIE-LABlab(85.23, -32.50, 38.04)
CIE-LCHlch(85.23, 50.04, 130.51°)
OKLaboklab(86.13% -0.089 0.0937)
OKLCHoklch(86.13% 0.129 133.5)
XYZxyz(50.0817, 66.4636, 34.6112)
Luminance0.6646 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE48B #C08BE4
analogous
#DCE48B #AFE48B #8BE494
triadic
#AFE48B #8BAFE4 #E48BAF
tetradic
#AFE48B #8BDCE4 #C08BE4 #E4948B
square
#AFE48B #8BDCE4 #C08BE4 #E4948B
split-complementary
#AFE48B #948BE4 #E48BDC
monochromatic
#6CC62E #8DD859 #AFE48B #D1F0BD #EEF9E6

Accessibility & contrast

On white

1.47
#AFE48B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.29
#AFE48B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE48B
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE48B#FFFFFF#000000##000000
##AFE48B1.001.4714.2914.29
#FFFFFF1.471.0021.0021.00
#00000014.2921.001.001.00
##00000014.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD884
Deuteranopia (green-blind)
#E3D390
Tritanopia (blue-blind)
#B0DDCE
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #afe48b;
/* rgb */ color: rgb(175, 228, 139);
/* oklch */ color: oklch(86.1% 0.129 133.5);
Tailwind
colors: {
  custom: {
    50: '#c8ecae',
    500: '#afe48b',
    950: '#000000',
  },
}
SCSS
$custom: #afe48b;
$custom-light: #c8ecae;
$custom-dark: #000000;
JSON
{
  "hex": "#afe48b",
  "rgb": {
    "r": 175,
    "g": 228,
    "b": 139
  },
  "hsl": {
    "h": 95.73,
    "s": 62.238,
    "l": 71.961
  },
  "oklch": {
    "l": 0.86134,
    "c": 0.12922,
    "h": 133.5
  },
  "luminance": 0.66465
}

Semantic roles & 50–950 ramp

primary
#AFE48B
secondary
#9356BD
accent
#1CCA83
background
#FDFEFD
surface
#F9FDF7
border
#D2D5D0
text
#131610
muted
#828481

Preview Lab

Preview with #AFE48B

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

Preview Lab → · Contrast checker → · Palette generator →

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