#AFDF4F#AFDF4F

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

Color values

HEX#AFDF4F
RGBrgb(175, 223, 79)
HSLhsl(80, 69%, 59%)
HSVhsv(80, 65%, 87%)
CMYKcmyk(21.5%, 0%, 64.6%, 12.5%)
CIE-LABlab(83.15, -36.31, 63.15)
CIE-LCHlch(83.15, 72.84, 119.90°)
OKLaboklab(84.24% -0.1039 0.144)
OKLCHoklch(84.24% 0.178 125.8)
XYZxyz(45.4783, 62.4532, 17.0543)
Luminance0.6245 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDF4F #7F4FDF
analogous
#DFC74F #AFDF4F #67DF4F
triadic
#AFDF4F #4FAFDF #DF4FAF
tetradic
#AFDF4F #4FDFC7 #7F4FDF #DF4F67
square
#AFDF4F #4FDFC7 #7F4FDF #DF4F67
split-complementary
#AFDF4F #4F67DF #C74FDF
monochromatic
#6F981C #94CC25 #AFDF4F #C7E883 #DEF2B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFDF4F#FFFFFF#000000##000000
##AFDF4F1.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)
#EAD13C
Deuteranopia (green-blind)
#E4CE5A
Tritanopia (blue-blind)
#B6D5C1
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #afdf4f;
/* rgb */ color: rgb(175, 223, 79);
/* oklch */ color: oklch(84.2% 0.178 125.8);
Tailwind
colors: {
  custom: {
    50: '#cae987',
    500: '#afdf4f',
    950: '#000000',
  },
}
SCSS
$custom: #afdf4f;
$custom-light: #cae987;
$custom-dark: #000000;
JSON
{
  "hex": "#afdf4f",
  "rgb": {
    "r": 175,
    "g": 223,
    "b": 79
  },
  "hsl": {
    "h": 80,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.84238,
    "c": 0.17758,
    "h": 125.8
  },
  "luminance": 0.62454
}

Semantic roles & 50–950 ramp

primary
#AFDF4F
secondary
#58369C
accent
#3CEC77
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14160C
muted
#83847F

Preview Lab

Preview with #AFDF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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