#AFA797#AFA797

#AFA797 is a light, muted orange. Relative luminance 0.390; OKLCH L 73.1% C 0.024 H 84.6°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#AFA797
RGBrgb(175, 167, 151)
HSLhsl(40, 13%, 64%)
HSVhsv(40, 14%, 69%)
CMYKcmyk(0%, 4.6%, 13.7%, 31.4%)
CIE-LABlab(68.74, 0.09, 9.31)
CIE-LCHlch(68.74, 9.31, 89.43°)
OKLaboklab(73.06% 0.0023 0.0242)
OKLCHoklch(73.06% 0.024 84.6)
XYZxyz(37.0834, 38.9863, 34.8437)
Luminance0.3899 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA797 #979FAF
analogous
#AF9B97 #AFA797 #ABAF97
triadic
#AFA797 #97AFA7 #A797AF
tetradic
#AFA797 #97AF9B #979FAF #AF97AB
square
#AFA797 #97AF9B #979FAF #AF97AB
split-complementary
#AFA797 #97ABAF #9B97AF
monochromatic
#736A59 #948A74 #AFA797 #CAC4BA #E4E2DC

Accessibility & contrast

On white

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

On black

8.80
#AFA797 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA797
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA797#FFFFFF#000000##000000
##AFA7971.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#ABA696
Deuteranopia (green-blind)
#ADA997
Tritanopia (blue-blind)
#B3A4A2
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #afa797;
/* rgb */ color: rgb(175, 167, 151);
/* oklch */ color: oklch(73.1% 0.024 84.6);
Tailwind
colors: {
  custom: {
    50: '#c7c1b5',
    500: '#afa797',
    950: '#000000',
  },
}
SCSS
$custom: #afa797;
$custom-light: #c7c1b5;
$custom-dark: #000000;
JSON
{
  "hex": "#afa797",
  "rgb": {
    "r": 175,
    "g": 167,
    "b": 151
  },
  "hsl": {
    "h": 40,
    "s": 13.043,
    "l": 63.922
  },
  "oklch": {
    "l": 0.7306,
    "c": 0.02434,
    "h": 84.6
  },
  "luminance": 0.38986
}

Semantic roles & 50–950 ramp

primary
#AFA797
secondary
#CDCFD5
accent
#67974E
background
#FCFBFB
surface
#F8F7F6
border
#D1D0D0
text
#131211
muted
#828180

Preview Lab

Preview with #AFA797

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

Preview Lab → · Contrast checker → · Palette generator →

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