#AFD847#AFD847

#AFD847 is a very light, vivid yellow-green. Relative luminance 0.587; OKLCH L 82.6% C 0.175 H 123.9°. Best body text is #000000 at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#AFD847
RGBrgb(175, 216, 71)
HSLhsl(77, 65%, 56%)
HSVhsv(77, 67%, 85%)
CMYKcmyk(19%, 0%, 67.1%, 15.3%)
CIE-LABlab(81.12, -33.66, 64.14)
CIE-LCHlch(81.12, 72.44, 117.69°)
OKLaboklab(82.57% -0.0973 0.145)
OKLCHoklch(82.57% 0.175 123.9)
XYZxyz(43.3728, 58.6803, 15.0014)
Luminance0.5868 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD847 #7047D8
analogous
#D8B947 #AFD847 #67D847
triadic
#AFD847 #47AFD8 #D847AF
tetradic
#AFD847 #47D8B9 #7047D8 #D84767
square
#AFD847 #47D8B9 #7047D8 #D84767
split-complementary
#AFD847 #4767D8 #B947D8
monochromatic
#6A881D #91BA27 #AFD847 #C5E379 #DBEDAC

Accessibility & contrast

On white

1.65
#AFD847 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.74
#AFD847 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD847
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD847#FFFFFF#000000##000000
##AFD8471.001.6512.7412.74
#FFFFFF1.651.0021.0021.00
#00000012.7421.001.001.00
##00000012.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB32
Deuteranopia (green-blind)
#DEC953
Tritanopia (blue-blind)
#B7CEBB
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #afd847;
/* rgb */ color: rgb(175, 216, 71);
/* oklch */ color: oklch(82.6% 0.175 123.9);
Tailwind
colors: {
  custom: {
    50: '#cae482',
    500: '#afd847',
    950: '#000000',
  },
}
SCSS
$custom: #afd847;
$custom-light: #cae482;
$custom-dark: #000000;
JSON
{
  "hex": "#afd847",
  "rgb": {
    "r": 175,
    "g": 216,
    "b": 71
  },
  "hsl": {
    "h": 76.966,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.82571,
    "c": 0.17463,
    "h": 123.9
  },
  "luminance": 0.58681
}

Semantic roles & 50–950 ramp

primary
#AFD847
secondary
#4E358E
accent
#40E86F
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFD847

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

Preview Lab → · Contrast checker → · Palette generator →

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