#AFCF97#AFCF97

#AFCF97 is a light, moderate yellow-green. Relative luminance 0.560; OKLCH L 81.7% C 0.083 H 132.2°. Best body text is #000000 at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#AFCF97
RGBrgb(175, 207, 151)
HSLhsl(94, 37%, 70%)
HSVhsv(94, 27%, 81%)
CMYKcmyk(15.5%, 0%, 27.1%, 18.8%)
CIE-LABlab(79.60, -20.71, 24.42)
CIE-LCHlch(79.60, 32.01, 130.30°)
OKLaboklab(81.68% -0.056 0.0617)
OKLCHoklch(81.68% 0.083 132.2)
XYZxyz(45.5769, 55.9733, 37.6749)
Luminance0.5597 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCF97 #B797CF
analogous
#CBCF97 #AFCF97 #97CF9B
triadic
#AFCF97 #97AFCF #CF97AF
tetradic
#AFCF97 #97CBCF #B797CF #CF9B97
square
#AFCF97 #97CBCF #B797CF #CF9B97
split-complementary
#AFCF97 #9B97CF #CF97CB
monochromatic
#70A14A #8FBC6D #AFCF97 #CFE2C1 #EFF5EA

Accessibility & contrast

On white

1.72
#AFCF97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.19
#AFCF97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCF97
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCF97#FFFFFF#000000##000000
##AFCF971.001.7212.1912.19
#FFFFFF1.721.0021.0021.00
#00000012.1921.001.001.00
##00000012.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C793
Deuteranopia (green-blind)
#CFC49A
Tritanopia (blue-blind)
#B0CAC0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #afcf97;
/* rgb */ color: rgb(175, 207, 151);
/* oklch */ color: oklch(81.7% 0.083 132.2);
Tailwind
colors: {
  custom: {
    50: '#c7ddb6',
    500: '#afcf97',
    950: '#000000',
  },
}
SCSS
$custom: #afcf97;
$custom-light: #c7ddb6;
$custom-dark: #000000;
JSON
{
  "hex": "#afcf97",
  "rgb": {
    "r": 175,
    "g": 207,
    "b": 151
  },
  "hsl": {
    "h": 94.286,
    "s": 36.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.81676,
    "c": 0.08335,
    "h": 132.2
  },
  "luminance": 0.55974
}

Semantic roles & 50–950 ramp

primary
#AFCF97
secondary
#8A66A5
accent
#36B07B
background
#FDFEFD
surface
#F9FCF8
border
#D2D5D1
text
#131511
muted
#828481

Preview Lab

Preview with #AFCF97

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

Preview Lab → · Contrast checker → · Palette generator →

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