#AFE284#AFE284

#AFE284 is a very light, vivid yellow-green. Relative luminance 0.652; OKLCH L 85.6% C 0.134 H 131.9°. Best body text is #000000 at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#AFE284
RGBrgb(175, 226, 132)
HSLhsl(93, 62%, 70%)
HSVhsv(93, 42%, 89%)
CMYKcmyk(22.6%, 0%, 41.6%, 11.4%)
CIE-LABlab(84.57, -32.47, 40.68)
CIE-LCHlch(84.57, 52.05, 128.60°)
OKLaboklab(85.57% -0.0892 0.0994)
OKLCHoklch(85.57% 0.134 131.9)
XYZxyz(49.0396, 65.1715, 31.8210)
Luminance0.6517 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE284 #B784E2
analogous
#DEE284 #AFE284 #84E288
triadic
#AFE284 #84AFE2 #E284AF
tetradic
#AFE284 #84DEE2 #B784E2 #E28884
square
#AFE284 #84DEE2 #B784E2 #E28884
split-complementary
#AFE284 #8884E2 #E284DE
monochromatic
#70BF2D #8FD652 #AFE284 #CFEEB6 #EFF9E6

Accessibility & contrast

On white

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

On black

14.03
#AFE284 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE284
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE284#FFFFFF#000000##000000
##AFE2841.001.5014.0314.03
#FFFFFF1.501.0021.0021.00
#00000014.0321.001.001.00
##00000014.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afe284;
/* rgb */ color: rgb(175, 226, 132);
/* oklch */ color: oklch(85.6% 0.134 131.9);
Tailwind
colors: {
  custom: {
    50: '#c8eba9',
    500: '#afe284',
    950: '#000000',
  },
}
SCSS
$custom: #afe284;
$custom-light: #c8eba9;
$custom-dark: #000000;
JSON
{
  "hex": "#afe284",
  "rgb": {
    "r": 175,
    "g": 226,
    "b": 132
  },
  "hsl": {
    "h": 92.553,
    "s": 61.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.85569,
    "c": 0.13361,
    "h": 131.9
  },
  "luminance": 0.65173
}

Semantic roles & 50–950 ramp

primary
#AFE284
secondary
#8A50BA
accent
#1CCA7A
background
#FEFEFD
surface
#FAFDF7
border
#D3D5D0
text
#131610
muted
#838481

Preview Lab

Preview with #AFE284

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

Preview Lab → · Contrast checker → · Palette generator →

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