#AFD057#AFD057

#AFD057 is a light, vivid yellow-green. Relative luminance 0.549; OKLCH L 80.9% C 0.152 H 122.7°. Best body text is #000000 at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#AFD057
RGBrgb(175, 208, 87)
HSLhsl(76, 56%, 58%)
HSVhsv(76, 58%, 82%)
CMYKcmyk(15.9%, 0%, 58.2%, 18.4%)
CIE-LABlab(78.99, -28.74, 55.24)
CIE-LCHlch(78.99, 62.27, 117.49°)
OKLaboklab(80.9% -0.0822 0.1282)
OKLCHoklch(80.9% 0.152 122.7)
XYZxyz(41.9557, 54.9137, 17.4041)
Luminance0.5491 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD057 #7857D0
analogous
#D0B557 #AFD057 #72D057
triadic
#AFD057 #57AFD0 #D057AF
tetradic
#AFD057 #57D0B5 #7857D0 #D05772
square
#AFD057 #57D0B5 #7857D0 #D05772
split-complementary
#AFD057 #5772D0 #B557D0
monochromatic
#6C8726 #93B733 #AFD057 #C6DD87 #DDEBB7

Accessibility & contrast

On white

1.75
#AFD057 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.98
#AFD057 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD057
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD057#FFFFFF#000000##000000
##AFD0571.001.7511.9811.98
#FFFFFF1.751.0021.0021.00
#00000011.9821.001.001.00
##00000011.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC44A
Deuteranopia (green-blind)
#D7C35F
Tritanopia (blue-blind)
#B7C6B6
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #afd057;
/* rgb */ color: rgb(175, 208, 87);
/* oklch */ color: oklch(80.9% 0.152 122.7);
Tailwind
colors: {
  custom: {
    50: '#c9de8b',
    500: '#afd057',
    950: '#000000',
  },
}
SCSS
$custom: #afd057;
$custom-light: #c9de8b;
$custom-dark: #000000;
JSON
{
  "hex": "#afd057",
  "rgb": {
    "r": 175,
    "g": 208,
    "b": 87
  },
  "hsl": {
    "h": 76.364,
    "s": 56.279,
    "l": 57.843
  },
  "oklch": {
    "l": 0.809,
    "c": 0.1523,
    "h": 122.7
  },
  "luminance": 0.54914
}

Semantic roles & 50–950 ramp

primary
#AFD057
secondary
#533E8E
accent
#48E072
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFD057

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

Preview Lab → · Contrast checker → · Palette generator →

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