#AFC571#AFC571

#AFC571 is a light, moderate yellow-green. Relative luminance 0.502; OKLCH L 78.8% C 0.112 H 121.0°. Best body text is #000000 at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#AFC571
RGBrgb(175, 197, 113)
HSLhsl(76, 42%, 61%)
HSVhsv(76, 43%, 77%)
CMYKcmyk(11.2%, 0%, 42.6%, 22.7%)
CIE-LABlab(76.22, -20.84, 39.58)
CIE-LCHlch(76.22, 44.73, 117.77°)
OKLaboklab(78.77% -0.0578 0.096)
OKLCHoklch(78.77% 0.112 121)
XYZxyz(40.6261, 50.2388, 23.1764)
Luminance0.5024 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC571 #8771C5
analogous
#C5B171 #AFC571 #85C571
triadic
#AFC571 #71AFC5 #C571AF
tetradic
#AFC571 #71C5B1 #8771C5 #C57185
square
#AFC571 #71C5B1 #8771C5 #C57185
split-complementary
#AFC571 #7185C5 #B171C5
monochromatic
#718536 #95B148 #AFC571 #C7D79C #E0E8C8

Accessibility & contrast

On white

1.90
#AFC571 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.05
#AFC571 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC571
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC571#FFFFFF#000000##000000
##AFC5711.001.9011.0511.05
#FFFFFF1.901.0021.0021.00
#00000011.0521.001.001.00
##00000011.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBC6A
Deuteranopia (green-blind)
#CBBC75
Tritanopia (blue-blind)
#B6BDB1
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #afc571;
/* rgb */ color: rgb(175, 197, 113);
/* oklch */ color: oklch(78.8% 0.112 121.0);
Tailwind
colors: {
  custom: {
    50: '#c8d69b',
    500: '#afc571',
    950: '#000000',
  },
}
SCSS
$custom: #afc571;
$custom-light: #c8d69b;
$custom-dark: #000000;
JSON
{
  "hex": "#afc571",
  "rgb": {
    "r": 175,
    "g": 197,
    "b": 113
  },
  "hsl": {
    "h": 75.714,
    "s": 42,
    "l": 60.784
  },
  "oklch": {
    "l": 0.78768,
    "c": 0.11207,
    "h": 121
  },
  "luminance": 0.50239
}

Semantic roles & 50–950 ramp

primary
#AFC571
secondary
#5E4D8D
accent
#30B553
background
#FDFEFC
surface
#F9FBF5
border
#D2D4CF
text
#13140E
muted
#82837F

Preview Lab

Preview with #AFC571

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

Preview Lab → · Contrast checker → · Palette generator →

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