#AFE282#AFE282

#AFE282 is a very light, vivid yellow-green. Relative luminance 0.651; OKLCH L 85.5% C 0.136 H 131.6°. Best body text is #000000 at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#AFE282
RGBrgb(175, 226, 130)
HSLhsl(92, 62%, 70%)
HSVhsv(92, 42%, 89%)
CMYKcmyk(22.6%, 0%, 42.5%, 11.4%)
CIE-LABlab(84.54, -32.72, 41.63)
CIE-LCHlch(84.54, 52.95, 128.17°)
OKLaboklab(85.54% -0.09 0.1015)
OKLCHoklch(85.54% 0.136 131.6)
XYZxyz(48.9040, 65.1173, 31.1071)
Luminance0.6512 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE282 #B582E2
analogous
#DFE282 #AFE282 #82E285
triadic
#AFE282 #82AFE2 #E282AF
tetradic
#AFE282 #82DFE2 #B582E2 #E28582
square
#AFE282 #82DFE2 #B582E2 #E28582
split-complementary
#AFE282 #8582E2 #E282DF
monochromatic
#70BE2C #8FD650 #AFE282 #CFEEB4 #EFF9E5

Accessibility & contrast

On white

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

On black

14.02
#AFE282 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE282
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE282#FFFFFF#000000##000000
##AFE2821.001.5014.0214.02
#FFFFFF1.501.0021.0021.00
#00000014.0221.001.001.00
##00000014.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD67B
Deuteranopia (green-blind)
#E2D287
Tritanopia (blue-blind)
#B1DBCB
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #afe282;
/* rgb */ color: rgb(175, 226, 130);
/* oklch */ color: oklch(85.5% 0.136 131.6);
Tailwind
colors: {
  custom: {
    50: '#c8eba8',
    500: '#afe282',
    950: '#000000',
  },
}
SCSS
$custom: #afe282;
$custom-light: #c8eba8;
$custom-dark: #000000;
JSON
{
  "hex": "#afe282",
  "rgb": {
    "r": 175,
    "g": 226,
    "b": 130
  },
  "hsl": {
    "h": 91.875,
    "s": 62.338,
    "l": 69.804
  },
  "oklch": {
    "l": 0.85537,
    "c": 0.1357,
    "h": 131.6
  },
  "luminance": 0.65118
}

Semantic roles & 50–950 ramp

primary
#AFE282
secondary
#874EBA
accent
#1BCA78
background
#FEFEFC
surface
#FAFDF6
border
#D3D5D0
text
#131610
muted
#838480

Preview Lab

Preview with #AFE282

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

Preview Lab → · Contrast checker → · Palette generator →

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