#AFE285#AFE285

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

Color values

HEX#AFE285
RGBrgb(175, 226, 133)
HSLhsl(93, 62%, 70%)
HSVhsv(93, 41%, 89%)
CMYKcmyk(22.6%, 0%, 41.2%, 11.4%)
CIE-LABlab(84.59, -32.35, 40.20)
CIE-LCHlch(84.59, 51.60, 128.82°)
OKLaboklab(85.59% -0.0888 0.0984)
OKLCHoklch(85.59% 0.133 132.1)
XYZxyz(49.1083, 65.1990, 32.1831)
Luminance0.6520 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE285 #B885E2
analogous
#DDE285 #AFE285 #85E289
triadic
#AFE285 #85AFE2 #E285AF
tetradic
#AFE285 #85DDE2 #B885E2 #E28985
square
#AFE285 #85DDE2 #B885E2 #E28985
split-complementary
#AFE285 #8985E2 #E285DD
monochromatic
#6FBF2D #8FD654 #AFE285 #CFEEB6 #EFF9E6

Accessibility & contrast

On white

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

On black

14.04
#AFE285 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE285
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE285#FFFFFF#000000##000000
##AFE2851.001.5014.0414.04
#FFFFFF1.501.0021.0021.00
#00000014.0421.001.001.00
##00000014.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afe285;
/* rgb */ color: rgb(175, 226, 133);
/* oklch */ color: oklch(85.6% 0.133 132.1);
Tailwind
colors: {
  custom: {
    50: '#c8ebaa',
    500: '#afe285',
    950: '#000000',
  },
}
SCSS
$custom: #afe285;
$custom-light: #c8ebaa;
$custom-dark: #000000;
JSON
{
  "hex": "#afe285",
  "rgb": {
    "r": 175,
    "g": 226,
    "b": 133
  },
  "hsl": {
    "h": 92.903,
    "s": 61.589,
    "l": 70.392
  },
  "oklch": {
    "l": 0.85585,
    "c": 0.13256,
    "h": 132.1
  },
  "luminance": 0.652
}

Semantic roles & 50–950 ramp

primary
#AFE285
secondary
#8B51BA
accent
#1CC97B
background
#FDFEFD
surface
#F9FDF7
border
#D2D5D0
text
#131610
muted
#828481

Preview Lab

Preview with #AFE285

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

Preview Lab → · Contrast checker → · Palette generator →

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