#AFA798#AFA798

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

Color values

HEX#AFA798
RGBrgb(175, 167, 152)
HSLhsl(39, 13%, 64%)
HSVhsv(39, 13%, 69%)
CMYKcmyk(0%, 4.6%, 13.1%, 31.4%)
CIE-LABlab(68.77, 0.26, 8.79)
CIE-LCHlch(68.77, 8.79, 88.32°)
OKLaboklab(73.09% 0.0027 0.0229)
OKLCHoklch(73.09% 0.023 83.3)
XYZxyz(37.1649, 39.0189, 35.2732)
Luminance0.3902 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA798 #98A0AF
analogous
#AF9C98 #AFA798 #ACAF98
triadic
#AFA798 #98AFA7 #A798AF
tetradic
#AFA798 #98AF9C #98A0AF #AF98AC
square
#AFA798 #98AF9C #98A0AF #AF98AC
split-complementary
#AFA798 #98ACAF #9C98AF
monochromatic
#736A59 #948A76 #AFA798 #CAC4BA #E5E2DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFA798#FFFFFF#000000##000000
##AFA7981.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)
#ABA797
Deuteranopia (green-blind)
#ADA998
Tritanopia (blue-blind)
#B3A4A3
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #afa798;
/* rgb */ color: rgb(175, 167, 152);
/* oklch */ color: oklch(73.1% 0.023 83.3);
Tailwind
colors: {
  custom: {
    50: '#c7c1b6',
    500: '#afa798',
    950: '#000000',
  },
}
SCSS
$custom: #afa798;
$custom-light: #c7c1b6;
$custom-dark: #000000;
JSON
{
  "hex": "#afa798",
  "rgb": {
    "r": 175,
    "g": 167,
    "b": 152
  },
  "hsl": {
    "h": 39.13,
    "s": 12.568,
    "l": 64.118
  },
  "oklch": {
    "l": 0.73086,
    "c": 0.02307,
    "h": 83.3
  },
  "luminance": 0.39018
}

Semantic roles & 50–950 ramp

primary
#AFA798
secondary
#CDD0D5
accent
#68974F
background
#FCFBFB
surface
#F8F7F6
border
#D1D0D0
text
#131211
muted
#828180

Preview Lab

Preview with #AFA798

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

Preview Lab → · Contrast checker → · Palette generator →

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