#AFA796#AFA796

#AFA796 is a light, muted orange. Relative luminance 0.390; OKLCH L 73.0% C 0.026 H 85.8°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#AFA796
RGBrgb(175, 167, 150)
HSLhsl(41, 14%, 64%)
HSVhsv(41, 14%, 69%)
CMYKcmyk(0%, 4.6%, 14.3%, 31.4%)
CIE-LABlab(68.72, -0.07, 9.83)
CIE-LCHlch(68.72, 9.83, 90.42°)
OKLaboklab(73.03% 0.0019 0.0256)
OKLCHoklch(73.03% 0.026 85.8)
XYZxyz(37.0025, 38.9539, 34.4178)
Luminance0.3895 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA796 #969EAF
analogous
#AF9A96 #AFA796 #AAAF96
triadic
#AFA796 #96AFA7 #A796AF
tetradic
#AFA796 #96AF9A #969EAF #AF96AA
square
#AFA796 #96AF9A #969EAF #AF96AA
split-complementary
#AFA796 #96AAAF #9A96AF
monochromatic
#736A58 #958A73 #AFA796 #C9C4B9 #E4E1DB

Accessibility & contrast

On white

2.39
#AFA796 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#AFA796 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA796
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA796#FFFFFF#000000##000000
##AFA7961.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#ABA695
Deuteranopia (green-blind)
#ADA996
Tritanopia (blue-blind)
#B4A4A2
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #afa796;
/* rgb */ color: rgb(175, 167, 150);
/* oklch */ color: oklch(73.0% 0.026 85.8);
Tailwind
colors: {
  custom: {
    50: '#c7c1b4',
    500: '#afa796',
    950: '#000000',
  },
}
SCSS
$custom: #afa796;
$custom-light: #c7c1b4;
$custom-dark: #000000;
JSON
{
  "hex": "#afa796",
  "rgb": {
    "r": 175,
    "g": 167,
    "b": 150
  },
  "hsl": {
    "h": 40.8,
    "s": 13.514,
    "l": 63.725
  },
  "oklch": {
    "l": 0.73034,
    "c": 0.02562,
    "h": 85.8
  },
  "luminance": 0.38953
}

Semantic roles & 50–950 ramp

primary
#AFA796
secondary
#CCCFD5
accent
#65984E
background
#FCFBFB
surface
#F8F7F6
border
#D1D0D0
text
#131211
muted
#828180

Preview Lab

Preview with #AFA796

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

Preview Lab → · Contrast checker → · Palette generator →

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