#AFC472#AFC472

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

Color values

HEX#AFC472
RGBrgb(175, 196, 114)
HSLhsl(75, 41%, 61%)
HSVhsv(75, 42%, 77%)
CMYKcmyk(10.7%, 0%, 41.8%, 23.1%)
CIE-LABlab(75.95, -20.23, 38.74)
CIE-LCHlch(75.95, 43.70, 117.57°)
OKLaboklab(78.56% -0.056 0.0942)
OKLCHoklch(78.56% 0.11 120.7)
XYZxyz(40.4564, 49.8088, 23.3991)
Luminance0.4981 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC472 #8772C4
analogous
#C4B072 #AFC472 #86C472
triadic
#AFC472 #72AFC4 #C472AF
tetradic
#AFC472 #72C4B0 #8772C4 #C47286
square
#AFC472 #72C4B0 #8772C4 #C47286
split-complementary
#AFC472 #7286C4 #B072C4
monochromatic
#718437 #95AF49 #AFC472 #C7D69D #E0E8C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFC472#FFFFFF#000000##000000
##AFC4721.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)
#CDBB6C
Deuteranopia (green-blind)
#CBBB76
Tritanopia (blue-blind)
#B6BCB0
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #afc472;
/* rgb */ color: rgb(175, 196, 114);
/* oklch */ color: oklch(78.6% 0.110 120.7);
Tailwind
colors: {
  custom: {
    50: '#c8d59c',
    500: '#afc472',
    950: '#000000',
  },
}
SCSS
$custom: #afc472;
$custom-light: #c8d59c;
$custom-dark: #000000;
JSON
{
  "hex": "#afc472",
  "rgb": {
    "r": 175,
    "g": 196,
    "b": 114
  },
  "hsl": {
    "h": 75.366,
    "s": 41,
    "l": 60.784
  },
  "oklch": {
    "l": 0.78561,
    "c": 0.10957,
    "h": 120.7
  },
  "luminance": 0.49809
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFC472

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

Preview Lab → · Contrast checker → · Palette generator →

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