#AFCC71#AFCC71

#AFCC71 is a light, vivid yellow-green. Relative luminance 0.535; OKLCH L 80.3% C 0.122 H 123.6°. Best body text is #000000 at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#AFCC71
RGBrgb(175, 204, 113)
HSLhsl(79, 47%, 62%)
HSVhsv(79, 45%, 80%)
CMYKcmyk(14.2%, 0%, 44.6%, 20%)
CIE-LABlab(78.16, -24.28, 42.01)
CIE-LCHlch(78.16, 48.53, 120.03°)
OKLaboklab(80.33% -0.0675 0.1015)
OKLCHoklch(80.33% 0.122 123.6)
XYZxyz(42.2526, 53.4918, 23.7185)
Luminance0.5349 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCC71 #8E71CC
analogous
#CCBC71 #AFCC71 #82CC71
triadic
#AFCC71 #71AFCC #CC71AF
tetradic
#AFCC71 #71CCBC #8E71CC #CC7182
square
#AFCC71 #71CCBC #8E71CC #CC7182
split-complementary
#AFCC71 #7182CC #BC71CC
monochromatic
#728F33 #96BC44 #AFCC71 #C8DC9E #E2ECCB

Accessibility & contrast

On white

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

On black

11.70
#AFCC71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCC71
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCC71#FFFFFF#000000##000000
##AFCC711.001.8011.7011.70
#FFFFFF1.801.0021.0021.00
#00000011.7021.001.001.00
##00000011.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C26A
Deuteranopia (green-blind)
#D1C176
Tritanopia (blue-blind)
#B5C4B6
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #afcc71;
/* rgb */ color: rgb(175, 204, 113);
/* oklch */ color: oklch(80.3% 0.122 123.6);
Tailwind
colors: {
  custom: {
    50: '#c8db9b',
    500: '#afcc71',
    950: '#000000',
  },
}
SCSS
$custom: #afcc71;
$custom-light: #c8db9b;
$custom-dark: #000000;
JSON
{
  "hex": "#afcc71",
  "rgb": {
    "r": 175,
    "g": 204,
    "b": 113
  },
  "hsl": {
    "h": 79.121,
    "s": 47.15,
    "l": 62.157
  },
  "oklch": {
    "l": 0.8033,
    "c": 0.12188,
    "h": 123.6
  },
  "luminance": 0.53492
}

Semantic roles & 50–950 ramp

primary
#AFCC71
secondary
#634B96
accent
#2BBA59
background
#FDFEFC
surface
#F9FBF5
border
#D2D4CF
text
#13150E
muted
#82847F

Preview Lab

Preview with #AFCC71

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

Preview Lab → · Contrast checker → · Palette generator →

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