#AFCC5D#AFCC5D

#AFCC5D is a light, vivid yellow-green. Relative luminance 0.531; OKLCH L 80.1% C 0.142 H 121.9°. Best body text is #000000 at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#AFCC5D
RGBrgb(175, 204, 93)
HSLhsl(76, 52%, 58%)
HSVhsv(76, 54%, 80%)
CMYKcmyk(14.2%, 0%, 54.4%, 20%)
CIE-LABlab(77.93, -26.31, 51.32)
CIE-LCHlch(77.93, 57.67, 117.15°)
OKLaboklab(80.06% -0.0748 0.1204)
OKLCHoklch(80.06% 0.142 121.9)
XYZxyz(41.2481, 53.0900, 18.4282)
Luminance0.5309 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCC5D #7A5DCC
analogous
#CCB25D #AFCC5D #77CC5D
triadic
#AFCC5D #5DAFCC #CC5DAF
tetradic
#AFCC5D #5DCCB2 #7A5DCC #CC5D77
square
#AFCC5D #5DCCB2 #7A5DCC #CC5D77
split-complementary
#AFCC5D #5D77CC #B25DCC
monochromatic
#6D852A #93B338 #AFCC5D #C6DB8C #DDE9BA

Accessibility & contrast

On white

1.81
#AFCC5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.62
#AFCC5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCC5D
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCC5D#FFFFFF#000000##000000
##AFCC5D1.001.8111.6211.62
#FFFFFF1.811.0021.0021.00
#00000011.6221.001.001.00
##00000011.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C152
Deuteranopia (green-blind)
#D3C164
Tritanopia (blue-blind)
#B7C3B3
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #afcc5d;
/* rgb */ color: rgb(175, 204, 93);
/* oklch */ color: oklch(80.1% 0.142 121.9);
Tailwind
colors: {
  custom: {
    50: '#c9db8e',
    500: '#afcc5d',
    950: '#000000',
  },
}
SCSS
$custom: #afcc5d;
$custom-light: #c9db8e;
$custom-dark: #000000;
JSON
{
  "hex": "#afcc5d",
  "rgb": {
    "r": 175,
    "g": 204,
    "b": 93
  },
  "hsl": {
    "h": 75.676,
    "s": 52.113,
    "l": 58.235
  },
  "oklch": {
    "l": 0.80063,
    "c": 0.14177,
    "h": 121.9
  },
  "luminance": 0.5309
}

Semantic roles & 50–950 ramp

primary
#AFCC5D
secondary
#55418C
accent
#4CDC72
background
#FEFEFC
surface
#FAFBF4
border
#D3D4CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFCC5D

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

Preview Lab → · Contrast checker → · Palette generator →

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