#AFD475#AFD475

#AFD475 is a very light, vivid yellow-green. Relative luminance 0.575; OKLCH L 82.2% C 0.129 H 126.5°. Best body text is #000000 at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#AFD475
RGBrgb(175, 212, 117)
HSLhsl(83, 52%, 65%)
HSVhsv(83, 45%, 83%)
CMYKcmyk(17.5%, 0%, 44.8%, 16.9%)
CIE-LABlab(80.45, -27.68, 42.89)
CIE-LCHlch(80.45, 51.05, 122.84°)
OKLaboklab(82.19% -0.0767 0.1037)
OKLCHoklch(82.19% 0.129 126.5)
XYZxyz(44.4333, 57.4848, 25.5809)
Luminance0.5748 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD475 #9A75D4
analogous
#D4C975 #AFD475 #80D475
triadic
#AFD475 #75AFD4 #D475AF
tetradic
#AFD475 #75D4C9 #9A75D4 #D47580
square
#AFD475 #75D4C9 #9A75D4 #D47580
split-complementary
#AFD475 #7580D4 #C975D4
monochromatic
#739E31 #94C546 #AFD475 #CAE3A4 #E5F1D2

Accessibility & contrast

On white

1.68
#AFD475 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.50
#AFD475 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD475
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD475#FFFFFF#000000##000000
##AFD4751.001.6812.5012.50
#FFFFFF1.681.0021.0021.00
#00000012.5021.001.001.00
##00000012.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC96D
Deuteranopia (green-blind)
#D8C77A
Tritanopia (blue-blind)
#B4CCBD
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #afd475;
/* rgb */ color: rgb(175, 212, 117);
/* oklch */ color: oklch(82.2% 0.129 126.5);
Tailwind
colors: {
  custom: {
    50: '#c8e19e',
    500: '#afd475',
    950: '#000000',
  },
}
SCSS
$custom: #afd475;
$custom-light: #c8e19e;
$custom-dark: #000000;
JSON
{
  "hex": "#afd475",
  "rgb": {
    "r": 175,
    "g": 212,
    "b": 117
  },
  "hsl": {
    "h": 83.368,
    "s": 52.486,
    "l": 64.51
  },
  "oklch": {
    "l": 0.82185,
    "c": 0.12901,
    "h": 126.5
  },
  "luminance": 0.57485
}

Semantic roles & 50–950 ramp

primary
#AFD475
secondary
#6D4BA2
accent
#26C062
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150E
muted
#83847F

Preview Lab

Preview with #AFD475

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

Preview Lab → · Contrast checker → · Palette generator →

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