#AFCA97#AFCA97

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

Color values

HEX#AFCA97
RGBrgb(175, 202, 151)
HSLhsl(92, 32%, 69%)
HSVhsv(92, 25%, 79%)
CMYKcmyk(13.4%, 0%, 25.2%, 20.8%)
CIE-LABlab(78.22, -18.21, 22.54)
CIE-LCHlch(78.22, 28.98, 128.94°)
OKLaboklab(80.58% -0.0491 0.0572)
OKLCHoklch(80.58% 0.075 130.6)
XYZxyz(44.3847, 53.5889, 37.2775)
Luminance0.5359 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCA97 #B297CA
analogous
#C9CA97 #AFCA97 #97CA99
triadic
#AFCA97 #97AFCA #CA97AF
tetradic
#AFCA97 #97C9CA #B297CA #CA9997
square
#AFCA97 #97C9CA #B297CA #CA9997
split-complementary
#AFCA97 #9997CA #CA97C9
monochromatic
#71994E #90B56E #AFCA97 #CEDFC0 #EDF3E8

Accessibility & contrast

On white

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

On black

11.72
#AFCA97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCA97
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCA97#FFFFFF#000000##000000
##AFCA971.001.7911.7211.72
#FFFFFF1.791.0021.0021.00
#00000011.7221.001.001.00
##00000011.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFC394
Deuteranopia (green-blind)
#CBC199
Tritanopia (blue-blind)
#B1C6BC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #afca97;
/* rgb */ color: rgb(175, 202, 151);
/* oklch */ color: oklch(80.6% 0.075 130.6);
Tailwind
colors: {
  custom: {
    50: '#c7dab5',
    500: '#afca97',
    950: '#000000',
  },
}
SCSS
$custom: #afca97;
$custom-light: #c7dab5;
$custom-dark: #000000;
JSON
{
  "hex": "#afca97",
  "rgb": {
    "r": 175,
    "g": 202,
    "b": 151
  },
  "hsl": {
    "h": 91.765,
    "s": 32.484,
    "l": 69.216
  },
  "oklch": {
    "l": 0.80575,
    "c": 0.07533,
    "h": 130.6
  },
  "luminance": 0.53589
}

Semantic roles & 50–950 ramp

primary
#AFCA97
secondary
#84669F
accent
#3AAB76
background
#FDFEFD
surface
#F9FBF8
border
#D2D4D1
text
#131411
muted
#828381

Preview Lab

Preview with #AFCA97

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

Preview Lab → · Contrast checker → · Palette generator →

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