#AF6540#AF6540

#AF6540 is a mid, moderate orange. Relative luminance 0.188; OKLCH L 58.3% C 0.108 H 46.4°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#AF6540
RGBrgb(175, 101, 64)
HSLhsl(20, 46%, 47%)
HSVhsv(20, 63%, 69%)
CMYKcmyk(0%, 42.3%, 63.4%, 31.4%)
CIE-LABlab(50.45, 26.35, 33.49)
CIE-LCHlch(50.45, 42.61, 51.81°)
OKLaboklab(58.26% 0.0748 0.0786)
OKLCHoklch(58.26% 0.108 46.4)
XYZxyz(23.2601, 18.7939, 7.2521)
Luminance0.1879 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6540 #408AAF
analogous
#AF4053 #AF6540 #AF9D40
triadic
#AF6540 #40AF65 #6540AF
tetradic
#AF6540 #53AF40 #408AAF #9D40AF
square
#AF6540 #53AF40 #408AAF #9D40AF
split-complementary
#AF6540 #40AF9D #4053AF
monochromatic
#55311F #824B30 #AF6540 #C78665 #D7A992

Accessibility & contrast

On white

4.41
#AF6540 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#AF6540 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6540
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6540#FFFFFF#000000##000000
##AF65401.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#796E3D
Deuteranopia (green-blind)
#8B7E3F
Tritanopia (blue-blind)
#BF575C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #af6540;
/* rgb */ color: rgb(175, 101, 64);
/* oklch */ color: oklch(58.3% 0.108 46.4);
Tailwind
colors: {
  custom: {
    50: '#cb9176',
    500: '#af6540',
    950: '#000000',
  },
}
SCSS
$custom: #af6540;
$custom-light: #cb9176;
$custom-dark: #000000;
JSON
{
  "hex": "#af6540",
  "rgb": {
    "r": 175,
    "g": 101,
    "b": 64
  },
  "hsl": {
    "h": 20,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.58264,
    "c": 0.10849,
    "h": 46.4
  },
  "luminance": 0.18791
}

Semantic roles & 50–950 ramp

primary
#AF6540
secondary
#88AFC3
accent
#AAD652
background
#FDF9F7
surface
#FAF1ED
border
#D3CBC8
text
#140D08
muted
#837E7B

Preview Lab

Preview with #AF6540

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

Preview Lab → · Contrast checker → · Palette generator →

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