#AFDA4F#AFDA4F

#AFDA4F is a very light, vivid yellow-green. Relative luminance 0.598; OKLCH L 83.1% C 0.171 H 124.7°. Best body text is #000000 at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#AFDA4F
RGBrgb(175, 218, 79)
HSLhsl(79, 65%, 58%)
HSVhsv(79, 64%, 85%)
CMYKcmyk(19.7%, 0%, 63.8%, 14.5%)
CIE-LABlab(81.74, -34.03, 61.64)
CIE-LCHlch(81.74, 70.41, 118.90°)
OKLaboklab(83.1% -0.0976 0.1408)
OKLCHoklch(83.1% 0.171 124.7)
XYZxyz(44.1621, 59.8209, 16.6156)
Luminance0.5982 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDA4F #7A4FDA
analogous
#DABF4F #AFDA4F #69DA4F
triadic
#AFDA4F #4FAFDA #DA4FAF
tetradic
#AFDA4F #4FDABF #7A4FDA #DA4F69
square
#AFDA4F #4FDABF #7A4FDA #DA4F69
split-complementary
#AFDA4F #4F69DA #BF4FDA
monochromatic
#6D901E #93C329 #AFDA4F #C6E582 #DDEFB4

Accessibility & contrast

On white

1.62
#AFDA4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.96
#AFDA4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDA4F
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDA4F#FFFFFF#000000##000000
##AFDA4F1.001.6212.9612.96
#FFFFFF1.621.0021.0021.00
#00000012.9621.001.001.00
##00000012.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CD3D
Deuteranopia (green-blind)
#E0CB59
Tritanopia (blue-blind)
#B6D0BD
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #afda4f;
/* rgb */ color: rgb(175, 218, 79);
/* oklch */ color: oklch(83.1% 0.171 124.7);
Tailwind
colors: {
  custom: {
    50: '#cae587',
    500: '#afda4f',
    950: '#000000',
  },
}
SCSS
$custom: #afda4f;
$custom-light: #cae587;
$custom-dark: #000000;
JSON
{
  "hex": "#afda4f",
  "rgb": {
    "r": 175,
    "g": 218,
    "b": 79
  },
  "hsl": {
    "h": 78.561,
    "s": 65.258,
    "l": 58.235
  },
  "oklch": {
    "l": 0.83095,
    "c": 0.17135,
    "h": 124.7
  },
  "luminance": 0.59821
}

Semantic roles & 50–950 ramp

primary
#AFDA4F
secondary
#553895
accent
#40E874
background
#FEFEFC
surface
#FBFCF3
border
#D4D5CD
text
#14150C
muted
#83847F

Preview Lab

Preview with #AFDA4F

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

Preview Lab → · Contrast checker → · Palette generator →

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