#AFE857#AFE857

#AFE857 is a very light, vivid yellow-green. Relative luminance 0.675; OKLCH L 86.4% C 0.183 H 128.0°. Best body text is #000000 at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#AFE857
RGBrgb(175, 232, 87)
HSLhsl(84, 76%, 63%)
HSVhsv(84, 63%, 91%)
CMYKcmyk(24.6%, 0%, 62.5%, 9%)
CIE-LABlab(85.76, -39.75, 62.71)
CIE-LCHlch(85.76, 74.25, 122.37°)
OKLaboklab(86.37% -0.1127 0.1441)
OKLCHoklch(86.37% 0.183 128)
XYZxyz(48.2560, 67.5143, 19.5042)
Luminance0.6752 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE857 #9057E8
analogous
#E8D857 #AFE857 #67E857
triadic
#AFE857 #57AFE8 #E857AF
tetradic
#AFE857 #57E8D8 #9057E8 #E85767
square
#AFE857 #57E8D8 #9057E8 #E85767
split-complementary
#AFE857 #5767E8 #D857E8
monochromatic
#72AD18 #95E121 #AFE857 #C9EF8D #E2F7C3

Accessibility & contrast

On white

1.45
#AFE857 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.50
#AFE857 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE857
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE857#FFFFFF#000000##000000
##AFE8571.001.4514.5014.50
#FFFFFF1.451.0021.0021.00
#00000014.5021.001.001.00
##00000014.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3D945
Deuteranopia (green-blind)
#EBD562
Tritanopia (blue-blind)
#B5DECA
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #afe857;
/* rgb */ color: rgb(175, 232, 87);
/* oklch */ color: oklch(86.4% 0.183 128.0);
Tailwind
colors: {
  custom: {
    50: '#caef8c',
    500: '#afe857',
    950: '#000000',
  },
}
SCSS
$custom: #afe857;
$custom-light: #caef8c;
$custom-dark: #000000;
JSON
{
  "hex": "#afe857",
  "rgb": {
    "r": 175,
    "g": 232,
    "b": 87
  },
  "hsl": {
    "h": 83.586,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.86371,
    "c": 0.18294,
    "h": 128
  },
  "luminance": 0.67515
}

Semantic roles & 50–950 ramp

primary
#AFE857
secondary
#6535AE
accent
#0DD85D
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14160C
muted
#83857F

Preview Lab

Preview with #AFE857

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

Preview Lab → · Contrast checker → · Palette generator →

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