#AFD247#AFD247

#AFD247 is a light, vivid yellow-green. Relative luminance 0.557; OKLCH L 81.2% C 0.167 H 122.4°. Best body text is #000000 at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#AFD247
RGBrgb(175, 210, 71)
HSLhsl(75, 61%, 55%)
HSVhsv(75, 66%, 82%)
CMYKcmyk(16.7%, 0%, 66.2%, 17.6%)
CIE-LABlab(79.42, -30.87, 62.39)
CIE-LCHlch(79.42, 69.61, 116.33°)
OKLaboklab(81.2% -0.0896 0.1413)
OKLCHoklch(81.2% 0.167 122.4)
XYZxyz(41.8636, 55.6620, 14.4984)
Luminance0.5566 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD247 #6A47D2
analogous
#D2B047 #AFD247 #69D247
triadic
#AFD247 #47AFD2 #D247AF
tetradic
#AFD247 #47D2B0 #6A47D2 #D24769
square
#AFD247 #47D2B0 #6A47D2 #D24769
split-complementary
#AFD247 #4769D2 #B047D2
monochromatic
#677F1F #8FB12B #AFD247 #C4DE78 #DAEAA9

Accessibility & contrast

On white

1.73
#AFD247 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.13
#AFD247 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD247
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD247#FFFFFF#000000##000000
##AFD2471.001.7312.1312.13
#FFFFFF1.731.0021.0021.00
#00000012.1321.001.001.00
##00000012.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC633
Deuteranopia (green-blind)
#DAC552
Tritanopia (blue-blind)
#B8C8B6
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #afd247;
/* rgb */ color: rgb(175, 210, 71);
/* oklch */ color: oklch(81.2% 0.167 122.4);
Tailwind
colors: {
  custom: {
    50: '#cadf81',
    500: '#afd247',
    950: '#000000',
  },
}
SCSS
$custom: #afd247;
$custom-light: #cadf81;
$custom-dark: #000000;
JSON
{
  "hex": "#afd247",
  "rgb": {
    "r": 175,
    "g": 210,
    "b": 71
  },
  "hsl": {
    "h": 75.108,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.81203,
    "c": 0.16733,
    "h": 122.4
  },
  "luminance": 0.55662
}

Semantic roles & 50–950 ramp

primary
#AFD247
secondary
#4B3687
accent
#44E46C
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFD247

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

Preview Lab → · Contrast checker → · Palette generator →

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