#AFCD52#AFCD52

#AFCD52 is a light, vivid yellow-green. Relative luminance 0.534; OKLCH L 80.2% C 0.153 H 121.5°. Best body text is #000000 at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#AFCD52
RGBrgb(175, 205, 82)
HSLhsl(75, 55%, 56%)
HSVhsv(75, 60%, 80%)
CMYKcmyk(14.6%, 0%, 60%, 19.6%)
CIE-LABlab(78.10, -27.72, 56.43)
CIE-LCHlch(78.10, 62.87, 116.16°)
OKLaboklab(80.17% -0.0798 0.1302)
OKLCHoklch(80.17% 0.153 121.5)
XYZxyz(41.0339, 53.3858, 16.1238)
Luminance0.5339 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCD52 #7052CD
analogous
#CDAE52 #AFCD52 #72CD52
triadic
#AFCD52 #52AFCD #CD52AF
tetradic
#AFCD52 #52CDAE #7052CD #CD5272
square
#AFCD52 #52CDAE #7052CD #CD5272
split-complementary
#AFCD52 #5272CD #AE52CD
monochromatic
#6A8025 #91AF33 #AFCD52 #C5DB81 #DBE8B1

Accessibility & contrast

On white

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

On black

11.68
#AFCD52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCD52
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCD52#FFFFFF#000000##000000
##AFCD521.001.8011.6811.68
#FFFFFF1.801.0021.0021.00
#00000011.6821.001.001.00
##00000011.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C244
Deuteranopia (green-blind)
#D5C15A
Tritanopia (blue-blind)
#B7C3B3
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #afcd52;
/* rgb */ color: rgb(175, 205, 82);
/* oklch */ color: oklch(80.2% 0.153 121.5);
Tailwind
colors: {
  custom: {
    50: '#c9dc87',
    500: '#afcd52',
    950: '#000000',
  },
}
SCSS
$custom: #afcd52;
$custom-light: #c9dc87;
$custom-dark: #000000;
JSON
{
  "hex": "#afcd52",
  "rgb": {
    "r": 175,
    "g": 205,
    "b": 82
  },
  "hsl": {
    "h": 74.634,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.80169,
    "c": 0.1527,
    "h": 121.5
  },
  "luminance": 0.53386
}

Semantic roles & 50–950 ramp

primary
#AFCD52
secondary
#4E3C87
accent
#49DE6E
background
#FEFEFC
surface
#FBFCF3
border
#D4D5CD
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFCD52

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

Preview Lab → · Contrast checker → · Palette generator →

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