#AFD757#AFD757

#AFD757 is a very light, vivid yellow-green. Relative luminance 0.584; OKLCH L 82.5% C 0.161 H 124.5°. Best body text is #000000 at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#AFD757
RGBrgb(175, 215, 87)
HSLhsl(79, 62%, 59%)
HSVhsv(79, 60%, 84%)
CMYKcmyk(18.6%, 0%, 59.5%, 15.7%)
CIE-LABlab(80.96, -32.03, 57.44)
CIE-LCHlch(80.96, 65.77, 119.15°)
OKLaboklab(82.49% -0.0913 0.1329)
OKLCHoklch(82.49% 0.161 124.5)
XYZxyz(43.7001, 58.4026, 17.9855)
Luminance0.5840 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD757 #7F57D7
analogous
#D7BF57 #AFD757 #6FD757
triadic
#AFD757 #57AFD7 #D757AF
tetradic
#AFD757 #57D7BF #7F57D7 #D7576F
square
#AFD757 #57D7BF #7F57D7 #D7576F
split-complementary
#AFD757 #576FD7 #BF57D7
monochromatic
#6F9123 #94C22E #AFD757 #C7E388 #DEEFBA

Accessibility & contrast

On white

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

On black

12.68
#AFD757 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD757
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD757#FFFFFF#000000##000000
##AFD7571.001.6612.6812.68
#FFFFFF1.661.0021.0021.00
#00000012.6821.001.001.00
##00000012.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA49
Deuteranopia (green-blind)
#DDC960
Tritanopia (blue-blind)
#B6CDBC
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #afd757;
/* rgb */ color: rgb(175, 215, 87);
/* oklch */ color: oklch(82.5% 0.161 124.5);
Tailwind
colors: {
  custom: {
    50: '#cae38b',
    500: '#afd757',
    950: '#000000',
  },
}
SCSS
$custom: #afd757;
$custom-light: #cae38b;
$custom-dark: #000000;
JSON
{
  "hex": "#afd757",
  "rgb": {
    "r": 175,
    "g": 215,
    "b": 87
  },
  "hsl": {
    "h": 78.75,
    "s": 61.538,
    "l": 59.216
  },
  "oklch": {
    "l": 0.82489,
    "c": 0.16126,
    "h": 124.5
  },
  "luminance": 0.58403
}

Semantic roles & 50–950 ramp

primary
#AFD757
secondary
#583C96
accent
#43E576
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFD757

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

Preview Lab → · Contrast checker → · Palette generator →

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