#AFD477#AFD477

#AFD477 is a very light, vivid yellow-green. Relative luminance 0.575; OKLCH L 82.2% C 0.127 H 126.8°. Best body text is #000000 at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#AFD477
RGBrgb(175, 212, 119)
HSLhsl(84, 52%, 65%)
HSVhsv(84, 44%, 83%)
CMYKcmyk(17.5%, 0%, 43.9%, 16.9%)
CIE-LABlab(80.48, -27.45, 41.93)
CIE-LCHlch(80.48, 50.12, 123.21°)
OKLaboklab(82.22% -0.076 0.1017)
OKLCHoklch(82.22% 0.127 126.8)
XYZxyz(44.5521, 57.5324, 26.2069)
Luminance0.5753 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD477 #9C77D4
analogous
#D4CA77 #AFD477 #81D477
triadic
#AFD477 #77AFD4 #D477AF
tetradic
#AFD477 #77D4CA #9C77D4 #D47781
square
#AFD477 #77D4CA #9C77D4 #D47781
split-complementary
#AFD477 #7781D4 #CA77D4
monochromatic
#739E32 #94C549 #AFD477 #CAE3A5 #E6F1D4

Accessibility & contrast

On white

1.68
#AFD477 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.51
#AFD477 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD477
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD477#FFFFFF#000000##000000
##AFD4771.001.6812.5112.51
#FFFFFF1.681.0021.0021.00
#00000012.5121.001.001.00
##00000012.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC970
Deuteranopia (green-blind)
#D7C77C
Tritanopia (blue-blind)
#B4CCBE
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #afd477;
/* rgb */ color: rgb(175, 212, 119);
/* oklch */ color: oklch(82.2% 0.127 126.8);
Tailwind
colors: {
  custom: {
    50: '#c8e1a0',
    500: '#afd477',
    950: '#000000',
  },
}
SCSS
$custom: #afd477;
$custom-light: #c8e1a0;
$custom-dark: #000000;
JSON
{
  "hex": "#afd477",
  "rgb": {
    "r": 175,
    "g": 212,
    "b": 119
  },
  "hsl": {
    "h": 83.871,
    "s": 51.955,
    "l": 64.902
  },
  "oklch": {
    "l": 0.82215,
    "c": 0.12691,
    "h": 126.8
  },
  "luminance": 0.57533
}

Semantic roles & 50–950 ramp

primary
#AFD477
secondary
#6F4CA3
accent
#26BF63
background
#FDFEFC
surface
#F9FCF5
border
#D2D5CF
text
#13150F
muted
#828480

Preview Lab

Preview with #AFD477

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

Preview Lab → · Contrast checker → · Palette generator →

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