#AFD072#AFD072

#AFD072 is a light, vivid yellow-green. Relative luminance 0.554; OKLCH L 81.2% C 0.126 H 125.0°. Best body text is #000000 at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#AFD072
RGBrgb(175, 208, 114)
HSLhsl(81, 50%, 63%)
HSVhsv(81, 45%, 82%)
CMYKcmyk(15.9%, 0%, 45.2%, 18.4%)
CIE-LABlab(79.29, -26.11, 42.92)
CIE-LCHlch(79.29, 50.24, 121.31°)
OKLaboklab(81.24% -0.0725 0.1036)
OKLCHoklch(81.24% 0.126 125)
XYZxyz(43.2722, 55.4403, 24.3377)
Luminance0.5544 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD072 #9372D0
analogous
#D0C272 #AFD072 #80D072
triadic
#AFD072 #72AFD0 #D072AF
tetradic
#AFD072 #72D0C2 #9372D0 #D07280
square
#AFD072 #72D0C2 #9372D0 #D07280
split-complementary
#AFD072 #7280D0 #C272D0
monochromatic
#739632 #95C144 #AFD072 #C9DFA0 #E3EFCE

Accessibility & contrast

On white

1.74
#AFD072 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.09
#AFD072 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD072
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD072#FFFFFF#000000##000000
##AFD0721.001.7412.0912.09
#FFFFFF1.741.0021.0021.00
#00000012.0921.001.001.00
##00000012.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C66A
Deuteranopia (green-blind)
#D5C477
Tritanopia (blue-blind)
#B5C8BA
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #afd072;
/* rgb */ color: rgb(175, 208, 114);
/* oklch */ color: oklch(81.2% 0.126 125.0);
Tailwind
colors: {
  custom: {
    50: '#c8de9c',
    500: '#afd072',
    950: '#000000',
  },
}
SCSS
$custom: #afd072;
$custom-light: #c8de9c;
$custom-dark: #000000;
JSON
{
  "hex": "#afd072",
  "rgb": {
    "r": 175,
    "g": 208,
    "b": 114
  },
  "hsl": {
    "h": 81.064,
    "s": 50,
    "l": 63.137
  },
  "oklch": {
    "l": 0.81241,
    "c": 0.12647,
    "h": 125
  },
  "luminance": 0.55441
}

Semantic roles & 50–950 ramp

primary
#AFD072
secondary
#674B9B
accent
#28BD5D
background
#FDFEFC
surface
#F9FCF5
border
#D2D5CF
text
#13150E
muted
#82847F

Preview Lab

Preview with #AFD072

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

Preview Lab → · Contrast checker → · Palette generator →

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