#AFA795#AFA795

#AFA795 is a light, muted orange. Relative luminance 0.389; OKLCH L 73.0% C 0.027 H 86.9°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#AFA795
RGBrgb(175, 167, 149)
HSLhsl(42, 14%, 64%)
HSVhsv(42, 15%, 69%)
CMYKcmyk(0%, 4.6%, 14.9%, 31.4%)
CIE-LABlab(68.69, -0.24, 10.34)
CIE-LCHlch(68.69, 10.35, 91.31°)
OKLaboklab(73.01% 0.0015 0.0269)
OKLCHoklch(73.01% 0.027 86.9)
XYZxyz(36.9223, 38.9218, 33.9956)
Luminance0.3892 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA795 #959DAF
analogous
#AF9A95 #AFA795 #AAAF95
triadic
#AFA795 #95AFA7 #A795AF
tetradic
#AFA795 #95AF9A #959DAF #AF95AA
square
#AFA795 #95AF9A #959DAF #AF95AA
split-complementary
#AFA795 #95AAAF #9A95AF
monochromatic
#736A57 #958A72 #AFA795 #C9C4B8 #E4E1DB

Accessibility & contrast

On white

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

On black

8.78
#AFA795 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA795
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA795#FFFFFF#000000##000000
##AFA7951.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afa795;
/* rgb */ color: rgb(175, 167, 149);
/* oklch */ color: oklch(73.0% 0.027 86.9);
Tailwind
colors: {
  custom: {
    50: '#c7c1b4',
    500: '#afa795',
    950: '#000000',
  },
}
SCSS
$custom: #afa795;
$custom-light: #c7c1b4;
$custom-dark: #000000;
JSON
{
  "hex": "#afa795",
  "rgb": {
    "r": 175,
    "g": 167,
    "b": 149
  },
  "hsl": {
    "h": 41.538,
    "s": 13.978,
    "l": 63.529
  },
  "oklch": {
    "l": 0.73008,
    "c": 0.02691,
    "h": 86.9
  },
  "luminance": 0.38921
}

Semantic roles & 50–950 ramp

primary
#AFA795
secondary
#CBCED5
accent
#64984D
background
#FCFBFB
surface
#F8F7F6
border
#D1D0D0
text
#131211
muted
#828180

Preview Lab

Preview with #AFA795

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

Preview Lab → · Contrast checker → · Palette generator →

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