#AFD474#AFD474

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

Color values

HEX#AFD474
RGBrgb(175, 212, 116)
HSLhsl(83, 53%, 64%)
HSVhsv(83, 45%, 83%)
CMYKcmyk(17.5%, 0%, 45.3%, 16.9%)
CIE-LABlab(80.44, -27.80, 43.36)
CIE-LCHlch(80.44, 51.51, 122.66°)
OKLaboklab(82.17% -0.0771 0.1047)
OKLCHoklch(82.17% 0.13 126.4)
XYZxyz(44.3748, 57.4614, 25.2729)
Luminance0.5746 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD474 #9974D4
analogous
#D4C974 #AFD474 #7FD474
triadic
#AFD474 #74AFD4 #D474AF
tetradic
#AFD474 #74D4C9 #9974D4 #D4747F
square
#AFD474 #74D4C9 #9974D4 #D4747F
split-complementary
#AFD474 #747FD4 #C974D4
monochromatic
#739D31 #94C645 #AFD474 #CAE2A3 #E5F1D1

Accessibility & contrast

On white

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

On black

12.49
#AFD474 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD474
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD474#FFFFFF#000000##000000
##AFD4741.001.6812.4912.49
#FFFFFF1.681.0021.0021.00
#00000012.4921.001.001.00
##00000012.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afd474;
/* rgb */ color: rgb(175, 212, 116);
/* oklch */ color: oklch(82.2% 0.130 126.4);
Tailwind
colors: {
  custom: {
    50: '#c8e19e',
    500: '#afd474',
    950: '#000000',
  },
}
SCSS
$custom: #afd474;
$custom-light: #c8e19e;
$custom-dark: #000000;
JSON
{
  "hex": "#afd474",
  "rgb": {
    "r": 175,
    "g": 212,
    "b": 116
  },
  "hsl": {
    "h": 83.125,
    "s": 52.747,
    "l": 64.314
  },
  "oklch": {
    "l": 0.8217,
    "c": 0.13004,
    "h": 126.4
  },
  "luminance": 0.57462
}

Semantic roles & 50–950 ramp

primary
#AFD474
secondary
#6C4AA2
accent
#25C061
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150E
muted
#83847F

Preview Lab

Preview with #AFD474

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

Preview Lab → · Contrast checker → · Palette generator →

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