#AFCD99#AFCD99

#AFCD99 is a light, moderate yellow-green. Relative luminance 0.551; OKLCH L 81.3% C 0.078 H 132.3°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#AFCD99
RGBrgb(175, 205, 153)
HSLhsl(95, 34%, 70%)
HSVhsv(95, 25%, 80%)
CMYKcmyk(14.6%, 0%, 25.4%, 19.6%)
CIE-LABlab(79.08, -19.40, 22.66)
CIE-LCHlch(79.08, 29.84, 130.57°)
OKLaboklab(81.28% -0.0524 0.0575)
OKLCHoklch(81.28% 0.078 132.3)
XYZxyz(45.2593, 55.0759, 38.3771)
Luminance0.5508 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCD99 #B799CD
analogous
#C9CD99 #AFCD99 #99CD9D
triadic
#AFCD99 #99AFCD #CD99AF
tetradic
#AFCD99 #99C9CD #B799CD #CD9D99
square
#AFCD99 #99C9CD #B799CD #CD9D99
split-complementary
#AFCD99 #9D99CD #CD99C9
monochromatic
#709E4D #8FB970 #AFCD99 #CFE1C2 #EFF5EA

Accessibility & contrast

On white

1.75
#AFCD99 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.02
#AFCD99 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCD99
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCD99#FFFFFF#000000##000000
##AFCD991.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C596
Deuteranopia (green-blind)
#CDC39B
Tritanopia (blue-blind)
#B0C9BF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #afcd99;
/* rgb */ color: rgb(175, 205, 153);
/* oklch */ color: oklch(81.3% 0.078 132.3);
Tailwind
colors: {
  custom: {
    50: '#c7dcb7',
    500: '#afcd99',
    950: '#000000',
  },
}
SCSS
$custom: #afcd99;
$custom-light: #c7dcb7;
$custom-dark: #000000;
JSON
{
  "hex": "#afcd99",
  "rgb": {
    "r": 175,
    "g": 205,
    "b": 153
  },
  "hsl": {
    "h": 94.615,
    "s": 34.211,
    "l": 70.196
  },
  "oklch": {
    "l": 0.81278,
    "c": 0.07778,
    "h": 132.3
  },
  "luminance": 0.55077
}

Semantic roles & 50–950 ramp

primary
#AFCD99
secondary
#8A68A2
accent
#38AD7C
background
#FDFEFD
surface
#F9FCF8
border
#D2D5D1
text
#131511
muted
#828481

Preview Lab

Preview with #AFCD99

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

Preview Lab → · Contrast checker → · Palette generator →

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