#AFBC97#AFBC97

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

Color values

HEX#AFBC97
RGBrgb(175, 188, 151)
HSLhsl(81, 22%, 66%)
HSVhsv(81, 20%, 74%)
CMYKcmyk(6.9%, 0%, 19.7%, 26.3%)
CIE-LABlab(74.39, -11.06, 17.25)
CIE-LCHlch(74.39, 20.50, 122.67°)
OKLaboklab(77.53% -0.0291 0.0442)
OKLCHoklch(77.53% 0.053 123.4)
XYZxyz(41.2476, 47.3147, 36.2318)
Luminance0.4732 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBC97 #A497BC
analogous
#BCB797 #AFBC97 #9DBC97
triadic
#AFBC97 #97AFBC #BC97AF
tetradic
#AFBC97 #97BCB7 #A497BC #BC979D
square
#AFBC97 #97BCB7 #A497BC #BC979D
split-complementary
#AFBC97 #979DBC #B797BC
monochromatic
#738455 #92A472 #AFBC97 #CCD4BC #E8ECE1

Accessibility & contrast

On white

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

On black

10.46
#AFBC97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBC97
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBC97#FFFFFF#000000##000000
##AFBC971.002.0110.4610.46
#FFFFFF2.011.0021.0021.00
#00000010.4621.001.001.00
##00000010.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afbc97;
/* rgb */ color: rgb(175, 188, 151);
/* oklch */ color: oklch(77.5% 0.053 123.4);
Tailwind
colors: {
  custom: {
    50: '#c7d0b5',
    500: '#afbc97',
    950: '#000000',
  },
}
SCSS
$custom: #afbc97;
$custom-light: #c7d0b5;
$custom-dark: #000000;
JSON
{
  "hex": "#afbc97",
  "rgb": {
    "r": 175,
    "g": 188,
    "b": 151
  },
  "hsl": {
    "h": 81.081,
    "s": 21.637,
    "l": 66.471
  },
  "oklch": {
    "l": 0.77525,
    "c": 0.0529,
    "h": 123.4
  },
  "luminance": 0.47315
}

Semantic roles & 50–950 ramp

primary
#AFBC97
secondary
#D6D1DD
accent
#45A065
background
#FCFCFB
surface
#F8F9F6
border
#D1D2D0
text
#131411
muted
#828280

Preview Lab

Preview with #AFBC97

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

Preview Lab → · Contrast checker → · Palette generator →

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