#AFCD56#AFCD56

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

Color values

HEX#AFCD56
RGBrgb(175, 205, 86)
HSLhsl(75, 54%, 57%)
HSVhsv(75, 58%, 80%)
CMYKcmyk(14.6%, 0%, 58%, 19.6%)
CIE-LABlab(78.14, -27.40, 54.72)
CIE-LCHlch(78.14, 61.20, 116.59°)
OKLaboklab(80.21% -0.0785 0.127)
OKLCHoklch(80.21% 0.149 121.7)
XYZxyz(41.1906, 53.4485, 16.9489)
Luminance0.5345 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCD56 #7456CD
analogous
#CDB056 #AFCD56 #74CD56
triadic
#AFCD56 #56AFCD #CD56AF
tetradic
#AFCD56 #56CDB0 #7456CD #CD5674
square
#AFCD56 #56CDB0 #7456CD #CD5674
split-complementary
#AFCD56 #5674CD #B056CD
monochromatic
#6B8226 #92B134 #AFCD56 #C5DB85 #DCE9B4

Accessibility & contrast

On white

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

On black

11.69
#AFCD56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCD56
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCD56#FFFFFF#000000##000000
##AFCD561.001.8011.6911.69
#FFFFFF1.801.0021.0021.00
#00000011.6921.001.001.00
##00000011.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afcd56;
/* rgb */ color: rgb(175, 205, 86);
/* oklch */ color: oklch(80.2% 0.149 121.7);
Tailwind
colors: {
  custom: {
    50: '#c9dc8a',
    500: '#afcd56',
    950: '#000000',
  },
}
SCSS
$custom: #afcd56;
$custom-light: #c9dc8a;
$custom-dark: #000000;
JSON
{
  "hex": "#afcd56",
  "rgb": {
    "r": 175,
    "g": 205,
    "b": 86
  },
  "hsl": {
    "h": 75.126,
    "s": 54.338,
    "l": 57.059
  },
  "oklch": {
    "l": 0.80211,
    "c": 0.14932,
    "h": 121.7
  },
  "luminance": 0.53448
}

Semantic roles & 50–950 ramp

primary
#AFCD56
secondary
#513E89
accent
#4ADE6F
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFCD56

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

Preview Lab → · Contrast checker → · Palette generator →

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