#AFBA96#AFBA96

#AFBA96 is a light, muted yellow-green. Relative luminance 0.464; OKLCH L 77.1% C 0.051 H 121.4°. Best body text is #000000 at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#AFBA96
RGBrgb(175, 186, 150)
HSLhsl(78, 21%, 66%)
HSVhsv(78, 19%, 73%)
CMYKcmyk(5.9%, 0%, 19.4%, 27.1%)
CIE-LABlab(73.83, -10.18, 17.01)
CIE-LCHlch(73.83, 19.82, 120.91°)
OKLaboklab(77.07% -0.0266 0.0436)
OKLCHoklch(77.07% 0.051 121.4)
XYZxyz(40.7425, 46.4338, 35.6645)
Luminance0.4643 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBA96 #A196BA
analogous
#BAB396 #AFBA96 #9DBA96
triadic
#AFBA96 #96AFBA #BA96AF
tetradic
#AFBA96 #96BAB3 #A196BA #BA969D
square
#AFBA96 #96BAB3 #A196BA #BA969D
split-complementary
#AFBA96 #969DBA #B396BA
monochromatic
#738155 #93A271 #AFBA96 #CBD2BB #E7EBE0

Accessibility & contrast

On white

2.04
#AFBA96 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.29
#AFBA96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBA96
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBA96#FFFFFF#000000##000000
##AFBA961.002.0410.2910.29
#FFFFFF2.041.0021.0021.00
#00000010.2921.001.001.00
##00000010.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFB694
Deuteranopia (green-blind)
#BDB597
Tritanopia (blue-blind)
#B2B6B0
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afba96;
/* rgb */ color: rgb(175, 186, 150);
/* oklch */ color: oklch(77.1% 0.051 121.4);
Tailwind
colors: {
  custom: {
    50: '#c7ceb5',
    500: '#afba96',
    950: '#000000',
  },
}
SCSS
$custom: #afba96;
$custom-light: #c7ceb5;
$custom-dark: #000000;
JSON
{
  "hex": "#afba96",
  "rgb": {
    "r": 175,
    "g": 186,
    "b": 150
  },
  "hsl": {
    "h": 78.333,
    "s": 20.69,
    "l": 65.882
  },
  "oklch": {
    "l": 0.7707,
    "c": 0.05105,
    "h": 121.4
  },
  "luminance": 0.46434
}

Semantic roles & 50–950 ramp

primary
#AFBA96
secondary
#D4D0DC
accent
#469F62
background
#FCFCFB
surface
#F8F9F6
border
#D1D2D0
text
#131311
muted
#828280

Preview Lab

Preview with #AFBA96

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

Preview Lab → · Contrast checker → · Palette generator →

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