#AFDC45#AFDC45

#AFDC45 is a very light, vivid yellow-green. Relative luminance 0.607; OKLCH L 83.5% C 0.181 H 124.7°. Best body text is #000000 at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#AFDC45
RGBrgb(175, 220, 69)
HSLhsl(78, 68%, 57%)
HSVhsv(78, 69%, 86%)
CMYKcmyk(20.5%, 0%, 68.6%, 13.7%)
CIE-LABlab(82.23, -35.62, 66.04)
CIE-LCHlch(82.23, 75.03, 118.34°)
OKLaboklab(83.47% -0.1028 0.1487)
OKLCHoklch(83.47% 0.181 124.7)
XYZxyz(44.3469, 60.7296, 15.0147)
Luminance0.6073 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDC45 #7245DC
analogous
#DCBE45 #AFDC45 #64DC45
triadic
#AFDC45 #45AFDC #DC45AF
tetradic
#AFDC45 #45DCBE #7245DC #DC4564
square
#AFDC45 #45DCBE #7245DC #DC4564
split-complementary
#AFDC45 #4564DC #BE45DC
monochromatic
#6A8C1A #91C024 #AFDC45 #C5E679 #DBEFAC

Accessibility & contrast

On white

1.60
#AFDC45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.15
#AFDC45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDC45
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDC45#FFFFFF#000000##000000
##AFDC451.001.6013.1513.15
#FFFFFF1.601.0021.0021.00
#00000013.1521.001.001.00
##00000013.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CE2D
Deuteranopia (green-blind)
#E2CC51
Tritanopia (blue-blind)
#B7D2BE
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #afdc45;
/* rgb */ color: rgb(175, 220, 69);
/* oklch */ color: oklch(83.5% 0.181 124.7);
Tailwind
colors: {
  custom: {
    50: '#cae781',
    500: '#afdc45',
    950: '#000000',
  },
}
SCSS
$custom: #afdc45;
$custom-light: #cae781;
$custom-dark: #000000;
JSON
{
  "hex": "#afdc45",
  "rgb": {
    "r": 175,
    "g": 220,
    "b": 69
  },
  "hsl": {
    "h": 77.881,
    "s": 68.326,
    "l": 56.667
  },
  "oklch": {
    "l": 0.8347,
    "c": 0.18081,
    "h": 124.7
  },
  "luminance": 0.6073
}

Semantic roles & 50–950 ramp

primary
#AFDC45
secondary
#503392
accent
#3DEB71
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14160B
muted
#83847E

Preview Lab

Preview with #AFDC45

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

Preview Lab → · Contrast checker → · Palette generator →

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