#AFDF99#AFDF99

#AFDF99 is a very light, moderate green. Relative luminance 0.642; OKLCH L 85.3% C 0.106 H 136.1°. Best body text is #000000 at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#AFDF99
RGBrgb(175, 223, 153)
HSLhsl(101, 52%, 74%)
HSVhsv(101, 31%, 87%)
CMYKcmyk(21.5%, 0%, 31.4%, 12.5%)
CIE-LABlab(84.06, -28.18, 29.41)
CIE-LCHlch(84.06, 40.73, 133.78°)
OKLaboklab(85.27% -0.0767 0.0738)
OKLCHoklch(85.27% 0.106 136.1)
XYZxyz(49.8153, 64.1880, 39.8958)
Luminance0.6419 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDF99 #C999DF
analogous
#D2DF99 #AFDF99 #99DFA6
triadic
#AFDF99 #99AFDF #DF99AF
tetradic
#AFDF99 #99D2DF #C999DF #DFA699
square
#AFDF99 #99D2DF #C999DF #DFA699
split-complementary
#AFDF99 #A699DF #DF99D2
monochromatic
#66C13D #8AD06A #AFDF99 #D4EEC8 #EDF8E8

Accessibility & contrast

On white

1.52
#AFDF99 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.84
#AFDF99 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDF99
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDF99#FFFFFF#000000##000000
##AFDF991.001.5213.8413.84
#FFFFFF1.521.0021.0021.00
#00000013.8421.001.001.00
##00000013.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D494
Deuteranopia (green-blind)
#DDD09D
Tritanopia (blue-blind)
#AEDACD
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #afdf99;
/* rgb */ color: rgb(175, 223, 153);
/* oklch */ color: oklch(85.3% 0.106 136.1);
Tailwind
colors: {
  custom: {
    50: '#c8e9b7',
    500: '#afdf99',
    950: '#000000',
  },
}
SCSS
$custom: #afdf99;
$custom-light: #c8e9b7;
$custom-dark: #000000;
JSON
{
  "hex": "#afdf99",
  "rgb": {
    "r": 175,
    "g": 223,
    "b": 153
  },
  "hsl": {
    "h": 101.143,
    "s": 52.239,
    "l": 73.725
  },
  "oklch": {
    "l": 0.85267,
    "c": 0.10642,
    "h": 136.1
  },
  "luminance": 0.64189
}

Semantic roles & 50–950 ramp

primary
#AFDF99
secondary
#9D65B7
accent
#26C08F
background
#FDFEFD
surface
#F9FCF8
border
#D2D5D1
text
#131611
muted
#828481

Preview Lab

Preview with #AFDF99

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

Preview Lab → · Contrast checker → · Palette generator →

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