#AFBB98#AFBB98

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

Color values

HEX#AFBB98
RGBrgb(175, 187, 152)
HSLhsl(81, 20%, 66%)
HSVhsv(81, 19%, 73%)
CMYKcmyk(6.4%, 0%, 18.7%, 26.7%)
CIE-LABlab(74.14, -10.38, 16.36)
CIE-LCHlch(74.14, 19.38, 122.40°)
OKLaboklab(77.33% -0.0272 0.042)
OKLCHoklch(77.33% 0.05 122.9)
XYZxyz(41.1163, 46.9216, 36.5903)
Luminance0.4692 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBB98 #A498BB
analogous
#BBB698 #AFBB98 #9EBB98
triadic
#AFBB98 #98AFBB #BB98AF
tetradic
#AFBB98 #98BBB6 #A498BB #BB989E
square
#AFBB98 #98BBB6 #A498BB #BB989E
split-complementary
#AFBB98 #989EBB #B698BB
monochromatic
#738256 #92A373 #AFBB98 #CCD3BD #E8ECE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFBB98#FFFFFF#000000##000000
##AFBB981.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)
#BFB796
Deuteranopia (green-blind)
#BEB699
Tritanopia (blue-blind)
#B2B7B1
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #afbb98;
/* rgb */ color: rgb(175, 187, 152);
/* oklch */ color: oklch(77.3% 0.050 122.9);
Tailwind
colors: {
  custom: {
    50: '#c7cfb6',
    500: '#afbb98',
    950: '#000000',
  },
}
SCSS
$custom: #afbb98;
$custom-light: #c7cfb6;
$custom-dark: #000000;
JSON
{
  "hex": "#afbb98",
  "rgb": {
    "r": 175,
    "g": 187,
    "b": 152
  },
  "hsl": {
    "h": 80.571,
    "s": 20.468,
    "l": 66.471
  },
  "oklch": {
    "l": 0.77333,
    "c": 0.05003,
    "h": 122.9
  },
  "luminance": 0.46922
}

Semantic roles & 50–950 ramp

primary
#AFBB98
secondary
#D6D2DD
accent
#479F65
background
#FCFCFB
surface
#F8F9F6
border
#D1D2D0
text
#131311
muted
#828280

Preview Lab

Preview with #AFBB98

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

Preview Lab → · Contrast checker → · Palette generator →

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