#AFC577#AFC577

#AFC577 is a light, moderate yellow-green. Relative luminance 0.504; OKLCH L 78.9% C 0.105 H 121.7°. Best body text is #000000 at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#AFC577
RGBrgb(175, 197, 119)
HSLhsl(77, 40%, 62%)
HSVhsv(77, 40%, 77%)
CMYKcmyk(11.2%, 0%, 39.6%, 22.7%)
CIE-LABlab(76.30, -20.13, 36.65)
CIE-LCHlch(76.30, 41.81, 118.78°)
OKLaboklab(78.86% -0.0554 0.0897)
OKLCHoklch(78.86% 0.105 121.7)
XYZxyz(40.9752, 50.3784, 25.0145)
Luminance0.5038 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC577 #8D77C5
analogous
#C5B477 #AFC577 #88C577
triadic
#AFC577 #77AFC5 #C577AF
tetradic
#AFC577 #77C5B4 #8D77C5 #C57788
square
#AFC577 #77C5B4 #8D77C5 #C57788
split-complementary
#AFC577 #7788C5 #B477C5
monochromatic
#72883A #96B34C #AFC577 #C8D7A2 #E1EACD

Accessibility & contrast

On white

1.90
#AFC577 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.08
#AFC577 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC577
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC577#FFFFFF#000000##000000
##AFC5771.001.9011.0811.08
#FFFFFF1.901.0021.0021.00
#00000011.0821.001.001.00
##00000011.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBD71
Deuteranopia (green-blind)
#CBBC7B
Tritanopia (blue-blind)
#B5BEB2
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #afc577;
/* rgb */ color: rgb(175, 197, 119);
/* oklch */ color: oklch(78.9% 0.105 121.7);
Tailwind
colors: {
  custom: {
    50: '#c8d69f',
    500: '#afc577',
    950: '#000000',
  },
}
SCSS
$custom: #afc577;
$custom-light: #c8d69f;
$custom-dark: #000000;
JSON
{
  "hex": "#afc577",
  "rgb": {
    "r": 175,
    "g": 197,
    "b": 119
  },
  "hsl": {
    "h": 76.923,
    "s": 40.206,
    "l": 61.961
  },
  "oklch": {
    "l": 0.78864,
    "c": 0.10539,
    "h": 121.7
  },
  "luminance": 0.50378
}

Semantic roles & 50–950 ramp

primary
#AFC577
secondary
#625190
accent
#32B357
background
#FDFEFC
surface
#F9FBF5
border
#D2D4CF
text
#13140E
muted
#82837F

Preview Lab

Preview with #AFC577

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

Preview Lab → · Contrast checker → · Palette generator →

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