#AFE382#AFE382

#AFE382 is a very light, vivid yellow-green. Relative luminance 0.657; OKLCH L 85.8% C 0.137 H 131.7°. Best body text is #000000 at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#AFE382
RGBrgb(175, 227, 130)
HSLhsl(92, 63%, 70%)
HSVhsv(92, 43%, 89%)
CMYKcmyk(22.9%, 0%, 42.7%, 11%)
CIE-LABlab(84.82, -33.19, 41.98)
CIE-LCHlch(84.82, 53.52, 128.33°)
OKLaboklab(85.76% -0.0913 0.1023)
OKLCHoklch(85.76% 0.137 131.7)
XYZxyz(49.1767, 65.6627, 31.1980)
Luminance0.6566 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE382 #B682E3
analogous
#E0E382 #AFE382 #82E385
triadic
#AFE382 #82AFE3 #E382AF
tetradic
#AFE382 #82E0E3 #B682E3 #E38582
square
#AFE382 #82E0E3 #B682E3 #E38582
split-complementary
#AFE382 #8582E3 #E382E0
monochromatic
#70C02B #8FD850 #AFE382 #CFEEB4 #EFF9E6

Accessibility & contrast

On white

1.49
#AFE382 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.13
#AFE382 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE382
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE382#FFFFFF#000000##000000
##AFE3821.001.4914.1314.13
#FFFFFF1.491.0021.0021.00
#00000014.1321.001.001.00
##00000014.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD67A
Deuteranopia (green-blind)
#E3D287
Tritanopia (blue-blind)
#B1DCCC
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #afe382;
/* rgb */ color: rgb(175, 227, 130);
/* oklch */ color: oklch(85.8% 0.137 131.7);
Tailwind
colors: {
  custom: {
    50: '#c8eca8',
    500: '#afe382',
    950: '#000000',
  },
}
SCSS
$custom: #afe382;
$custom-light: #c8eca8;
$custom-dark: #000000;
JSON
{
  "hex": "#afe382",
  "rgb": {
    "r": 175,
    "g": 227,
    "b": 130
  },
  "hsl": {
    "h": 92.165,
    "s": 63.399,
    "l": 70
  },
  "oklch": {
    "l": 0.85763,
    "c": 0.13714,
    "h": 131.7
  },
  "luminance": 0.65664
}

Semantic roles & 50–950 ramp

primary
#AFE382
secondary
#894EBB
accent
#1ACB79
background
#FEFEFC
surface
#FAFDF6
border
#D3D5D0
text
#131610
muted
#838480

Preview Lab

Preview with #AFE382

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

Preview Lab → · Contrast checker → · Palette generator →

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