#AF795C#AF795C

#AF795C is a light, moderate orange. Relative luminance 0.236; OKLCH L 62.4% C 0.080 H 49.0°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#AF795C
RGBrgb(175, 121, 92)
HSLhsl(21, 34%, 52%)
HSVhsv(21, 47%, 69%)
CMYKcmyk(0%, 30.9%, 47.4%, 31.4%)
CIE-LABlab(55.65, 17.61, 24.35)
CIE-LCHlch(55.65, 30.05, 54.13°)
OKLaboklab(62.42% 0.0522 0.0601)
OKLCHoklch(62.42% 0.08 49)
XYZxyz(26.4496, 23.5634, 13.2782)
Luminance0.2356 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF795C #5C92AF
analogous
#AF5C69 #AF795C #AFA25C
triadic
#AF795C #5CAF79 #795CAF
tetradic
#AF795C #69AF5C #5C92AF #A25CAF
square
#AF795C #69AF5C #5C92AF #A25CAF
split-complementary
#AF795C #5CAFA2 #5C69AF
monochromatic
#614130 #8A5C44 #AF795C #C39B85 #D7BCAE

Accessibility & contrast

On white

3.68
#AF795C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#AF795C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF795C
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF795C#FFFFFF#000000##000000
##AF795C1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#887E5A
Deuteranopia (green-blind)
#948A5C
Tritanopia (blue-blind)
#BC6F72
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #af795c;
/* rgb */ color: rgb(175, 121, 92);
/* oklch */ color: oklch(62.4% 0.080 49.0);
Tailwind
colors: {
  custom: {
    50: '#c9a08a',
    500: '#af795c',
    950: '#000000',
  },
}
SCSS
$custom: #af795c;
$custom-light: #c9a08a;
$custom-dark: #000000;
JSON
{
  "hex": "#af795c",
  "rgb": {
    "r": 175,
    "g": 121,
    "b": 92
  },
  "hsl": {
    "h": 20.964,
    "s": 34.156,
    "l": 52.353
  },
  "oklch": {
    "l": 0.62424,
    "c": 0.07963,
    "h": 49
  },
  "luminance": 0.23561
}

Semantic roles & 50–950 ramp

primary
#AF795C
secondary
#A1B9C5
accent
#A4CA5E
background
#FCF9F8
surface
#F9F2F0
border
#D2CCCB
text
#130E0B
muted
#827E7C

Preview Lab

Preview with #AF795C

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

Preview Lab → · Contrast checker → · Palette generator →

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