#AFCC72#AFCC72

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

Color values

HEX#AFCC72
RGBrgb(175, 204, 114)
HSLhsl(79, 47%, 62%)
HSVhsv(79, 44%, 80%)
CMYKcmyk(14.2%, 0%, 44.1%, 20%)
CIE-LABlab(78.18, -24.17, 41.53)
CIE-LCHlch(78.18, 48.05, 120.19°)
OKLaboklab(80.35% -0.0671 0.1005)
OKLCHoklch(80.35% 0.121 123.7)
XYZxyz(42.3092, 53.5144, 24.0167)
Luminance0.5352 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCC72 #8F72CC
analogous
#CCBC72 #AFCC72 #82CC72
triadic
#AFCC72 #72AFCC #CC72AF
tetradic
#AFCC72 #72CCBC #8F72CC #CC7282
square
#AFCC72 #72CCBC #8F72CC #CC7282
split-complementary
#AFCC72 #7282CC #BC72CC
monochromatic
#729034 #96BC45 #AFCC72 #C9DC9F #E2EDCC

Accessibility & contrast

On white

1.79
#AFCC72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFCC72#FFFFFF#000000##000000
##AFCC721.001.7911.7011.70
#FFFFFF1.791.0021.0021.00
#00000011.7021.001.001.00
##00000011.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afcc72;
/* rgb */ color: rgb(175, 204, 114);
/* oklch */ color: oklch(80.3% 0.121 123.7);
Tailwind
colors: {
  custom: {
    50: '#c8db9c',
    500: '#afcc72',
    950: '#000000',
  },
}
SCSS
$custom: #afcc72;
$custom-light: #c8db9c;
$custom-dark: #000000;
JSON
{
  "hex": "#afcc72",
  "rgb": {
    "r": 175,
    "g": 204,
    "b": 114
  },
  "hsl": {
    "h": 79.333,
    "s": 46.875,
    "l": 62.353
  },
  "oklch": {
    "l": 0.80345,
    "c": 0.12082,
    "h": 123.7
  },
  "luminance": 0.53515
}

Semantic roles & 50–950 ramp

primary
#AFCC72
secondary
#644C96
accent
#2BBA59
background
#FDFEFC
surface
#F9FBF5
border
#D2D4CF
text
#13150E
muted
#82847F

Preview Lab

Preview with #AFCC72

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

Preview Lab → · Contrast checker → · Palette generator →

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