#AFDE48#AFDE48

#AFDE48 is a very light, vivid yellow-green. Relative luminance 0.618; OKLCH L 84.0% C 0.181 H 125.2°. Best body text is #000000 at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#AFDE48
RGBrgb(175, 222, 72)
HSLhsl(79, 69%, 58%)
HSVhsv(79, 68%, 87%)
CMYKcmyk(21.2%, 0%, 67.6%, 12.9%)
CIE-LABlab(82.82, -36.33, 65.52)
CIE-LCHlch(82.82, 74.92, 119.01°)
OKLaboklab(83.95% -0.1046 0.148)
OKLCHoklch(83.95% 0.181 125.2)
XYZxyz(44.9704, 61.8239, 15.6936)
Luminance0.6182 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDE48 #7748DE
analogous
#DEC248 #AFDE48 #64DE48
triadic
#AFDE48 #48AFDE #DE48AF
tetradic
#AFDE48 #48DEC2 #7748DE #DE4864
square
#AFDE48 #48DEC2 #7748DE #DE4864
split-complementary
#AFDE48 #4864DE #C248DE
monochromatic
#6C911A #93C524 #AFDE48 #C6E77C #DCF1B0

Accessibility & contrast

On white

1.57
#AFDE48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.36
#AFDE48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDE48
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDE48#FFFFFF#000000##000000
##AFDE481.001.5713.3613.36
#FFFFFF1.571.0021.0021.00
#00000013.3621.001.001.00
##00000013.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD032
Deuteranopia (green-blind)
#E3CE54
Tritanopia (blue-blind)
#B6D4C0
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #afde48;
/* rgb */ color: rgb(175, 222, 72);
/* oklch */ color: oklch(84.0% 0.181 125.2);
Tailwind
colors: {
  custom: {
    50: '#cae883',
    500: '#afde48',
    950: '#000000',
  },
}
SCSS
$custom: #afde48;
$custom-light: #cae883;
$custom-dark: #000000;
JSON
{
  "hex": "#afde48",
  "rgb": {
    "r": 175,
    "g": 222,
    "b": 72
  },
  "hsl": {
    "h": 78.8,
    "s": 69.444,
    "l": 57.647
  },
  "oklch": {
    "l": 0.83951,
    "c": 0.18124,
    "h": 125.2
  },
  "luminance": 0.61824
}

Semantic roles & 50–950 ramp

primary
#AFDE48
secondary
#533496
accent
#3CEC73
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14160B
muted
#83847E

Preview Lab

Preview with #AFDE48

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

Preview Lab → · Contrast checker → · Palette generator →

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