#AFCC4C#AFCC4C

#AFCC4C is a light, vivid yellow-green. Relative luminance 0.528; OKLCH L 79.9% C 0.156 H 120.9°. Best body text is #000000 at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#AFCC4C
RGBrgb(175, 204, 76)
HSLhsl(74, 56%, 55%)
HSVhsv(74, 63%, 80%)
CMYKcmyk(14.2%, 0%, 62.7%, 20%)
CIE-LABlab(77.77, -27.69, 58.62)
CIE-LCHlch(77.77, 64.83, 115.28°)
OKLaboklab(79.88% -0.0803 0.1341)
OKLCHoklch(79.88% 0.156 120.9)
XYZxyz(40.5771, 52.8216, 14.8940)
Luminance0.5282 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCC4C #694CCC
analogous
#CCA94C #AFCC4C #6FCC4C
triadic
#AFCC4C #4CAFCC #CC4CAF
tetradic
#AFCC4C #4CCCA9 #694CCC #CC4C6F
square
#AFCC4C #4CCCA9 #694CCC #CC4C6F
split-complementary
#AFCC4C #4C6FCC #A94CCC
monochromatic
#677B23 #8FAA31 #AFCC4C #C4DA7C #DAE7AB

Accessibility & contrast

On white

1.82
#AFCC4C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.56
#AFCC4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCC4C
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCC4C#FFFFFF#000000##000000
##AFCC4C1.001.8211.5611.56
#FFFFFF1.821.0021.0021.00
#00000011.5621.001.001.00
##00000011.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C13C
Deuteranopia (green-blind)
#D4C055
Tritanopia (blue-blind)
#B8C2B1
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #afcc4c;
/* rgb */ color: rgb(175, 204, 76);
/* oklch */ color: oklch(79.9% 0.156 120.9);
Tailwind
colors: {
  custom: {
    50: '#cadb84',
    500: '#afcc4c',
    950: '#000000',
  },
}
SCSS
$custom: #afcc4c;
$custom-light: #cadb84;
$custom-dark: #000000;
JSON
{
  "hex": "#afcc4c",
  "rgb": {
    "r": 175,
    "g": 204,
    "b": 76
  },
  "hsl": {
    "h": 73.594,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.79885,
    "c": 0.15627,
    "h": 120.9
  },
  "luminance": 0.52821
}

Semantic roles & 50–950 ramp

primary
#AFCC4C
secondary
#4A3983
accent
#49DF6B
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFCC4C

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

Preview Lab → · Contrast checker → · Palette generator →

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