#AFCD4C#AFCD4C

#AFCD4C is a light, vivid yellow-green. Relative luminance 0.533; OKLCH L 80.1% C 0.158 H 121.2°. Best body text is #000000 at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#AFCD4C
RGBrgb(175, 205, 76)
HSLhsl(74, 56%, 55%)
HSVhsv(74, 63%, 80%)
CMYKcmyk(14.6%, 0%, 62.9%, 19.6%)
CIE-LABlab(78.05, -28.17, 58.92)
CIE-LCHlch(78.05, 65.31, 115.55°)
OKLaboklab(80.11% -0.0816 0.1347)
OKLCHoklch(80.11% 0.158 121.2)
XYZxyz(40.8155, 53.2984, 14.9735)
Luminance0.5330 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCD4C #6A4CCD
analogous
#CDAA4C #AFCD4C #6FCD4C
triadic
#AFCD4C #4CAFCD #CD4CAF
tetradic
#AFCD4C #4CCDAA #6A4CCD #CD4C6F
square
#AFCD4C #4CCDAA #6A4CCD #CD4C6F
split-complementary
#AFCD4C #4C6FCD #AA4CCD
monochromatic
#677C23 #8FAC30 #AFCD4C #C4DA7C #DAE8AC

Accessibility & contrast

On white

1.80
#AFCD4C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.66
#AFCD4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCD4C
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCD4C#FFFFFF#000000##000000
##AFCD4C1.001.8011.6611.66
#FFFFFF1.801.0021.0021.00
#00000011.6621.001.001.00
##00000011.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C13C
Deuteranopia (green-blind)
#D5C155
Tritanopia (blue-blind)
#B8C3B2
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #afcd4c;
/* rgb */ color: rgb(175, 205, 76);
/* oklch */ color: oklch(80.1% 0.158 121.2);
Tailwind
colors: {
  custom: {
    50: '#cadc84',
    500: '#afcd4c',
    950: '#000000',
  },
}
SCSS
$custom: #afcd4c;
$custom-light: #cadc84;
$custom-dark: #000000;
JSON
{
  "hex": "#afcd4c",
  "rgb": {
    "r": 175,
    "g": 205,
    "b": 76
  },
  "hsl": {
    "h": 73.953,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.80111,
    "c": 0.1575,
    "h": 121.2
  },
  "luminance": 0.53298
}

Semantic roles & 50–950 ramp

primary
#AFCD4C
secondary
#4B3984
accent
#48E06B
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFCD4C

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

Preview Lab → · Contrast checker → · Palette generator →

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