#AFC899#AFC899

#AFC899 is a light, moderate yellow-green. Relative luminance 0.527; OKLCH L 80.2% C 0.070 H 130.7°. Best body text is #000000 at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#AFC899
RGBrgb(175, 200, 153)
HSLhsl(92, 30%, 69%)
HSVhsv(92, 24%, 78%)
CMYKcmyk(12.5%, 0%, 23.5%, 21.6%)
CIE-LABlab(77.71, -16.89, 20.78)
CIE-LCHlch(77.71, 26.78, 129.12°)
OKLaboklab(80.18% -0.0454 0.0529)
OKLCHoklch(80.18% 0.07 130.7)
XYZxyz(44.0823, 52.7220, 37.9848)
Luminance0.5272 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC899 #B299C8
analogous
#C7C899 #AFC899 #99C89B
triadic
#AFC899 #99AFC8 #C899AF
tetradic
#AFC899 #99C7C8 #B299C8 #C89B99
square
#AFC899 #99C7C8 #B299C8 #C89B99
split-complementary
#AFC899 #9B99C8 #C899C7
monochromatic
#719651 #90B371 #AFC899 #CEDDC1 #EDF3E9

Accessibility & contrast

On white

1.82
#AFC899 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.54
#AFC899 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC899
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC899#FFFFFF#000000##000000
##AFC8991.001.8211.5411.54
#FFFFFF1.821.0021.0021.00
#00000011.5421.001.001.00
##00000011.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDC196
Deuteranopia (green-blind)
#C9BF9B
Tritanopia (blue-blind)
#B1C4BB
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #afc899;
/* rgb */ color: rgb(175, 200, 153);
/* oklch */ color: oklch(80.2% 0.070 130.7);
Tailwind
colors: {
  custom: {
    50: '#c7d8b7',
    500: '#afc899',
    950: '#000000',
  },
}
SCSS
$custom: #afc899;
$custom-light: #c7d8b7;
$custom-dark: #000000;
JSON
{
  "hex": "#afc899",
  "rgb": {
    "r": 175,
    "g": 200,
    "b": 153
  },
  "hsl": {
    "h": 91.915,
    "s": 29.936,
    "l": 69.216
  },
  "oklch": {
    "l": 0.80181,
    "c": 0.0697,
    "h": 130.7
  },
  "luminance": 0.52722
}

Semantic roles & 50–950 ramp

primary
#AFC899
secondary
#84699D
accent
#3DA976
background
#FDFEFD
surface
#F9FBF8
border
#D2D4D1
text
#131411
muted
#828381

Preview Lab

Preview with #AFC899

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

Preview Lab → · Contrast checker → · Palette generator →

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