#AFDF4D#AFDF4D

#AFDF4D is a very light, vivid yellow-green. Relative luminance 0.624; OKLCH L 84.2% C 0.179 H 125.7°. Best body text is #000000 at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#AFDF4D
RGBrgb(175, 223, 77)
HSLhsl(80, 70%, 59%)
HSVhsv(80, 65%, 87%)
CMYKcmyk(21.5%, 0%, 65.5%, 12.5%)
CIE-LABlab(83.14, -36.45, 63.92)
CIE-LCHlch(83.14, 73.59, 119.70°)
OKLaboklab(84.22% -0.1045 0.1454)
OKLCHoklch(84.22% 0.179 125.7)
XYZxyz(45.4066, 62.4245, 16.6767)
Luminance0.6242 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDF4D #7D4DDF
analogous
#DFC64D #AFDF4D #66DF4D
triadic
#AFDF4D #4DAFDF #DF4DAF
tetradic
#AFDF4D #4DDFC6 #7D4DDF #DF4D66
square
#AFDF4D #4DDFC6 #7D4DDF #DF4D66
split-complementary
#AFDF4D #4D66DF #C64DDF
monochromatic
#6E971B #94CA24 #AFDF4D #C6E881 #DEF2B5

Accessibility & contrast

On white

1.56
#AFDF4D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.49
#AFDF4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDF4D
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDF4D#FFFFFF#000000##000000
##AFDF4D1.001.5613.4913.49
#FFFFFF1.561.0021.0021.00
#00000013.4921.001.001.00
##00000013.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD139
Deuteranopia (green-blind)
#E4CE58
Tritanopia (blue-blind)
#B6D5C1
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #afdf4d;
/* rgb */ color: rgb(175, 223, 77);
/* oklch */ color: oklch(84.2% 0.179 125.7);
Tailwind
colors: {
  custom: {
    50: '#cae986',
    500: '#afdf4d',
    950: '#000000',
  },
}
SCSS
$custom: #afdf4d;
$custom-light: #cae986;
$custom-dark: #000000;
JSON
{
  "hex": "#afdf4d",
  "rgb": {
    "r": 175,
    "g": 223,
    "b": 77
  },
  "hsl": {
    "h": 79.726,
    "s": 69.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.84221,
    "c": 0.17902,
    "h": 125.7
  },
  "luminance": 0.62425
}

Semantic roles & 50–950 ramp

primary
#AFDF4D
secondary
#57359B
accent
#3BEC76
background
#FEFEFC
surface
#FBFCF3
border
#D4D5CD
text
#14160C
muted
#83847F

Preview Lab

Preview with #AFDF4D

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

Preview Lab → · Contrast checker → · Palette generator →

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