#AFD57E#AFD57E

#AFD57E is a very light, vivid yellow-green. Relative luminance 0.582; OKLCH L 82.5% C 0.121 H 128.1°. Best body text is #000000 at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#AFD57E
RGBrgb(175, 213, 126)
HSLhsl(86, 51%, 66%)
HSVhsv(86, 41%, 84%)
CMYKcmyk(17.8%, 0%, 40.8%, 16.5%)
CIE-LABlab(80.85, -27.09, 38.93)
CIE-LCHlch(80.85, 47.42, 124.84°)
OKLaboklab(82.55% -0.0745 0.0952)
OKLCHoklch(82.55% 0.121 128.1)
XYZxyz(45.2389, 58.2082, 28.5866)
Luminance0.5821 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD57E #A47ED5
analogous
#D5D07E #AFD57E #84D57E
triadic
#AFD57E #7EAFD5 #D57EAF
tetradic
#AFD57E #7ED5D0 #A47ED5 #D57E84
square
#AFD57E #7ED5D0 #A47ED5 #D57E84
split-complementary
#AFD57E #7E84D5 #D07ED5
monochromatic
#73A335 #92C650 #AFD57E #CCE4AC #E8F3DA

Accessibility & contrast

On white

1.66
#AFD57E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.64
#AFD57E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD57E
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD57E#FFFFFF#000000##000000
##AFD57E1.001.6612.6412.64
#FFFFFF1.661.0021.0021.00
#00000012.6421.001.001.00
##00000012.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDCA77
Deuteranopia (green-blind)
#D7C883
Tritanopia (blue-blind)
#B3CEC0
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #afd57e;
/* rgb */ color: rgb(175, 213, 126);
/* oklch */ color: oklch(82.5% 0.121 128.1);
Tailwind
colors: {
  custom: {
    50: '#c8e2a4',
    500: '#afd57e',
    950: '#000000',
  },
}
SCSS
$custom: #afd57e;
$custom-light: #c8e2a4;
$custom-dark: #000000;
JSON
{
  "hex": "#afd57e",
  "rgb": {
    "r": 175,
    "g": 213,
    "b": 126
  },
  "hsl": {
    "h": 86.207,
    "s": 50.877,
    "l": 66.471
  },
  "oklch": {
    "l": 0.82549,
    "c": 0.12089,
    "h": 128.1
  },
  "luminance": 0.58209
}

Semantic roles & 50–950 ramp

primary
#AFD57E
secondary
#7650A8
accent
#27BE69
background
#FDFEFC
surface
#F9FCF6
border
#D2D5D0
text
#13150F
muted
#828480

Preview Lab

Preview with #AFD57E

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

Preview Lab → · Contrast checker → · Palette generator →

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