#AFDF79#AFDF79

#AFDF79 is a very light, vivid yellow-green. Relative luminance 0.633; OKLCH L 84.7% C 0.141 H 129.6°. Best body text is #000000 at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#AFDF79
RGBrgb(175, 223, 121)
HSLhsl(88, 61%, 67%)
HSVhsv(88, 46%, 87%)
CMYKcmyk(21.5%, 0%, 45.7%, 12.5%)
CIE-LABlab(83.58, -32.41, 44.83)
CIE-LCHlch(83.58, 55.31, 125.86°)
OKLaboklab(84.72% -0.0897 0.1083)
OKLCHoklch(84.72% 0.141 129.6)
XYZxyz(47.5175, 63.2689, 27.7941)
Luminance0.6327 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDF79 #A979DF
analogous
#DFDC79 #AFDF79 #7CDF79
triadic
#AFDF79 #79AFDF #DF79AF
tetradic
#AFDF79 #79DFDC #A979DF #DF797C
square
#AFDF79 #79DFDC #A979DF #DF797C
split-complementary
#AFDF79 #797CDF #DC79DF
monochromatic
#73B32B #92D348 #AFDF79 #CCEBAA #EAF7DC

Accessibility & contrast

On white

1.54
#AFDF79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.65
#AFDF79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDF79
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDF79#FFFFFF#000000##000000
##AFDF791.001.5413.6513.65
#FFFFFF1.541.0021.0021.00
#00000013.6521.001.001.00
##00000013.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D371
Deuteranopia (green-blind)
#E0CF7F
Tritanopia (blue-blind)
#B2D7C7
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #afdf79;
/* rgb */ color: rgb(175, 223, 121);
/* oklch */ color: oklch(84.7% 0.141 129.6);
Tailwind
colors: {
  custom: {
    50: '#c9e9a1',
    500: '#afdf79',
    950: '#000000',
  },
}
SCSS
$custom: #afdf79;
$custom-light: #c9e9a1;
$custom-dark: #000000;
JSON
{
  "hex": "#afdf79",
  "rgb": {
    "r": 175,
    "g": 223,
    "b": 121
  },
  "hsl": {
    "h": 88.235,
    "s": 61.446,
    "l": 67.451
  },
  "oklch": {
    "l": 0.84724,
    "c": 0.14058,
    "h": 129.6
  },
  "luminance": 0.6327
}

Semantic roles & 50–950 ramp

primary
#AFDF79
secondary
#7B48B4
accent
#1CC96E
background
#FEFEFC
surface
#FAFDF5
border
#D3D5CF
text
#13160F
muted
#838480

Preview Lab

Preview with #AFDF79

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

Preview Lab → · Contrast checker → · Palette generator →

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