#AFE393#AFE393

#AFE393 is a very light, moderate yellow-green. Relative luminance 0.662; OKLCH L 86.0% C 0.119 H 135.1°. Best body text is #000000 at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#AFE393
RGBrgb(175, 227, 147)
HSLhsl(99, 59%, 73%)
HSVhsv(99, 35%, 89%)
CMYKcmyk(22.9%, 0%, 35.2%, 11%)
CIE-LABlab(85.08, -30.94, 33.82)
CIE-LCHlch(85.08, 45.83, 132.46°)
OKLaboklab(86.05% -0.0844 0.0841)
OKLCHoklch(86.05% 0.119 135.1)
XYZxyz(50.4135, 66.1574, 37.7117)
Luminance0.6616 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE393 #C793E3
analogous
#D7E393 #AFE393 #93E39F
triadic
#AFE393 #93AFE3 #E393AF
tetradic
#AFE393 #93D7E3 #C793E3 #E39F93
square
#AFE393 #93D7E3 #C793E3 #E39F93
split-complementary
#AFE393 #9F93E3 #E393D7
monochromatic
#68C834 #8BD662 #AFE393 #D3F0C4 #EDF9E7

Accessibility & contrast

On white

1.48
#AFE393 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.23
#AFE393 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE393
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE393#FFFFFF#000000##000000
##AFE3931.001.4814.2314.23
#FFFFFF1.481.0021.0021.00
#00000014.2321.001.001.00
##00000014.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D78D
Deuteranopia (green-blind)
#E1D397
Tritanopia (blue-blind)
#AFDDCF
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #afe393;
/* rgb */ color: rgb(175, 227, 147);
/* oklch */ color: oklch(86.0% 0.119 135.1);
Tailwind
colors: {
  custom: {
    50: '#c8ecb3',
    500: '#afe393',
    950: '#000000',
  },
}
SCSS
$custom: #afe393;
$custom-light: #c8ecb3;
$custom-dark: #000000;
JSON
{
  "hex": "#afe393",
  "rgb": {
    "r": 175,
    "g": 227,
    "b": 147
  },
  "hsl": {
    "h": 99,
    "s": 58.824,
    "l": 73.333
  },
  "oklch": {
    "l": 0.86049,
    "c": 0.11915,
    "h": 135.1
  },
  "luminance": 0.66159
}

Semantic roles & 50–950 ramp

primary
#AFE393
secondary
#9B5EBC
accent
#1FC68C
background
#FDFEFD
surface
#F9FDF8
border
#D2D5D1
text
#131611
muted
#828481

Preview Lab

Preview with #AFE393

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

Preview Lab → · Contrast checker → · Palette generator →

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