#AFCD62#AFCD62

#AFCD62 is a light, vivid yellow-green. Relative luminance 0.537; OKLCH L 80.3% C 0.138 H 122.5°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#AFCD62
RGBrgb(175, 205, 98)
HSLhsl(77, 52%, 59%)
HSVhsv(77, 52%, 80%)
CMYKcmyk(14.6%, 0%, 52.2%, 19.6%)
CIE-LABlab(78.26, -26.33, 49.38)
CIE-LCHlch(78.26, 55.96, 118.06°)
OKLaboklab(80.35% -0.0744 0.1167)
OKLCHoklch(80.35% 0.138 122.5)
XYZxyz(41.7153, 53.6583, 19.7123)
Luminance0.5366 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCD62 #8062CD
analogous
#CDB562 #AFCD62 #7ACD62
triadic
#AFCD62 #62AFCD #CD62AF
tetradic
#AFCD62 #62CDB5 #8062CD #CD627A
square
#AFCD62 #62CDB5 #8062CD #CD627A
split-complementary
#AFCD62 #627ACD #B562CD
monochromatic
#6F892C #94B73A #AFCD62 #C7DC90 #DEEBBF

Accessibility & contrast

On white

1.79
#AFCD62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.73
#AFCD62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCD62
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCD62#FFFFFF#000000##000000
##AFCD621.001.7911.7311.73
#FFFFFF1.791.0021.0021.00
#00000011.7321.001.001.00
##00000011.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C258
Deuteranopia (green-blind)
#D4C268
Tritanopia (blue-blind)
#B6C4B5
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #afcd62;
/* rgb */ color: rgb(175, 205, 98);
/* oklch */ color: oklch(80.3% 0.138 122.5);
Tailwind
colors: {
  custom: {
    50: '#c9dc91',
    500: '#afcd62',
    950: '#000000',
  },
}
SCSS
$custom: #afcd62;
$custom-light: #c9dc91;
$custom-dark: #000000;
JSON
{
  "hex": "#afcd62",
  "rgb": {
    "r": 175,
    "g": 205,
    "b": 98
  },
  "hsl": {
    "h": 76.822,
    "s": 51.691,
    "l": 59.412
  },
  "oklch": {
    "l": 0.80349,
    "c": 0.13839,
    "h": 122.5
  },
  "luminance": 0.53658
}

Semantic roles & 50–950 ramp

primary
#AFCD62
secondary
#594390
accent
#4DDB75
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFCD62

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

Preview Lab → · Contrast checker → · Palette generator →

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