#AFDC2D#AFDC2D

#AFDC2D is a very light, vivid yellow-green. Relative luminance 0.605; OKLCH L 83.3% C 0.194 H 123.8°. Best body text is #000000 at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#AFDC2D
RGBrgb(175, 220, 45)
HSLhsl(75, 71%, 52%)
HSVhsv(75, 80%, 86%)
CMYKcmyk(20.5%, 0%, 79.5%, 13.7%)
CIE-LABlab(82.10, -36.81, 73.65)
CIE-LCHlch(82.10, 82.34, 116.56°)
OKLaboklab(83.32% -0.108 0.161)
OKLCHoklch(83.32% 0.194 123.8)
XYZxyz(43.7466, 60.4895, 11.8530)
Luminance0.6049 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDC2D #5A2DDC
analogous
#DCB22D #AFDC2D #57DC2D
triadic
#AFDC2D #2DAFDC #DC2DAF
tetradic
#AFDC2D #2DDCB2 #5A2DDC #DC2D57
square
#AFDC2D #2DDCB2 #5A2DDC #DC2D57
split-complementary
#AFDC2D #2D57DC #B22DDC
monochromatic
#607A14 #89AF1D #AFDC2D #C3E561 #D7ED96

Accessibility & contrast

On white

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

On black

13.10
#AFDC2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDC2D
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDC2D#FFFFFF#000000##000000
##AFDC2D1.001.6013.1013.10
#FFFFFF1.601.0021.0021.00
#00000013.1021.001.001.00
##00000013.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CE00
Deuteranopia (green-blind)
#E3CC40
Tritanopia (blue-blind)
#B8D1BC
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #afdc2d;
/* rgb */ color: rgb(175, 220, 45);
/* oklch */ color: oklch(83.3% 0.194 123.8);
Tailwind
colors: {
  custom: {
    50: '#cbe776',
    500: '#afdc2d',
    950: '#000000',
  },
}
SCSS
$custom: #afdc2d;
$custom-light: #cbe776;
$custom-dark: #000000;
JSON
{
  "hex": "#afdc2d",
  "rgb": {
    "r": 175,
    "g": 220,
    "b": 45
  },
  "hsl": {
    "h": 75.429,
    "s": 71.429,
    "l": 51.961
  },
  "oklch": {
    "l": 0.83324,
    "c": 0.19385,
    "h": 123.8
  },
  "luminance": 0.6049
}

Semantic roles & 50–950 ramp

primary
#AFDC2D
secondary
#422B82
accent
#3AEE68
background
#FEFEFB
surface
#FBFCF1
border
#D4D5CB
text
#141609
muted
#83847D

Preview Lab

Preview with #AFDC2D

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

Preview Lab → · Contrast checker → · Palette generator →

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