#AFB59C#AFB59C

#AFB59C is a light, muted yellow-green. Relative luminance 0.446; OKLCH L 76.1% C 0.035 H 118.2°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#AFB59C
RGBrgb(175, 181, 156)
HSLhsl(74, 14%, 66%)
HSVhsv(74, 14%, 71%)
CMYKcmyk(3.3%, 0%, 13.8%, 29%)
CIE-LABlab(72.60, -6.58, 12.04)
CIE-LCHlch(72.60, 13.72, 118.66°)
OKLaboklab(76.14% -0.0167 0.0312)
OKLCHoklch(76.14% 0.035 118.2)
XYZxyz(40.2031, 44.5621, 37.9294)
Luminance0.4456 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB59C #A29CB5
analogous
#B5AE9C #AFB59C #A2B59C
triadic
#AFB59C #9CAFB5 #B59CAF
tetradic
#AFB59C #9CB5AE #A29CB5 #B59CA2
square
#AFB59C #9CB5AE #A29CB5 #B59CA2
split-complementary
#AFB59C #9CA2B5 #AE9CB5
monochromatic
#737B5C #939B79 #AFB59C #CBCFBF #E8E9E2

Accessibility & contrast

On white

2.12
#AFB59C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.91
#AFB59C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB59C
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB59C#FFFFFF#000000##000000
##AFB59C1.002.129.919.91
#FFFFFF2.121.0021.0021.00
#0000009.9121.001.001.00
##0000009.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9B29B
Deuteranopia (green-blind)
#B8B29D
Tritanopia (blue-blind)
#B2B2AE
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #afb59c;
/* rgb */ color: rgb(175, 181, 156);
/* oklch */ color: oklch(76.1% 0.035 118.2);
Tailwind
colors: {
  custom: {
    50: '#c7cbb9',
    500: '#afb59c',
    950: '#000000',
  },
}
SCSS
$custom: #afb59c;
$custom-light: #c7cbb9;
$custom-dark: #000000;
JSON
{
  "hex": "#afb59c",
  "rgb": {
    "r": 175,
    "g": 181,
    "b": 156
  },
  "hsl": {
    "h": 74.4,
    "s": 14.451,
    "l": 66.078
  },
  "oklch": {
    "l": 0.76144,
    "c": 0.03535,
    "h": 118.2
  },
  "luminance": 0.44562
}

Semantic roles & 50–950 ramp

primary
#AFB59C
secondary
#D4D2DB
accent
#4D995F
background
#FCFCFB
surface
#F8F8F6
border
#D1D1D0
text
#131311
muted
#828280

Preview Lab

Preview with #AFB59C

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

Preview Lab → · Contrast checker → · Palette generator →

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