#AF6840#AF6840

#AF6840 is a mid, moderate orange. Relative luminance 0.194; OKLCH L 58.8% C 0.106 H 49.0°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#AF6840
RGBrgb(175, 104, 64)
HSLhsl(22, 46%, 47%)
HSVhsv(22, 63%, 69%)
CMYKcmyk(0%, 40.6%, 63.4%, 31.4%)
CIE-LABlab(51.14, 24.69, 34.32)
CIE-LCHlch(51.14, 42.27, 54.27°)
OKLaboklab(58.8% 0.0698 0.0804)
OKLCHoklch(58.8% 0.106 49)
XYZxyz(23.5567, 19.3871, 7.3510)
Luminance0.1938 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6840 #4087AF
analogous
#AF404F #AF6840 #AFA040
triadic
#AF6840 #40AF68 #6840AF
tetradic
#AF6840 #4FAF40 #4087AF #A040AF
square
#AF6840 #4FAF40 #4087AF #A040AF
split-complementary
#AF6840 #40AFA0 #404FAF
monochromatic
#55331F #824D30 #AF6840 #C78865 #D7AB92

Accessibility & contrast

On white

4.31
#AF6840 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#AF6840 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6840
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6840#FFFFFF#000000##000000
##AF68401.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C703C
Deuteranopia (green-blind)
#8D8040
Tritanopia (blue-blind)
#BF5A5F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #af6840;
/* rgb */ color: rgb(175, 104, 64);
/* oklch */ color: oklch(58.8% 0.106 49.0);
Tailwind
colors: {
  custom: {
    50: '#cb9376',
    500: '#af6840',
    950: '#000000',
  },
}
SCSS
$custom: #af6840;
$custom-light: #cb9376;
$custom-dark: #000000;
JSON
{
  "hex": "#af6840",
  "rgb": {
    "r": 175,
    "g": 104,
    "b": 64
  },
  "hsl": {
    "h": 21.622,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.58797,
    "c": 0.10644,
    "h": 49
  },
  "luminance": 0.19385
}

Semantic roles & 50–950 ramp

primary
#AF6840
secondary
#88AEC3
accent
#A6D652
background
#FDF9F7
surface
#FAF1ED
border
#D3CBC8
text
#140D08
muted
#837E7B

Preview Lab

Preview with #AF6840

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

Preview Lab → · Contrast checker → · Palette generator →

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