#AFCD50#AFCD50

#AFCD50 is a light, vivid yellow-green. Relative luminance 0.534; OKLCH L 80.1% C 0.154 H 121.4°. Best body text is #000000 at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#AFCD50
RGBrgb(175, 205, 80)
HSLhsl(74, 56%, 56%)
HSVhsv(74, 61%, 80%)
CMYKcmyk(14.6%, 0%, 61%, 19.6%)
CIE-LABlab(78.08, -27.87, 57.27)
CIE-LCHlch(78.08, 63.70, 115.95°)
OKLaboklab(80.15% -0.0804 0.1317)
OKLCHoklch(80.15% 0.154 121.4)
XYZxyz(40.9589, 53.3558, 15.7288)
Luminance0.5336 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCD50 #6E50CD
analogous
#CDAC50 #AFCD50 #70CD50
triadic
#AFCD50 #50AFCD #CD50AF
tetradic
#AFCD50 #50CDAC #6E50CD #CD5070
square
#AFCD50 #50CDAC #6E50CD #CD5070
split-complementary
#AFCD50 #5070CD #AC50CD
monochromatic
#697E24 #90AE32 #AFCD50 #C5DB80 #DBE8AF

Accessibility & contrast

On white

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

On black

11.67
#AFCD50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCD50
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCD50#FFFFFF#000000##000000
##AFCD501.001.8011.6711.67
#FFFFFF1.801.0021.0021.00
#00000011.6721.001.001.00
##00000011.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C241
Deuteranopia (green-blind)
#D5C159
Tritanopia (blue-blind)
#B8C3B3
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #afcd50;
/* rgb */ color: rgb(175, 205, 80);
/* oklch */ color: oklch(80.1% 0.154 121.4);
Tailwind
colors: {
  custom: {
    50: '#c9dc86',
    500: '#afcd50',
    950: '#000000',
  },
}
SCSS
$custom: #afcd50;
$custom-light: #c9dc86;
$custom-dark: #000000;
JSON
{
  "hex": "#afcd50",
  "rgb": {
    "r": 175,
    "g": 205,
    "b": 80
  },
  "hsl": {
    "h": 74.4,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.80149,
    "c": 0.15433,
    "h": 121.4
  },
  "luminance": 0.53356
}

Semantic roles & 50–950 ramp

primary
#AFCD50
secondary
#4D3B86
accent
#49DF6D
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#13150B
muted
#83847E

Preview Lab

Preview with #AFCD50

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

Preview Lab → · Contrast checker → · Palette generator →

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