#AFCD71#AFCD71

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

Color values

HEX#AFCD71
RGBrgb(175, 205, 113)
HSLhsl(80, 48%, 62%)
HSVhsv(80, 45%, 80%)
CMYKcmyk(14.6%, 0%, 44.9%, 19.6%)
CIE-LABlab(78.44, -24.77, 42.36)
CIE-LCHlch(78.44, 49.07, 120.31°)
OKLaboklab(80.55% -0.0688 0.1023)
OKLCHoklch(80.55% 0.123 123.9)
XYZxyz(42.4911, 53.9687, 23.7980)
Luminance0.5397 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCD71 #8F71CD
analogous
#CDBD71 #AFCD71 #81CD71
triadic
#AFCD71 #71AFCD #CD71AF
tetradic
#AFCD71 #71CDBD #8F71CD #CD7181
square
#AFCD71 #71CDBD #8F71CD #CD7181
split-complementary
#AFCD71 #7181CD #BD71CD
monochromatic
#729133 #96BD44 #AFCD71 #C9DD9E #E2EDCC

Accessibility & contrast

On white

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

On black

11.79
#AFCD71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCD71
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCD71#FFFFFF#000000##000000
##AFCD711.001.7811.7911.79
#FFFFFF1.781.0021.0021.00
#00000011.7921.001.001.00
##00000011.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afcd71;
/* rgb */ color: rgb(175, 205, 113);
/* oklch */ color: oklch(80.6% 0.123 123.9);
Tailwind
colors: {
  custom: {
    50: '#c8dc9b',
    500: '#afcd71',
    950: '#000000',
  },
}
SCSS
$custom: #afcd71;
$custom-light: #c8dc9b;
$custom-dark: #000000;
JSON
{
  "hex": "#afcd71",
  "rgb": {
    "r": 175,
    "g": 205,
    "b": 113
  },
  "hsl": {
    "h": 79.565,
    "s": 47.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.80554,
    "c": 0.12329,
    "h": 123.9
  },
  "luminance": 0.53969
}

Semantic roles & 50–950 ramp

primary
#AFCD71
secondary
#644B97
accent
#2ABB5A
background
#FDFEFC
surface
#F9FCF5
border
#D2D5CF
text
#13150E
muted
#82847F

Preview Lab

Preview with #AFCD71

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

Preview Lab → · Contrast checker → · Palette generator →

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