#AFC557#AFC557

#AFC557 is a light, vivid yellow-green. Relative luminance 0.497; OKLCH L 78.4% C 0.138 H 119.1°. Best body text is #000000 at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#AFC557
RGBrgb(175, 197, 87)
HSLhsl(72, 49%, 56%)
HSVhsv(72, 56%, 77%)
CMYKcmyk(11.2%, 0%, 55.8%, 22.7%)
CIE-LABlab(75.91, -23.44, 51.74)
CIE-LCHlch(75.91, 56.81, 114.37°)
OKLaboklab(78.42% -0.0673 0.1207)
OKLCHoklch(78.42% 0.138 119.1)
XYZxyz(39.3662, 49.7348, 16.5409)
Luminance0.4974 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC557 #6D57C5
analogous
#C5A457 #AFC557 #78C557
triadic
#AFC557 #57AFC5 #C557AF
tetradic
#AFC557 #57C5A4 #6D57C5 #C55778
square
#AFC557 #57C5A4 #6D57C5 #C55778
split-complementary
#AFC557 #5778C5 #A457C5
monochromatic
#687829 #90A639 #AFC557 #C5D584 #DAE4B2

Accessibility & contrast

On white

1.92
#AFC557 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.95
#AFC557 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC557
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC557#FFFFFF#000000##000000
##AFC5571.001.9210.9510.95
#FFFFFF1.921.0021.0021.00
#00000010.9521.001.001.00
##00000010.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BB4C
Deuteranopia (green-blind)
#CEBC5E
Tritanopia (blue-blind)
#B8BCAD
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #afc557;
/* rgb */ color: rgb(175, 197, 87);
/* oklch */ color: oklch(78.4% 0.138 119.1);
Tailwind
colors: {
  custom: {
    50: '#c9d68a',
    500: '#afc557',
    950: '#000000',
  },
}
SCSS
$custom: #afc557;
$custom-light: #c9d68a;
$custom-dark: #000000;
JSON
{
  "hex": "#afc557",
  "rgb": {
    "r": 175,
    "g": 197,
    "b": 87
  },
  "hsl": {
    "h": 72,
    "s": 48.673,
    "l": 55.686
  },
  "oklch": {
    "l": 0.78419,
    "c": 0.13825,
    "h": 119.1
  },
  "luminance": 0.49735
}

Semantic roles & 50–950 ramp

primary
#AFC557
secondary
#AEA5D3
accent
#50D86B
background
#FCFDF8
surface
#F9FAF0
border
#D2D3CB
text
#13140C
muted
#82837D

Preview Lab

Preview with #AFC557

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

Preview Lab → · Contrast checker → · Palette generator →

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