#AFD174#AFD174

#AFD174 is a light, vivid yellow-green. Relative luminance 0.560; OKLCH L 81.5% C 0.126 H 125.5°. Best body text is #000000 at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#AFD174
RGBrgb(175, 209, 116)
HSLhsl(82, 50%, 64%)
HSVhsv(82, 44%, 82%)
CMYKcmyk(16.3%, 0%, 44.5%, 18%)
CIE-LABlab(79.60, -26.36, 42.32)
CIE-LCHlch(79.60, 49.86, 121.92°)
OKLaboklab(81.5% -0.0731 0.1024)
OKLCHoklch(81.5% 0.126 125.5)
XYZxyz(43.6318, 55.9755, 25.0253)
Luminance0.5598 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD174 #9674D1
analogous
#D1C474 #AFD174 #80D174
triadic
#AFD174 #74AFD1 #D174AF
tetradic
#AFD174 #74D1C4 #9674D1 #D17480
square
#AFD174 #74D1C4 #9674D1 #D17480
split-complementary
#AFD174 #7480D1 #C474D1
monochromatic
#739832 #95C246 #AFD174 #C9E0A2 #E4EFD0

Accessibility & contrast

On white

1.72
#AFD174 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.20
#AFD174 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD174
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD174#FFFFFF#000000##000000
##AFD1741.001.7212.2012.20
#FFFFFF1.721.0021.0021.00
#00000012.2021.001.001.00
##00000012.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC66C
Deuteranopia (green-blind)
#D5C579
Tritanopia (blue-blind)
#B4C9BB
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #afd174;
/* rgb */ color: rgb(175, 209, 116);
/* oklch */ color: oklch(81.5% 0.126 125.5);
Tailwind
colors: {
  custom: {
    50: '#c8df9d',
    500: '#afd174',
    950: '#000000',
  },
}
SCSS
$custom: #afd174;
$custom-light: #c8df9d;
$custom-dark: #000000;
JSON
{
  "hex": "#afd174",
  "rgb": {
    "r": 175,
    "g": 209,
    "b": 116
  },
  "hsl": {
    "h": 81.935,
    "s": 50.27,
    "l": 63.725
  },
  "oklch": {
    "l": 0.81496,
    "c": 0.12578,
    "h": 125.5
  },
  "luminance": 0.55976
}

Semantic roles & 50–950 ramp

primary
#AFD174
secondary
#6A4C9E
accent
#28BE5F
background
#FDFEFC
surface
#F9FCF5
border
#D2D5CF
text
#13150E
muted
#82847F

Preview Lab

Preview with #AFD174

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

Preview Lab → · Contrast checker → · Palette generator →

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