#AFD857#AFD857

#AFD857 is a very light, vivid yellow-green. Relative luminance 0.589; OKLCH L 82.7% C 0.163 H 124.7°. Best body text is #000000 at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#AFD857
RGBrgb(175, 216, 87)
HSLhsl(79, 62%, 59%)
HSVhsv(79, 60%, 85%)
CMYKcmyk(19%, 0%, 59.7%, 15.3%)
CIE-LABlab(81.24, -32.50, 57.75)
CIE-LCHlch(81.24, 66.27, 119.37°)
OKLaboklab(82.72% -0.0926 0.1336)
OKLCHoklch(82.72% 0.163 124.7)
XYZxyz(43.9555, 58.9134, 18.0707)
Luminance0.5891 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD857 #8057D8
analogous
#D8C157 #AFD857 #6FD857
triadic
#AFD857 #57AFD8 #D857AF
tetradic
#AFD857 #57D8C1 #8057D8 #D8576F
square
#AFD857 #57D8C1 #8057D8 #D8576F
split-complementary
#AFD857 #576FD8 #C157D8
monochromatic
#6F9322 #94C42E #AFD857 #C7E489 #DEEFBA

Accessibility & contrast

On white

1.64
#AFD857 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.78
#AFD857 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD857
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD857#FFFFFF#000000##000000
##AFD8571.001.6412.7812.78
#FFFFFF1.641.0021.0021.00
#00000012.7821.001.001.00
##00000012.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB48
Deuteranopia (green-blind)
#DDC960
Tritanopia (blue-blind)
#B6CEBC
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #afd857;
/* rgb */ color: rgb(175, 216, 87);
/* oklch */ color: oklch(82.7% 0.163 124.7);
Tailwind
colors: {
  custom: {
    50: '#cae48b',
    500: '#afd857',
    950: '#000000',
  },
}
SCSS
$custom: #afd857;
$custom-light: #cae48b;
$custom-dark: #000000;
JSON
{
  "hex": "#afd857",
  "rgb": {
    "r": 175,
    "g": 216,
    "b": 87
  },
  "hsl": {
    "h": 79.07,
    "s": 62.319,
    "l": 59.412
  },
  "oklch": {
    "l": 0.82716,
    "c": 0.16255,
    "h": 124.7
  },
  "luminance": 0.58914
}

Semantic roles & 50–950 ramp

primary
#AFD857
secondary
#593C98
accent
#42E576
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFD857

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

Preview Lab → · Contrast checker → · Palette generator →

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