#AFDD48#AFDD48

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

Color values

HEX#AFDD48
RGBrgb(175, 221, 72)
HSLhsl(79, 69%, 57%)
HSVhsv(79, 67%, 87%)
CMYKcmyk(20.8%, 0%, 67.4%, 13.3%)
CIE-LABlab(82.54, -35.88, 65.23)
CIE-LCHlch(82.54, 74.44, 118.82°)
OKLaboklab(83.72% -0.1033 0.1474)
OKLCHoklch(83.72% 0.18 125)
XYZxyz(44.7056, 61.2942, 15.6053)
Luminance0.6129 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDD48 #7648DD
analogous
#DDC048 #AFDD48 #65DD48
triadic
#AFDD48 #48AFDD #DD48AF
tetradic
#AFDD48 #48DDC0 #7648DD #DD4865
square
#AFDD48 #48DDC0 #7648DD #DD4865
split-complementary
#AFDD48 #4865DD #C048DD
monochromatic
#6C901B #92C324 #AFDD48 #C6E77C #DCF0AF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFDD48#FFFFFF#000000##000000
##AFDD481.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)
#E9CF32
Deuteranopia (green-blind)
#E3CD54
Tritanopia (blue-blind)
#B7D3BF
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #afdd48;
/* rgb */ color: rgb(175, 221, 72);
/* oklch */ color: oklch(83.7% 0.180 125.0);
Tailwind
colors: {
  custom: {
    50: '#cae783',
    500: '#afdd48',
    950: '#000000',
  },
}
SCSS
$custom: #afdd48;
$custom-light: #cae783;
$custom-dark: #000000;
JSON
{
  "hex": "#afdd48",
  "rgb": {
    "r": 175,
    "g": 221,
    "b": 72
  },
  "hsl": {
    "h": 78.523,
    "s": 68.664,
    "l": 57.451
  },
  "oklch": {
    "l": 0.83722,
    "c": 0.18003,
    "h": 125
  },
  "luminance": 0.61295
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFDD48

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

Preview Lab → · Contrast checker → · Palette generator →

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