#AFCD72#AFCD72

#AFCD72 is a light, vivid yellow-green. Relative luminance 0.540; OKLCH L 80.6% C 0.122 H 124.1°. Best body text is #000000 at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#AFCD72
RGBrgb(175, 205, 114)
HSLhsl(80, 48%, 63%)
HSVhsv(80, 44%, 80%)
CMYKcmyk(14.6%, 0%, 44.4%, 19.6%)
CIE-LABlab(78.46, -24.65, 41.88)
CIE-LCHlch(78.46, 48.60, 120.48°)
OKLaboklab(80.57% -0.0684 0.1013)
OKLCHoklch(80.57% 0.122 124.1)
XYZxyz(42.5477, 53.9913, 24.0962)
Luminance0.5399 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCD72 #9072CD
analogous
#CDBD72 #AFCD72 #82CD72
triadic
#AFCD72 #72AFCD #CD72AF
tetradic
#AFCD72 #72CDBD #9072CD #CD7282
square
#AFCD72 #72CDBD #9072CD #CD7282
split-complementary
#AFCD72 #7282CD #BD72CD
monochromatic
#729133 #95BD45 #AFCD72 #C9DD9F #E2EDCC

Accessibility & contrast

On white

1.78
#AFCD72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.80
#AFCD72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCD72
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCD72#FFFFFF#000000##000000
##AFCD721.001.7811.8011.80
#FFFFFF1.781.0021.0021.00
#00000011.8021.001.001.00
##00000011.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C36B
Deuteranopia (green-blind)
#D2C277
Tritanopia (blue-blind)
#B5C5B7
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #afcd72;
/* rgb */ color: rgb(175, 205, 114);
/* oklch */ color: oklch(80.6% 0.122 124.1);
Tailwind
colors: {
  custom: {
    50: '#c8dc9c',
    500: '#afcd72',
    950: '#000000',
  },
}
SCSS
$custom: #afcd72;
$custom-light: #c8dc9c;
$custom-dark: #000000;
JSON
{
  "hex": "#afcd72",
  "rgb": {
    "r": 175,
    "g": 205,
    "b": 114
  },
  "hsl": {
    "h": 79.78,
    "s": 47.644,
    "l": 62.549
  },
  "oklch": {
    "l": 0.80569,
    "c": 0.12223,
    "h": 124.1
  },
  "luminance": 0.53992
}

Semantic roles & 50–950 ramp

primary
#AFCD72
secondary
#654C97
accent
#2BBB5A
background
#FDFEFC
surface
#F9FCF5
border
#D2D5CF
text
#13150E
muted
#82847F

Preview Lab

Preview with #AFCD72

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

Preview Lab → · Contrast checker → · Palette generator →

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