#AFD175#AFD175

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

Color values

HEX#AFD175
RGBrgb(175, 209, 117)
HSLhsl(82, 50%, 64%)
HSVhsv(82, 44%, 82%)
CMYKcmyk(16.3%, 0%, 44%, 18%)
CIE-LABlab(79.61, -26.25, 41.84)
CIE-LCHlch(79.61, 49.39, 122.10°)
OKLaboklab(81.51% -0.0727 0.1014)
OKLCHoklch(81.51% 0.125 125.7)
XYZxyz(43.6903, 55.9989, 25.3333)
Luminance0.5600 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD175 #9775D1
analogous
#D1C575 #AFD175 #81D175
triadic
#AFD175 #75AFD1 #D175AF
tetradic
#AFD175 #75D1C5 #9775D1 #D17581
square
#AFD175 #75D1C5 #9775D1 #D17581
split-complementary
#AFD175 #7581D1 #C575D1
monochromatic
#739933 #94C247 #AFD175 #CAE0A3 #E4F0D1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFD175#FFFFFF#000000##000000
##AFD1751.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)
#DAC76E
Deuteranopia (green-blind)
#D5C57A
Tritanopia (blue-blind)
#B4C9BB
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #afd175;
/* rgb */ color: rgb(175, 209, 117);
/* oklch */ color: oklch(81.5% 0.125 125.7);
Tailwind
colors: {
  custom: {
    50: '#c8df9e',
    500: '#afd175',
    950: '#000000',
  },
}
SCSS
$custom: #afd175;
$custom-light: #c8df9e;
$custom-dark: #000000;
JSON
{
  "hex": "#afd175",
  "rgb": {
    "r": 175,
    "g": 209,
    "b": 117
  },
  "hsl": {
    "h": 82.174,
    "s": 50,
    "l": 63.922
  },
  "oklch": {
    "l": 0.81511,
    "c": 0.12473,
    "h": 125.7
  },
  "luminance": 0.55999
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFD175

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

Preview Lab → · Contrast checker → · Palette generator →

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