#AFCD97#AFCD97

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

Color values

HEX#AFCD97
RGBrgb(175, 205, 151)
HSLhsl(93, 35%, 70%)
HSVhsv(93, 26%, 80%)
CMYKcmyk(14.6%, 0%, 26.3%, 19.6%)
CIE-LABlab(79.05, -19.71, 23.67)
CIE-LCHlch(79.05, 30.80, 129.79°)
OKLaboklab(81.24% -0.0532 0.0599)
OKLCHoklch(81.24% 0.08 131.6)
XYZxyz(45.0955, 55.0104, 37.5144)
Luminance0.5501 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCD97 #B597CD
analogous
#CACD97 #AFCD97 #97CD9A
triadic
#AFCD97 #97AFCD #CD97AF
tetradic
#AFCD97 #97CACD #B597CD #CD9A97
square
#AFCD97 #97CACD #B597CD #CD9A97
split-complementary
#AFCD97 #9A97CD #CD97CA
monochromatic
#709E4C #8FB96E #AFCD97 #CFE1C0 #EFF5EA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFCD97#FFFFFF#000000##000000
##AFCD971.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)
#D2C594
Deuteranopia (green-blind)
#CDC39A
Tritanopia (blue-blind)
#B0C8BF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #afcd97;
/* rgb */ color: rgb(175, 205, 151);
/* oklch */ color: oklch(81.2% 0.080 131.6);
Tailwind
colors: {
  custom: {
    50: '#c7dcb6',
    500: '#afcd97',
    950: '#000000',
  },
}
SCSS
$custom: #afcd97;
$custom-light: #c7dcb6;
$custom-dark: #000000;
JSON
{
  "hex": "#afcd97",
  "rgb": {
    "r": 175,
    "g": 205,
    "b": 151
  },
  "hsl": {
    "h": 93.333,
    "s": 35.065,
    "l": 69.804
  },
  "oklch": {
    "l": 0.81235,
    "c": 0.08015,
    "h": 131.6
  },
  "luminance": 0.55011
}

Semantic roles & 50–950 ramp

primary
#AFCD97
secondary
#8766A2
accent
#38AE79
background
#FDFEFD
surface
#F9FCF8
border
#D2D5D1
text
#131511
muted
#828481

Preview Lab

Preview with #AFCD97

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

Preview Lab → · Contrast checker → · Palette generator →

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