#AFD877#AFD877

#AFD877 is a very light, vivid yellow-green. Relative luminance 0.596; OKLCH L 83.1% C 0.133 H 127.8°. Best body text is #000000 at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#AFD877
RGBrgb(175, 216, 119)
HSLhsl(85, 55%, 66%)
HSVhsv(85, 45%, 85%)
CMYKcmyk(19%, 0%, 44.9%, 15.3%)
CIE-LABlab(81.60, -29.36, 43.33)
CIE-LCHlch(81.60, 52.34, 124.12°)
OKLaboklab(83.12% -0.0813 0.1048)
OKLCHoklch(83.12% 0.133 127.8)
XYZxyz(45.5645, 59.5570, 26.5443)
Luminance0.5956 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD877 #A077D8
analogous
#D8D177 #AFD877 #7ED877
triadic
#AFD877 #77AFD8 #D877AF
tetradic
#AFD877 #77D8D1 #A077D8 #D8777E
square
#AFD877 #77D8D1 #A077D8 #D8777E
split-complementary
#AFD877 #777ED8 #D177D8
monochromatic
#73A52F #93CA47 #AFD877 #CBE6A7 #E7F3D6

Accessibility & contrast

On white

1.63
#AFD877 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.91
#AFD877 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD877
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD877#FFFFFF#000000##000000
##AFD8771.001.6312.9112.91
#FFFFFF1.631.0021.0021.00
#00000012.9121.001.001.00
##00000012.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CD6F
Deuteranopia (green-blind)
#DBCA7C
Tritanopia (blue-blind)
#B3D0C1
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #afd877;
/* rgb */ color: rgb(175, 216, 119);
/* oklch */ color: oklch(83.1% 0.133 127.8);
Tailwind
colors: {
  custom: {
    50: '#c8e4a0',
    500: '#afd877',
    950: '#000000',
  },
}
SCSS
$custom: #afd877;
$custom-light: #c8e4a0;
$custom-dark: #000000;
JSON
{
  "hex": "#afd877",
  "rgb": {
    "r": 175,
    "g": 216,
    "b": 119
  },
  "hsl": {
    "h": 85.361,
    "s": 55.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.83115,
    "c": 0.13263,
    "h": 127.8
  },
  "luminance": 0.59558
}

Semantic roles & 50–950 ramp

primary
#AFD877
secondary
#724AA9
accent
#23C366
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150F
muted
#838480

Preview Lab

Preview with #AFD877

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

Preview Lab → · Contrast checker → · Palette generator →

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