#AFC558#AFC558

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

Color values

HEX#AFC558
RGBrgb(175, 197, 88)
HSLhsl(72, 48%, 56%)
HSVhsv(72, 55%, 77%)
CMYKcmyk(11.2%, 0%, 55.3%, 22.7%)
CIE-LABlab(75.92, -23.36, 51.30)
CIE-LCHlch(75.92, 56.36, 114.48°)
OKLaboklab(78.43% -0.067 0.1199)
OKLCHoklch(78.43% 0.137 119.2)
XYZxyz(39.4074, 49.7513, 16.7576)
Luminance0.4975 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC558 #6E58C5
analogous
#C5A458 #AFC558 #78C558
triadic
#AFC558 #58AFC5 #C558AF
tetradic
#AFC558 #58C5A4 #6E58C5 #C55878
square
#AFC558 #58C5A4 #6E58C5 #C55878
split-complementary
#AFC558 #5878C5 #A458C5
monochromatic
#69792A #90A63A #AFC558 #C5D585 #DBE5B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFC558#FFFFFF#000000##000000
##AFC5581.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)
#D0BB4D
Deuteranopia (green-blind)
#CEBC5F
Tritanopia (blue-blind)
#B8BCAD
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #afc558;
/* rgb */ color: rgb(175, 197, 88);
/* oklch */ color: oklch(78.4% 0.137 119.2);
Tailwind
colors: {
  custom: {
    50: '#c9d68b',
    500: '#afc558',
    950: '#000000',
  },
}
SCSS
$custom: #afc558;
$custom-light: #c9d68b;
$custom-dark: #000000;
JSON
{
  "hex": "#afc558",
  "rgb": {
    "r": 175,
    "g": 197,
    "b": 88
  },
  "hsl": {
    "h": 72.11,
    "s": 48.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.78431,
    "c": 0.13733,
    "h": 119.2
  },
  "luminance": 0.49751
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFC558

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

Preview Lab → · Contrast checker → · Palette generator →

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