#AFCD3C#AFCD3C

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

Color values

HEX#AFCD3C
RGBrgb(175, 205, 60)
HSLhsl(72, 59%, 52%)
HSVhsv(72, 71%, 80%)
CMYKcmyk(14.6%, 0%, 70.7%, 19.6%)
CIE-LABlab(77.94, -29.18, 65.02)
CIE-LCHlch(77.94, 71.27, 114.17°)
OKLaboklab(79.98% -0.0859 0.1452)
OKLCHoklch(79.98% 0.169 120.6)
XYZxyz(40.3268, 53.1029, 12.3995)
Luminance0.5310 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCD3C #5A3CCD
analogous
#CDA33C #AFCD3C #67CD3C
triadic
#AFCD3C #3CAFCD #CD3CAF
tetradic
#AFCD3C #3CCDA3 #5A3CCD #CD3C67
square
#AFCD3C #3CCDA3 #5A3CCD #CD3C67
split-complementary
#AFCD3C #3C67CD #A33CCD
monochromatic
#60711D #89A22A #AFCD3C #C3D96D #D7E69D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFCD3C#FFFFFF#000000##000000
##AFCD3C1.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)
#DAC123
Deuteranopia (green-blind)
#D6C148
Tritanopia (blue-blind)
#B9C2B1
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #afcd3c;
/* rgb */ color: rgb(175, 205, 60);
/* oklch */ color: oklch(80.0% 0.169 120.6);
Tailwind
colors: {
  custom: {
    50: '#cadc7b',
    500: '#afcd3c',
    950: '#000000',
  },
}
SCSS
$custom: #afcd3c;
$custom-light: #cadc7b;
$custom-dark: #000000;
JSON
{
  "hex": "#afcd3c",
  "rgb": {
    "r": 175,
    "g": 205,
    "b": 60
  },
  "hsl": {
    "h": 72.414,
    "s": 59.184,
    "l": 51.961
  },
  "oklch": {
    "l": 0.79982,
    "c": 0.1687,
    "h": 120.6
  },
  "luminance": 0.53103
}

Semantic roles & 50–950 ramp

primary
#AFCD3C
secondary
#42337A
accent
#45E266
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #AFCD3C

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

Preview Lab → · Contrast checker → · Palette generator →

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