#AFCD96#AFCD96

#AFCD96 is a light, moderate yellow-green. Relative luminance 0.550; OKLCH L 81.2% C 0.081 H 131.3°. Best body text is #000000 at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#AFCD96
RGBrgb(175, 205, 150)
HSLhsl(93, 35%, 70%)
HSVhsv(93, 27%, 80%)
CMYKcmyk(14.6%, 0%, 26.8%, 19.6%)
CIE-LABlab(79.03, -19.87, 24.17)
CIE-LCHlch(79.03, 31.28, 129.42°)
OKLaboklab(81.21% -0.0537 0.0611)
OKLCHoklch(81.21% 0.081 131.3)
XYZxyz(45.0146, 54.9781, 37.0885)
Luminance0.5498 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCD96 #B496CD
analogous
#CBCD96 #AFCD96 #96CD99
triadic
#AFCD96 #96AFCD #CD96AF
tetradic
#AFCD96 #96CBCD #B496CD #CD9996
square
#AFCD96 #96CBCD #B496CD #CD9996
split-complementary
#AFCD96 #9996CD #CD96CB
monochromatic
#719E4B #8FB96D #AFCD96 #CFE1BF #EEF4E9

Accessibility & contrast

On white

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

On black

12.00
#AFCD96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCD96
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCD96#FFFFFF#000000##000000
##AFCD961.001.7512.0012.00
#FFFFFF1.751.0021.0021.00
#00000012.0021.001.001.00
##00000012.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C593
Deuteranopia (green-blind)
#CDC399
Tritanopia (blue-blind)
#B0C8BE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #afcd96;
/* rgb */ color: rgb(175, 205, 150);
/* oklch */ color: oklch(81.2% 0.081 131.3);
Tailwind
colors: {
  custom: {
    50: '#c7dcb5',
    500: '#afcd96',
    950: '#000000',
  },
}
SCSS
$custom: #afcd96;
$custom-light: #c7dcb5;
$custom-dark: #000000;
JSON
{
  "hex": "#afcd96",
  "rgb": {
    "r": 175,
    "g": 205,
    "b": 150
  },
  "hsl": {
    "h": 92.727,
    "s": 35.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.81214,
    "c": 0.08133,
    "h": 131.3
  },
  "luminance": 0.54979
}

Semantic roles & 50–950 ramp

primary
#AFCD96
secondary
#8665A2
accent
#37AE78
background
#FDFEFD
surface
#F9FCF8
border
#D2D5D1
text
#131511
muted
#828481

Preview Lab

Preview with #AFCD96

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

Preview Lab → · Contrast checker → · Palette generator →

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