#AFD57D#AFD57D

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

Color values

HEX#AFD57D
RGBrgb(175, 213, 125)
HSLhsl(86, 51%, 66%)
HSVhsv(86, 41%, 84%)
CMYKcmyk(17.8%, 0%, 41.3%, 16.5%)
CIE-LABlab(80.84, -27.21, 39.41)
CIE-LCHlch(80.84, 47.89, 124.63°)
OKLaboklab(82.53% -0.0749 0.0962)
OKLCHoklch(82.53% 0.122 127.9)
XYZxyz(45.1747, 58.1826, 28.2484)
Luminance0.5818 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD57D #A37DD5
analogous
#D5CF7D #AFD57D #83D57D
triadic
#AFD57D #7DAFD5 #D57DAF
tetradic
#AFD57D #7DD5CF #A37DD5 #D57D83
square
#AFD57D #7DD5CF #A37DD5 #D57D83
split-complementary
#AFD57D #7D83D5 #CF7DD5
monochromatic
#73A335 #93C64F #AFD57D #CBE4AB #E8F3DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFD57D#FFFFFF#000000##000000
##AFD57D1.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)
#DDCA76
Deuteranopia (green-blind)
#D8C882
Tritanopia (blue-blind)
#B3CEC0
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #afd57d;
/* rgb */ color: rgb(175, 213, 125);
/* oklch */ color: oklch(82.5% 0.122 127.9);
Tailwind
colors: {
  custom: {
    50: '#c8e2a4',
    500: '#afd57d',
    950: '#000000',
  },
}
SCSS
$custom: #afd57d;
$custom-light: #c8e2a4;
$custom-dark: #000000;
JSON
{
  "hex": "#afd57d",
  "rgb": {
    "r": 175,
    "g": 213,
    "b": 125
  },
  "hsl": {
    "h": 85.909,
    "s": 51.163,
    "l": 66.275
  },
  "oklch": {
    "l": 0.82533,
    "c": 0.12197,
    "h": 127.9
  },
  "luminance": 0.58183
}

Semantic roles & 50–950 ramp

primary
#AFD57D
secondary
#754FA7
accent
#27BF68
background
#FDFEFC
surface
#F9FCF6
border
#D2D5D0
text
#13150F
muted
#828480

Preview Lab

Preview with #AFD57D

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

Preview Lab → · Contrast checker → · Palette generator →

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