#AFCD2C#AFCD2C

#AFCD2C is a light, vivid yellow-green. Relative luminance 0.530; OKLCH L 79.9% C 0.177 H 120.2°. Best body text is #000000 at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#AFCD2C
RGBrgb(175, 205, 44)
HSLhsl(71, 65%, 49%)
HSVhsv(71, 79%, 80%)
CMYKcmyk(14.6%, 0%, 78.5%, 19.6%)
CIE-LABlab(77.85, -29.94, 70.10)
CIE-LCHlch(77.85, 76.23, 113.13°)
OKLaboklab(79.89% -0.0892 0.1533)
OKLCHoklch(79.89% 0.177 120.2)
XYZxyz(39.9659, 52.9586, 10.4990)
Luminance0.5296 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCD2C #4A2CCD
analogous
#CD9B2C #AFCD2C #5FCD2C
triadic
#AFCD2C #2CAFCD #CD2CAF
tetradic
#AFCD2C #2CCD9B #4A2CCD #CD2C5F
square
#AFCD2C #2CCD9B #4A2CCD #CD2C5F
split-complementary
#AFCD2C #2C5FCD #9B2CCD
monochromatic
#596816 #849B21 #AFCD2C #C4DC5B #D6E78D

Accessibility & contrast

On white

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

On black

11.59
#AFCD2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCD2C
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCD2C#FFFFFF#000000##000000
##AFCD2C1.001.8111.5911.59
#FFFFFF1.811.0021.0021.00
#00000011.5921.001.001.00
##00000011.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC100
Deuteranopia (green-blind)
#D7C13C
Tritanopia (blue-blind)
#B9C2B0
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #afcd2c;
/* rgb */ color: rgb(175, 205, 44);
/* oklch */ color: oklch(79.9% 0.177 120.2);
Tailwind
colors: {
  custom: {
    50: '#cbdc73',
    500: '#afcd2c',
    950: '#000000',
  },
}
SCSS
$custom: #afcd2c;
$custom-light: #cbdc73;
$custom-dark: #000000;
JSON
{
  "hex": "#afcd2c",
  "rgb": {
    "r": 175,
    "g": 205,
    "b": 44
  },
  "hsl": {
    "h": 71.18,
    "s": 64.659,
    "l": 48.824
  },
  "oklch": {
    "l": 0.79886,
    "c": 0.17739,
    "h": 120.2
  },
  "luminance": 0.52958
}

Semantic roles & 50–950 ramp

primary
#AFCD2C
secondary
#382B72
accent
#40E85F
background
#FEFEFB
surface
#FBFCF1
border
#D4D5CB
text
#141509
muted
#83847D

Preview Lab

Preview with #AFCD2C

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

Preview Lab → · Contrast checker → · Palette generator →

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