#AFCD4D#AFCD4D

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

Color values

HEX#AFCD4D
RGBrgb(175, 205, 77)
HSLhsl(74, 56%, 55%)
HSVhsv(74, 62%, 80%)
CMYKcmyk(14.6%, 0%, 62.4%, 19.6%)
CIE-LABlab(78.06, -28.10, 58.52)
CIE-LCHlch(78.06, 64.91, 115.65°)
OKLaboklab(80.12% -0.0813 0.134)
OKLCHoklch(80.12% 0.157 121.3)
XYZxyz(40.8506, 53.3124, 15.1580)
Luminance0.5331 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCD4D #6B4DCD
analogous
#CDAB4D #AFCD4D #6FCD4D
triadic
#AFCD4D #4DAFCD #CD4DAF
tetradic
#AFCD4D #4DCDAB #6B4DCD #CD4D6F
square
#AFCD4D #4DCDAB #6B4DCD #CD4D6F
split-complementary
#AFCD4D #4D6FCD #AB4DCD
monochromatic
#687D23 #8FAC30 #AFCD4D #C4DA7D #DAE8AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFCD4D#FFFFFF#000000##000000
##AFCD4D1.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)
#D9C23D
Deuteranopia (green-blind)
#D5C156
Tritanopia (blue-blind)
#B8C3B2
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #afcd4d;
/* rgb */ color: rgb(175, 205, 77);
/* oklch */ color: oklch(80.1% 0.157 121.3);
Tailwind
colors: {
  custom: {
    50: '#cadc84',
    500: '#afcd4d',
    950: '#000000',
  },
}
SCSS
$custom: #afcd4d;
$custom-light: #cadc84;
$custom-dark: #000000;
JSON
{
  "hex": "#afcd4d",
  "rgb": {
    "r": 175,
    "g": 205,
    "b": 77
  },
  "hsl": {
    "h": 74.063,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.80121,
    "c": 0.15672,
    "h": 121.3
  },
  "luminance": 0.53312
}

Semantic roles & 50–950 ramp

primary
#AFCD4D
secondary
#4B3A84
accent
#48DF6C
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFCD4D

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

Preview Lab → · Contrast checker → · Palette generator →

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