#AFDD47#AFDD47

#AFDD47 is a very light, vivid yellow-green. Relative luminance 0.613; OKLCH L 83.7% C 0.181 H 125.0°. Best body text is #000000 at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#AFDD47
RGBrgb(175, 221, 71)
HSLhsl(78, 69%, 57%)
HSVhsv(78, 68%, 87%)
CMYKcmyk(20.8%, 0%, 67.9%, 13.3%)
CIE-LABlab(82.53, -35.94, 65.60)
CIE-LCHlch(82.53, 74.80, 118.72°)
OKLaboklab(83.71% -0.1036 0.1481)
OKLCHoklch(83.71% 0.181 125)
XYZxyz(44.6733, 61.2813, 15.4349)
Luminance0.6128 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDD47 #7547DD
analogous
#DDC047 #AFDD47 #64DD47
triadic
#AFDD47 #47AFDD #DD47AF
tetradic
#AFDD47 #47DDC0 #7547DD #DD4764
square
#AFDD47 #47DDC0 #7547DD #DD4764
split-complementary
#AFDD47 #4764DD #C047DD
monochromatic
#6B8F1A #92C324 #AFDD47 #C5E77B #DCF0AE

Accessibility & contrast

On white

1.58
#AFDD47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.26
#AFDD47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDD47
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDD47#FFFFFF#000000##000000
##AFDD471.001.5813.2613.26
#FFFFFF1.581.0021.0021.00
#00000013.2621.001.001.00
##00000013.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CF30
Deuteranopia (green-blind)
#E3CD53
Tritanopia (blue-blind)
#B7D3BF
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #afdd47;
/* rgb */ color: rgb(175, 221, 71);
/* oklch */ color: oklch(83.7% 0.181 125.0);
Tailwind
colors: {
  custom: {
    50: '#cae782',
    500: '#afdd47',
    950: '#000000',
  },
}
SCSS
$custom: #afdd47;
$custom-light: #cae782;
$custom-dark: #000000;
JSON
{
  "hex": "#afdd47",
  "rgb": {
    "r": 175,
    "g": 221,
    "b": 71
  },
  "hsl": {
    "h": 78.4,
    "s": 68.807,
    "l": 57.255
  },
  "oklch": {
    "l": 0.83714,
    "c": 0.1807,
    "h": 125
  },
  "luminance": 0.61282
}

Semantic roles & 50–950 ramp

primary
#AFDD47
secondary
#513494
accent
#3CEC72
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14160B
muted
#83847E

Preview Lab

Preview with #AFDD47

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

Preview Lab → · Contrast checker → · Palette generator →

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