#AFBD97#AFBD97

#AFBD97 is a light, muted yellow-green. Relative luminance 0.477; OKLCH L 77.7% C 0.054 H 124.1°. Best body text is #000000 at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#AFBD97
RGBrgb(175, 189, 151)
HSLhsl(82, 22%, 67%)
HSVhsv(82, 20%, 74%)
CMYKcmyk(7.4%, 0%, 20.1%, 25.9%)
CIE-LABlab(74.66, -11.58, 17.63)
CIE-LCHlch(74.66, 21.10, 123.30°)
OKLaboklab(77.74% -0.0305 0.0451)
OKLCHoklch(77.74% 0.054 124.1)
XYZxyz(41.4620, 47.7434, 36.3032)
Luminance0.4774 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBD97 #A597BD
analogous
#BDB897 #AFBD97 #9CBD97
triadic
#AFBD97 #97AFBD #BD97AF
tetradic
#AFBD97 #97BDB8 #A597BD #BD979C
square
#AFBD97 #97BDB8 #A597BD #BD979C
split-complementary
#AFBD97 #979CBD #B897BD
monochromatic
#738554 #92A572 #AFBD97 #CCD5BC #E9EDE2

Accessibility & contrast

On white

1.99
#AFBD97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.55
#AFBD97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBD97
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBD97#FFFFFF#000000##000000
##AFBD971.001.9910.5510.55
#FFFFFF1.991.0021.0021.00
#00000010.5521.001.001.00
##00000010.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2B895
Deuteranopia (green-blind)
#C0B899
Tritanopia (blue-blind)
#B2B9B2
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #afbd97;
/* rgb */ color: rgb(175, 189, 151);
/* oklch */ color: oklch(77.7% 0.054 124.1);
Tailwind
colors: {
  custom: {
    50: '#c7d0b5',
    500: '#afbd97',
    950: '#000000',
  },
}
SCSS
$custom: #afbd97;
$custom-light: #c7d0b5;
$custom-dark: #000000;
JSON
{
  "hex": "#afbd97",
  "rgb": {
    "r": 175,
    "g": 189,
    "b": 151
  },
  "hsl": {
    "h": 82.105,
    "s": 22.353,
    "l": 66.667
  },
  "oklch": {
    "l": 0.77741,
    "c": 0.05449,
    "h": 124.1
  },
  "luminance": 0.47744
}

Semantic roles & 50–950 ramp

primary
#AFBD97
secondary
#D6D2DE
accent
#45A167
background
#FCFCFB
surface
#F8F9F6
border
#D1D2D0
text
#131411
muted
#828280

Preview Lab

Preview with #AFBD97

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

Preview Lab → · Contrast checker → · Palette generator →

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