#AFBB97#AFBB97

#AFBB97 is a light, muted yellow-green. Relative luminance 0.469; OKLCH L 77.3% C 0.051 H 122.6°. Best body text is #000000 at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#AFBB97
RGBrgb(175, 187, 151)
HSLhsl(80, 21%, 66%)
HSVhsv(80, 19%, 73%)
CMYKcmyk(6.4%, 0%, 19.3%, 26.7%)
CIE-LABlab(74.12, -10.54, 16.88)
CIE-LCHlch(74.12, 19.90, 122.00°)
OKLaboklab(77.31% -0.0276 0.0432)
OKLCHoklch(77.31% 0.051 122.6)
XYZxyz(41.0347, 46.8889, 36.1608)
Luminance0.4689 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBB97 #A397BB
analogous
#BBB597 #AFBB97 #9DBB97
triadic
#AFBB97 #97AFBB #BB97AF
tetradic
#AFBB97 #97BBB5 #A397BB #BB979D
square
#AFBB97 #97BBB5 #A397BB #BB979D
split-complementary
#AFBB97 #979DBB #B597BB
monochromatic
#738255 #93A372 #AFBB97 #CBD3BC #E8EBE1

Accessibility & contrast

On white

2.02
#AFBB97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.38
#AFBB97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBB97
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBB97#FFFFFF#000000##000000
##AFBB971.002.0210.3810.38
#FFFFFF2.021.0021.0021.00
#00000010.3821.001.001.00
##00000010.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0B695
Deuteranopia (green-blind)
#BEB698
Tritanopia (blue-blind)
#B2B7B1
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #afbb97;
/* rgb */ color: rgb(175, 187, 151);
/* oklch */ color: oklch(77.3% 0.051 122.6);
Tailwind
colors: {
  custom: {
    50: '#c7cfb5',
    500: '#afbb97',
    950: '#000000',
  },
}
SCSS
$custom: #afbb97;
$custom-light: #c7cfb5;
$custom-dark: #000000;
JSON
{
  "hex": "#afbb97",
  "rgb": {
    "r": 175,
    "g": 187,
    "b": 151
  },
  "hsl": {
    "h": 80,
    "s": 20.93,
    "l": 66.275
  },
  "oklch": {
    "l": 0.77309,
    "c": 0.05132,
    "h": 122.6
  },
  "luminance": 0.46889
}

Semantic roles & 50–950 ramp

primary
#AFBB97
secondary
#D5D1DD
accent
#469F64
background
#FCFCFB
surface
#F8F9F6
border
#D1D2D0
text
#131311
muted
#828280

Preview Lab

Preview with #AFBB97

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

Preview Lab → · Contrast checker → · Palette generator →

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