#AFE287#AFE287

#AFE287 is a very light, vivid yellow-green. Relative luminance 0.653; OKLCH L 85.6% C 0.130 H 132.4°. Best body text is #000000 at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#AFE287
RGBrgb(175, 226, 135)
HSLhsl(94, 61%, 71%)
HSVhsv(94, 40%, 89%)
CMYKcmyk(22.6%, 0%, 40.3%, 11.4%)
CIE-LABlab(84.61, -32.09, 39.24)
CIE-LCHlch(84.61, 50.69, 129.28°)
OKLaboklab(85.62% -0.088 0.0963)
OKLCHoklch(85.62% 0.13 132.4)
XYZxyz(49.2478, 65.2548, 32.9177)
Luminance0.6526 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE287 #BA87E2
analogous
#DDE287 #AFE287 #87E28C
triadic
#AFE287 #87AFE2 #E287AF
tetradic
#AFE287 #87DDE2 #BA87E2 #E28C87
square
#AFE287 #87DDE2 #BA87E2 #E28C87
split-complementary
#AFE287 #8C87E2 #E287DD
monochromatic
#6EC02E #8ED656 #AFE287 #D0EEB8 #EFF9E6

Accessibility & contrast

On white

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

On black

14.05
#AFE287 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE287
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE287#FFFFFF#000000##000000
##AFE2871.001.4914.0514.05
#FFFFFF1.491.0021.0021.00
#00000014.0521.001.001.00
##00000014.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D680
Deuteranopia (green-blind)
#E2D28C
Tritanopia (blue-blind)
#B0DBCC
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #afe287;
/* rgb */ color: rgb(175, 226, 135);
/* oklch */ color: oklch(85.6% 0.130 132.4);
Tailwind
colors: {
  custom: {
    50: '#c8ebab',
    500: '#afe287',
    950: '#000000',
  },
}
SCSS
$custom: #afe287;
$custom-light: #c8ebab;
$custom-dark: #000000;
JSON
{
  "hex": "#afe287",
  "rgb": {
    "r": 175,
    "g": 226,
    "b": 135
  },
  "hsl": {
    "h": 93.626,
    "s": 61.074,
    "l": 70.784
  },
  "oklch": {
    "l": 0.85618,
    "c": 0.13046,
    "h": 132.4
  },
  "luminance": 0.65256
}

Semantic roles & 50–950 ramp

primary
#AFE287
secondary
#8D53BA
accent
#1DC97D
background
#FDFEFD
surface
#F9FDF7
border
#D2D5D0
text
#131610
muted
#828481

Preview Lab

Preview with #AFE287

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

Preview Lab → · Contrast checker → · Palette generator →

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