#AFCA96#AFCA96

#AFCA96 is a light, moderate yellow-green. Relative luminance 0.536; OKLCH L 80.6% C 0.077 H 130.3°. Best body text is #000000 at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#AFCA96
RGBrgb(175, 202, 150)
HSLhsl(91, 33%, 69%)
HSVhsv(91, 26%, 79%)
CMYKcmyk(13.4%, 0%, 25.7%, 20.8%)
CIE-LABlab(78.20, -18.37, 23.04)
CIE-LCHlch(78.20, 29.46, 128.56°)
OKLaboklab(80.55% -0.0495 0.0584)
OKLCHoklch(80.55% 0.077 130.3)
XYZxyz(44.3038, 53.5566, 36.8516)
Luminance0.5356 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCA96 #B196CA
analogous
#C9CA96 #AFCA96 #96CA97
triadic
#AFCA96 #96AFCA #CA96AF
tetradic
#AFCA96 #96C9CA #B196CA #CA9796
square
#AFCA96 #96C9CA #B196CA #CA9796
split-complementary
#AFCA96 #9796CA #CA96C9
monochromatic
#71994D #90B56D #AFCA96 #CEDFBF #EDF3E7

Accessibility & contrast

On white

1.79
#AFCA96 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.71
#AFCA96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCA96
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCA96#FFFFFF#000000##000000
##AFCA961.001.7911.7111.71
#FFFFFF1.791.0021.0021.00
#00000011.7121.001.001.00
##00000011.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFC393
Deuteranopia (green-blind)
#CBC198
Tritanopia (blue-blind)
#B1C5BC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #afca96;
/* rgb */ color: rgb(175, 202, 150);
/* oklch */ color: oklch(80.6% 0.077 130.3);
Tailwind
colors: {
  custom: {
    50: '#c7dab5',
    500: '#afca96',
    950: '#000000',
  },
}
SCSS
$custom: #afca96;
$custom-light: #c7dab5;
$custom-dark: #000000;
JSON
{
  "hex": "#afca96",
  "rgb": {
    "r": 175,
    "g": 202,
    "b": 150
  },
  "hsl": {
    "h": 91.154,
    "s": 32.911,
    "l": 69.02
  },
  "oklch": {
    "l": 0.80554,
    "c": 0.07653,
    "h": 130.3
  },
  "luminance": 0.53557
}

Semantic roles & 50–950 ramp

primary
#AFCA96
secondary
#83659F
accent
#3AAC75
background
#FDFEFD
surface
#F9FBF8
border
#D2D4D1
text
#131411
muted
#828381

Preview Lab

Preview with #AFCA96

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

Preview Lab → · Contrast checker → · Palette generator →

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