#AFCD47#AFCD47

#AFCD47 is a light, vivid yellow-green. Relative luminance 0.532; OKLCH L 80.1% C 0.161 H 121.0°. Best body text is #000000 at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#AFCD47
RGBrgb(175, 205, 71)
HSLhsl(73, 57%, 54%)
HSVhsv(73, 65%, 80%)
CMYKcmyk(14.6%, 0%, 65.4%, 19.6%)
CIE-LABlab(78.01, -28.51, 60.92)
CIE-LCHlch(78.01, 67.26, 115.08°)
OKLaboklab(80.07% -0.083 0.1382)
OKLCHoklch(80.07% 0.161 121)
XYZxyz(40.6484, 53.2316, 14.0933)
Luminance0.5323 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCD47 #6547CD
analogous
#CDA847 #AFCD47 #6CCD47
triadic
#AFCD47 #47AFCD #CD47AF
tetradic
#AFCD47 #47CDA8 #6547CD #CD476C
square
#AFCD47 #47CDA8 #6547CD #CD476C
split-complementary
#AFCD47 #476CCD #A847CD
monochromatic
#657921 #8DA92E #AFCD47 #C4DA77 #D9E7A7

Accessibility & contrast

On white

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

On black

11.65
#AFCD47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCD47
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCD47#FFFFFF#000000##000000
##AFCD471.001.8011.6511.65
#FFFFFF1.801.0021.0021.00
#00000011.6521.001.001.00
##00000011.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C135
Deuteranopia (green-blind)
#D5C151
Tritanopia (blue-blind)
#B8C3B2
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #afcd47;
/* rgb */ color: rgb(175, 205, 71);
/* oklch */ color: oklch(80.1% 0.161 121.0);
Tailwind
colors: {
  custom: {
    50: '#cadc81',
    500: '#afcd47',
    950: '#000000',
  },
}
SCSS
$custom: #afcd47;
$custom-light: #cadc81;
$custom-dark: #000000;
JSON
{
  "hex": "#afcd47",
  "rgb": {
    "r": 175,
    "g": 205,
    "b": 71
  },
  "hsl": {
    "h": 73.433,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.80067,
    "c": 0.16126,
    "h": 121
  },
  "luminance": 0.53232
}

Semantic roles & 50–950 ramp

primary
#AFCD47
secondary
#483781
accent
#47E16A
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFCD47

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

Preview Lab → · Contrast checker → · Palette generator →

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