#AFD899#AFD899

#AFD899 is a very light, moderate yellow-green. Relative luminance 0.605; OKLCH L 83.7% C 0.095 H 135.0°. Best body text is #000000 at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#AFD899
RGBrgb(175, 216, 153)
HSLhsl(99, 45%, 72%)
HSVhsv(99, 29%, 85%)
CMYKcmyk(19%, 0%, 29.2%, 15.3%)
CIE-LABlab(82.12, -24.82, 26.80)
CIE-LCHlch(82.12, 36.52, 132.80°)
OKLaboklab(83.71% -0.0674 0.0675)
OKLCHoklch(83.71% 0.095 135)
XYZxyz(47.9836, 60.5246, 39.2852)
Luminance0.6053 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD899 #C299D8
analogous
#CED899 #AFD899 #99D8A3
triadic
#AFD899 #99AFD8 #D899AF
tetradic
#AFD899 #99CED8 #C299D8 #D8A399
square
#AFD899 #99CED8 #C299D8 #D8A399
split-complementary
#AFD899 #A399D8 #D899CE
monochromatic
#6BB244 #8CC76D #AFD899 #D2E9C5 #EEF7E9

Accessibility & contrast

On white

1.60
#AFD899 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.11
#AFD899 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD899
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD899#FFFFFF#000000##000000
##AFD8991.001.6013.1113.11
#FFFFFF1.601.0021.0021.00
#00000013.1121.001.001.00
##00000013.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDCF95
Deuteranopia (green-blind)
#D6CB9C
Tritanopia (blue-blind)
#AFD3C7
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #afd899;
/* rgb */ color: rgb(175, 216, 153);
/* oklch */ color: oklch(83.7% 0.095 135.0);
Tailwind
colors: {
  custom: {
    50: '#c7e4b7',
    500: '#afd899',
    950: '#000000',
  },
}
SCSS
$custom: #afd899;
$custom-light: #c7e4b7;
$custom-dark: #000000;
JSON
{
  "hex": "#afd899",
  "rgb": {
    "r": 175,
    "g": 216,
    "b": 153
  },
  "hsl": {
    "h": 99.048,
    "s": 44.681,
    "l": 72.353
  },
  "oklch": {
    "l": 0.83709,
    "c": 0.09539,
    "h": 135
  },
  "luminance": 0.60526
}

Semantic roles & 50–950 ramp

primary
#AFD899
secondary
#9666AF
accent
#2EB888
background
#FDFEFD
surface
#F9FCF8
border
#D2D5D1
text
#131511
muted
#828481

Preview Lab

Preview with #AFD899

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

Preview Lab → · Contrast checker → · Palette generator →

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