#AFE182#AFE182

#AFE182 is a very light, vivid yellow-green. Relative luminance 0.646; OKLCH L 85.3% C 0.134 H 131.4°. Best body text is #000000 at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#AFE182
RGBrgb(175, 225, 130)
HSLhsl(92, 61%, 70%)
HSVhsv(92, 42%, 88%)
CMYKcmyk(22.2%, 0%, 42.2%, 11.8%)
CIE-LABlab(84.26, -32.26, 41.27)
CIE-LCHlch(84.26, 52.38, 128.01°)
OKLaboklab(85.31% -0.0887 0.1007)
OKLCHoklch(85.31% 0.134 131.4)
XYZxyz(48.6329, 64.5751, 31.0167)
Luminance0.6458 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE182 #B482E1
analogous
#DEE182 #AFE182 #82E185
triadic
#AFE182 #82AFE1 #E182AF
tetradic
#AFE182 #82DEE1 #B482E1 #E18582
square
#AFE182 #82DEE1 #B482E1 #E18582
split-complementary
#AFE182 #8582E1 #E182DE
monochromatic
#71BC2D #8FD551 #AFE182 #CFEDB3 #EEF9E5

Accessibility & contrast

On white

1.51
#AFE182 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.92
#AFE182 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE182
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE182#FFFFFF#000000##000000
##AFE1821.001.5113.9213.92
#FFFFFF1.511.0021.0021.00
#00000013.9221.001.001.00
##00000013.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D57B
Deuteranopia (green-blind)
#E1D187
Tritanopia (blue-blind)
#B1DACA
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #afe182;
/* rgb */ color: rgb(175, 225, 130);
/* oklch */ color: oklch(85.3% 0.134 131.4);
Tailwind
colors: {
  custom: {
    50: '#c8eaa7',
    500: '#afe182',
    950: '#000000',
  },
}
SCSS
$custom: #afe182;
$custom-light: #c8eaa7;
$custom-dark: #000000;
JSON
{
  "hex": "#afe182",
  "rgb": {
    "r": 175,
    "g": 225,
    "b": 130
  },
  "hsl": {
    "h": 91.579,
    "s": 61.29,
    "l": 69.608
  },
  "oklch": {
    "l": 0.85312,
    "c": 0.13423,
    "h": 131.4
  },
  "luminance": 0.64576
}

Semantic roles & 50–950 ramp

primary
#AFE182
secondary
#864FB9
accent
#1DC977
background
#FEFEFC
surface
#FAFDF6
border
#D3D5D0
text
#131610
muted
#838480

Preview Lab

Preview with #AFE182

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

Preview Lab → · Contrast checker → · Palette generator →

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