#AFC471#AFC471

#AFC471 is a light, moderate yellow-green. Relative luminance 0.498; OKLCH L 78.5% C 0.111 H 120.6°. Best body text is #000000 at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#AFC471
RGBrgb(175, 196, 113)
HSLhsl(75, 41%, 61%)
HSVhsv(75, 42%, 77%)
CMYKcmyk(10.7%, 0%, 42.3%, 23.1%)
CIE-LABlab(75.94, -20.34, 39.23)
CIE-LCHlch(75.94, 44.19, 117.41°)
OKLaboklab(78.55% -0.0564 0.0952)
OKLCHoklch(78.55% 0.111 120.6)
XYZxyz(40.3998, 49.7861, 23.1009)
Luminance0.4979 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC471 #8671C4
analogous
#C4B071 #AFC471 #85C471
triadic
#AFC471 #71AFC4 #C471AF
tetradic
#AFC471 #71C4B0 #8671C4 #C47185
square
#AFC471 #71C4B0 #8671C4 #C47185
split-complementary
#AFC471 #7185C4 #B071C4
monochromatic
#708437 #95AF49 #AFC471 #C7D69C #E0E8C7

Accessibility & contrast

On white

1.92
#AFC471 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.96
#AFC471 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC471
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC471#FFFFFF#000000##000000
##AFC4711.001.9210.9610.96
#FFFFFF1.921.0021.0021.00
#00000010.9621.001.001.00
##00000010.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBB6A
Deuteranopia (green-blind)
#CBBB75
Tritanopia (blue-blind)
#B6BCB0
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #afc471;
/* rgb */ color: rgb(175, 196, 113);
/* oklch */ color: oklch(78.5% 0.111 120.6);
Tailwind
colors: {
  custom: {
    50: '#c8d59b',
    500: '#afc471',
    950: '#000000',
  },
}
SCSS
$custom: #afc471;
$custom-light: #c8d59b;
$custom-dark: #000000;
JSON
{
  "hex": "#afc471",
  "rgb": {
    "r": 175,
    "g": 196,
    "b": 113
  },
  "hsl": {
    "h": 75.181,
    "s": 41.294,
    "l": 60.588
  },
  "oklch": {
    "l": 0.78545,
    "c": 0.11067,
    "h": 120.6
  },
  "luminance": 0.49786
}

Semantic roles & 50–950 ramp

primary
#AFC471
secondary
#C1B9D8
accent
#31B452
background
#FCFDF9
surface
#F8FAF2
border
#D1D3CC
text
#13140E
muted
#82837E

Preview Lab

Preview with #AFC471

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

Preview Lab → · Contrast checker → · Palette generator →

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