#AFBC98#AFBC98

#AFBC98 is a light, muted yellow-green. Relative luminance 0.473; OKLCH L 77.5% C 0.052 H 123.7°. Best body text is #000000 at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#AFBC98
RGBrgb(175, 188, 152)
HSLhsl(82, 21%, 67%)
HSVhsv(82, 19%, 74%)
CMYKcmyk(6.9%, 0%, 19.1%, 26.3%)
CIE-LABlab(74.41, -10.90, 16.74)
CIE-LCHlch(74.41, 19.98, 123.08°)
OKLaboklab(77.55% -0.0287 0.0429)
OKLCHoklch(77.55% 0.052 123.7)
XYZxyz(41.3292, 47.3473, 36.6613)
Luminance0.4735 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBC98 #A598BC
analogous
#BCB798 #AFBC98 #9DBC98
triadic
#AFBC98 #98AFBC #BC98AF
tetradic
#AFBC98 #98BCB7 #A598BC #BC989D
square
#AFBC98 #98BCB7 #A598BC #BC989D
split-complementary
#AFBC98 #989DBC #B798BC
monochromatic
#738456 #92A473 #AFBC98 #CCD4BD #E9ECE2

Accessibility & contrast

On white

2.01
#AFBC98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.47
#AFBC98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBC98
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBC98#FFFFFF#000000##000000
##AFBC981.002.0110.4710.47
#FFFFFF2.011.0021.0021.00
#00000010.4721.001.001.00
##00000010.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1B796
Deuteranopia (green-blind)
#BFB799
Tritanopia (blue-blind)
#B2B8B2
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #afbc98;
/* rgb */ color: rgb(175, 188, 152);
/* oklch */ color: oklch(77.5% 0.052 123.7);
Tailwind
colors: {
  custom: {
    50: '#c7d0b6',
    500: '#afbc98',
    950: '#000000',
  },
}
SCSS
$custom: #afbc98;
$custom-light: #c7d0b6;
$custom-dark: #000000;
JSON
{
  "hex": "#afbc98",
  "rgb": {
    "r": 175,
    "g": 188,
    "b": 152
  },
  "hsl": {
    "h": 81.667,
    "s": 21.176,
    "l": 66.667
  },
  "oklch": {
    "l": 0.77549,
    "c": 0.05161,
    "h": 123.7
  },
  "luminance": 0.47347
}

Semantic roles & 50–950 ramp

primary
#AFBC98
secondary
#D6D2DE
accent
#46A066
background
#FCFCFB
surface
#F8F9F6
border
#D1D2D0
text
#131411
muted
#828280

Preview Lab

Preview with #AFBC98

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

Preview Lab → · Contrast checker → · Palette generator →

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