#AFCC99#AFCC99

#AFCC99 is a light, moderate yellow-green. Relative luminance 0.546; OKLCH L 81.1% C 0.076 H 132.0°. Best body text is #000000 at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#AFCC99
RGBrgb(175, 204, 153)
HSLhsl(94, 33%, 70%)
HSVhsv(94, 25%, 80%)
CMYKcmyk(14.2%, 0%, 25%, 20%)
CIE-LABlab(78.81, -18.90, 22.29)
CIE-LCHlch(78.81, 29.23, 130.31°)
OKLaboklab(81.06% -0.051 0.0566)
OKLCHoklch(81.06% 0.076 132)
XYZxyz(45.0208, 54.5990, 38.2976)
Luminance0.5460 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCC99 #B699CC
analogous
#C8CC99 #AFCC99 #99CC9D
triadic
#AFCC99 #99AFCC #CC99AF
tetradic
#AFCC99 #99C8CC #B699CC #CC9D99
square
#AFCC99 #99C8CC #B699CC #CC9D99
split-complementary
#AFCC99 #9D99CC #CC99C8
monochromatic
#709C4E #8FB870 #AFCC99 #CFE0C2 #EFF5EB

Accessibility & contrast

On white

1.76
#AFCC99 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.92
#AFCC99 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCC99
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCC99#FFFFFF#000000##000000
##AFCC991.001.7611.9211.92
#FFFFFF1.761.0021.0021.00
#00000011.9221.001.001.00
##00000011.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1C596
Deuteranopia (green-blind)
#CCC29B
Tritanopia (blue-blind)
#B0C8BE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #afcc99;
/* rgb */ color: rgb(175, 204, 153);
/* oklch */ color: oklch(81.1% 0.076 132.0);
Tailwind
colors: {
  custom: {
    50: '#c7dbb7',
    500: '#afcc99',
    950: '#000000',
  },
}
SCSS
$custom: #afcc99;
$custom-light: #c7dbb7;
$custom-dark: #000000;
JSON
{
  "hex": "#afcc99",
  "rgb": {
    "r": 175,
    "g": 204,
    "b": 153
  },
  "hsl": {
    "h": 94.118,
    "s": 33.333,
    "l": 70
  },
  "oklch": {
    "l": 0.81058,
    "c": 0.07617,
    "h": 132
  },
  "luminance": 0.546
}

Semantic roles & 50–950 ramp

primary
#AFCC99
secondary
#8968A1
accent
#39AC7B
background
#FDFEFD
surface
#F9FBF8
border
#D2D4D1
text
#131511
muted
#828481

Preview Lab

Preview with #AFCC99

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

Preview Lab → · Contrast checker → · Palette generator →

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