#AFCC97#AFCC97

#AFCC97 is a light, moderate yellow-green. Relative luminance 0.545; OKLCH L 81.0% C 0.079 H 131.3°. Best body text is #000000 at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#AFCC97
RGBrgb(175, 204, 151)
HSLhsl(93, 34%, 70%)
HSVhsv(93, 26%, 80%)
CMYKcmyk(14.2%, 0%, 26%, 20%)
CIE-LABlab(78.77, -19.21, 23.29)
CIE-LCHlch(78.77, 30.19, 129.52°)
OKLaboklab(81.02% -0.0518 0.059)
OKLCHoklch(81.02% 0.079 131.3)
XYZxyz(44.8570, 54.5335, 37.4349)
Luminance0.5453 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCC97 #B497CC
analogous
#CACC97 #AFCC97 #97CC9A
triadic
#AFCC97 #97AFCC #CC97AF
tetradic
#AFCC97 #97CACC #B497CC #CC9A97
square
#AFCC97 #97CACC #B497CC #CC9A97
split-complementary
#AFCC97 #9A97CC #CC97CA
monochromatic
#719C4D #8FB86E #AFCC97 #CFE0C0 #EEF4E9

Accessibility & contrast

On white

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

On black

11.91
#AFCC97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCC97
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCC97#FFFFFF#000000##000000
##AFCC971.001.7611.9111.91
#FFFFFF1.761.0021.0021.00
#00000011.9121.001.001.00
##00000011.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1C494
Deuteranopia (green-blind)
#CCC299
Tritanopia (blue-blind)
#B0C7BE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #afcc97;
/* rgb */ color: rgb(175, 204, 151);
/* oklch */ color: oklch(81.0% 0.079 131.3);
Tailwind
colors: {
  custom: {
    50: '#c7dbb6',
    500: '#afcc97',
    950: '#000000',
  },
}
SCSS
$custom: #afcc97;
$custom-light: #c7dbb6;
$custom-dark: #000000;
JSON
{
  "hex": "#afcc97",
  "rgb": {
    "r": 175,
    "g": 204,
    "b": 151
  },
  "hsl": {
    "h": 92.83,
    "s": 34.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.81015,
    "c": 0.07855,
    "h": 131.3
  },
  "luminance": 0.54534
}

Semantic roles & 50–950 ramp

primary
#AFCC97
secondary
#8666A1
accent
#38AD78
background
#FDFEFD
surface
#F9FBF8
border
#D2D4D1
text
#131511
muted
#828481

Preview Lab

Preview with #AFCC97

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

Preview Lab → · Contrast checker → · Palette generator →

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