#AF7540#AF7540

#AF7540 is a mid, moderate orange. Relative luminance 0.222; OKLCH L 61.2% C 0.101 H 61.5°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#AF7540
RGBrgb(175, 117, 64)
HSLhsl(29, 46%, 47%)
HSVhsv(29, 63%, 69%)
CMYKcmyk(0%, 33.1%, 63.4%, 31.4%)
CIE-LABlab(54.25, 17.43, 37.98)
CIE-LCHlch(54.25, 41.79, 65.35°)
OKLaboklab(61.2% 0.048 0.0884)
OKLCHoklch(61.2% 0.101 61.5)
XYZxyz(24.9676, 22.2089, 7.8213)
Luminance0.2221 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7540 #407AAF
analogous
#AF4042 #AF7540 #AFAD40
triadic
#AF7540 #40AF75 #7540AF
tetradic
#AF7540 #42AF40 #407AAF #AD40AF
square
#AF7540 #42AF40 #407AAF #AD40AF
split-complementary
#AF7540 #40AFAD #4042AF
monochromatic
#55391F #825730 #AF7540 #C79465 #D7B392

Accessibility & contrast

On white

3.86
#AF7540 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#AF7540 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7540
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7540#FFFFFF#000000##000000
##AF75401.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#877A3B
Deuteranopia (green-blind)
#958741
Tritanopia (blue-blind)
#BE6869
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #af7540;
/* rgb */ color: rgb(175, 117, 64);
/* oklch */ color: oklch(61.2% 0.101 61.5);
Tailwind
colors: {
  custom: {
    50: '#cb9d76',
    500: '#af7540',
    950: '#000000',
  },
}
SCSS
$custom: #af7540;
$custom-light: #cb9d76;
$custom-dark: #000000;
JSON
{
  "hex": "#af7540",
  "rgb": {
    "r": 175,
    "g": 117,
    "b": 64
  },
  "hsl": {
    "h": 28.649,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.61203,
    "c": 0.10054,
    "h": 61.5
  },
  "luminance": 0.22207
}

Semantic roles & 50–950 ramp

primary
#AF7540
secondary
#88A7C3
accent
#97D652
background
#FCF9F7
surface
#F9F2ED
border
#D2CCC8
text
#140E08
muted
#827E7B

Preview Lab

Preview with #AF7540

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

Preview Lab → · Contrast checker → · Palette generator →

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