#AFD575#AFD575

#AFD575 is a very light, vivid yellow-green. Relative luminance 0.580; OKLCH L 82.4% C 0.130 H 126.8°. Best body text is #000000 at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#AFD575
RGBrgb(175, 213, 117)
HSLhsl(84, 53%, 65%)
HSVhsv(84, 45%, 84%)
CMYKcmyk(17.8%, 0%, 45.1%, 16.5%)
CIE-LABlab(80.73, -28.16, 43.23)
CIE-LCHlch(80.73, 51.60, 123.08°)
OKLaboklab(82.41% -0.0781 0.1045)
OKLCHoklch(82.41% 0.13 126.8)
XYZxyz(44.6840, 57.9863, 25.6645)
Luminance0.5799 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD575 #9B75D5
analogous
#D5CB75 #AFD575 #7FD575
triadic
#AFD575 #75AFD5 #D575AF
tetradic
#AFD575 #75D5CB #9B75D5 #D5757F
square
#AFD575 #75D5CB #9B75D5 #D5757F
split-complementary
#AFD575 #757FD5 #CB75D5
monochromatic
#739F30 #94C746 #AFD575 #CAE3A4 #E5F2D3

Accessibility & contrast

On white

1.67
#AFD575 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.60
#AFD575 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD575
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD575#FFFFFF#000000##000000
##AFD5751.001.6712.6012.60
#FFFFFF1.671.0021.0021.00
#00000012.6021.001.001.00
##00000012.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECA6D
Deuteranopia (green-blind)
#D8C87A
Tritanopia (blue-blind)
#B4CDBE
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #afd575;
/* rgb */ color: rgb(175, 213, 117);
/* oklch */ color: oklch(82.4% 0.130 126.8);
Tailwind
colors: {
  custom: {
    50: '#c8e29e',
    500: '#afd575',
    950: '#000000',
  },
}
SCSS
$custom: #afd575;
$custom-light: #c8e29e;
$custom-dark: #000000;
JSON
{
  "hex": "#afd575",
  "rgb": {
    "r": 175,
    "g": 213,
    "b": 117
  },
  "hsl": {
    "h": 83.75,
    "s": 53.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.82409,
    "c": 0.13043,
    "h": 126.8
  },
  "luminance": 0.57987
}

Semantic roles & 50–950 ramp

primary
#AFD575
secondary
#6E4BA4
accent
#25C162
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150E
muted
#83847F

Preview Lab

Preview with #AFD575

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

Preview Lab → · Contrast checker → · Palette generator →

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