#AFDC5F#AFDC5F

#AFDC5F is a very light, vivid yellow-green. Relative luminance 0.611; OKLCH L 83.7% C 0.161 H 126.2°. Best body text is #000000 at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#AFDC5F
RGBrgb(175, 220, 95)
HSLhsl(82, 64%, 62%)
HSVhsv(82, 57%, 86%)
CMYKcmyk(20.5%, 0%, 56.8%, 13.7%)
CIE-LABlab(82.45, -33.67, 55.60)
CIE-LCHlch(82.45, 65.00, 121.19°)
OKLaboklab(83.71% -0.0952 0.1299)
OKLCHoklch(83.71% 0.161 126.2)
XYZxyz(45.3379, 61.1260, 20.2342)
Luminance0.6113 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDC5F #8C5FDC
analogous
#DCCB5F #AFDC5F #71DC5F
triadic
#AFDC5F #5FAFDC #DC5FAF
tetradic
#AFDC5F #5FDCCB #8C5FDC #DC5F71
square
#AFDC5F #5FDCCB #8C5FDC #DC5F71
split-complementary
#AFDC5F #5F71DC #CB5FDC
monochromatic
#729E23 #96D02E #AFDC5F #C8E791 #E1F2C3

Accessibility & contrast

On white

1.59
#AFDC5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.23
#AFDC5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDC5F
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDC5F#FFFFFF#000000##000000
##AFDC5F1.001.5913.2313.23
#FFFFFF1.591.0021.0021.00
#00000013.2321.001.001.00
##00000013.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CF52
Deuteranopia (green-blind)
#E0CC67
Tritanopia (blue-blind)
#B5D3C1
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #afdc5f;
/* rgb */ color: rgb(175, 220, 95);
/* oklch */ color: oklch(83.7% 0.161 126.2);
Tailwind
colors: {
  custom: {
    50: '#c9e790',
    500: '#afdc5f',
    950: '#000000',
  },
}
SCSS
$custom: #afdc5f;
$custom-light: #c9e790;
$custom-dark: #000000;
JSON
{
  "hex": "#afdc5f",
  "rgb": {
    "r": 175,
    "g": 220,
    "b": 95
  },
  "hsl": {
    "h": 81.6,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.83711,
    "c": 0.16099,
    "h": 126.2
  },
  "luminance": 0.61127
}

Semantic roles & 50–950 ramp

primary
#AFDC5F
secondary
#623EA2
accent
#1ACC5A
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#13160D
muted
#83847F

Preview Lab

Preview with #AFDC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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