#AFDC4F#AFDC4F

#AFDC4F is a very light, vivid yellow-green. Relative luminance 0.609; OKLCH L 83.6% C 0.174 H 125.2°. Best body text is #000000 at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#AFDC4F
RGBrgb(175, 220, 79)
HSLhsl(79, 67%, 59%)
HSVhsv(79, 64%, 86%)
CMYKcmyk(20.5%, 0%, 64.1%, 13.7%)
CIE-LABlab(82.31, -34.95, 62.24)
CIE-LCHlch(82.31, 71.38, 119.31°)
OKLaboklab(83.55% -0.1001 0.1421)
OKLCHoklch(83.55% 0.174 125.2)
XYZxyz(44.6839, 60.8644, 16.7895)
Luminance0.6087 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDC4F #7C4FDC
analogous
#DCC24F #AFDC4F #68DC4F
triadic
#AFDC4F #4FAFDC #DC4FAF
tetradic
#AFDC4F #4FDCC2 #7C4FDC #DC4F68
square
#AFDC4F #4FDCC2 #7C4FDC #DC4F68
split-complementary
#AFDC4F #4F68DC #C24FDC
monochromatic
#6E931D #94C627 #AFDC4F #C6E682 #DDF0B5

Accessibility & contrast

On white

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

On black

13.17
#AFDC4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDC4F
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDC4F#FFFFFF#000000##000000
##AFDC4F1.001.5913.1713.17
#FFFFFF1.591.0021.0021.00
#00000013.1721.001.001.00
##00000013.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE3D
Deuteranopia (green-blind)
#E1CC5A
Tritanopia (blue-blind)
#B6D2BF
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #afdc4f;
/* rgb */ color: rgb(175, 220, 79);
/* oklch */ color: oklch(83.6% 0.174 125.2);
Tailwind
colors: {
  custom: {
    50: '#cae787',
    500: '#afdc4f',
    950: '#000000',
  },
}
SCSS
$custom: #afdc4f;
$custom-light: #cae787;
$custom-dark: #000000;
JSON
{
  "hex": "#afdc4f",
  "rgb": {
    "r": 175,
    "g": 220,
    "b": 79
  },
  "hsl": {
    "h": 79.149,
    "s": 66.825,
    "l": 58.627
  },
  "oklch": {
    "l": 0.83552,
    "c": 0.17384,
    "h": 125.2
  },
  "luminance": 0.60865
}

Semantic roles & 50–950 ramp

primary
#AFDC4F
secondary
#563798
accent
#3EEA75
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14160C
muted
#83847F

Preview Lab

Preview with #AFDC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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