#AFCD32#AFCD32

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

Color values

HEX#AFCD32
RGBrgb(175, 205, 50)
HSLhsl(72, 61%, 50%)
HSVhsv(72, 76%, 80%)
CMYKcmyk(14.6%, 0%, 75.6%, 19.6%)
CIE-LABlab(77.88, -29.69, 68.33)
CIE-LCHlch(77.88, 74.50, 113.48°)
OKLaboklab(79.92% -0.0881 0.1506)
OKLCHoklch(79.92% 0.174 120.3)
XYZxyz(40.0870, 53.0070, 11.1365)
Luminance0.5301 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCD32 #5032CD
analogous
#CD9E32 #AFCD32 #61CD32
triadic
#AFCD32 #32AFCD #CD32AF
tetradic
#AFCD32 #32CD9E #5032CD #CD3261
square
#AFCD32 #32CD9E #5032CD #CD3261
split-complementary
#AFCD32 #3261CD #9E32CD
monochromatic
#5B6B1A #859C26 #AFCD32 #C2D963 #D5E594

Accessibility & contrast

On white

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

On black

11.60
#AFCD32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCD32
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCD32#FFFFFF#000000##000000
##AFCD321.001.8111.6011.60
#FFFFFF1.811.0021.0021.00
#00000011.6021.001.001.00
##00000011.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afcd32;
/* rgb */ color: rgb(175, 205, 50);
/* oklch */ color: oklch(79.9% 0.174 120.3);
Tailwind
colors: {
  custom: {
    50: '#cbdc76',
    500: '#afcd32',
    950: '#000000',
  },
}
SCSS
$custom: #afcd32;
$custom-light: #cbdc76;
$custom-dark: #000000;
JSON
{
  "hex": "#afcd32",
  "rgb": {
    "r": 175,
    "g": 205,
    "b": 50
  },
  "hsl": {
    "h": 71.613,
    "s": 60.784,
    "l": 50
  },
  "oklch": {
    "l": 0.79918,
    "c": 0.17444,
    "h": 120.3
  },
  "luminance": 0.53007
}

Semantic roles & 50–950 ramp

primary
#AFCD32
secondary
#3C2F74
accent
#44E463
background
#FEFEFB
surface
#FBFCF1
border
#D4D5CB
text
#141509
muted
#83847D

Preview Lab

Preview with #AFCD32

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

Preview Lab → · Contrast checker → · Palette generator →

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