#AF7342#AF7342

#AF7342 is a mid, moderate orange. Relative luminance 0.218; OKLCH L 60.9% C 0.100 H 58.6°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#AF7342
RGBrgb(175, 115, 66)
HSLhsl(27, 45%, 47%)
HSVhsv(27, 62%, 69%)
CMYKcmyk(0%, 34.3%, 62.3%, 31.4%)
CIE-LABlab(53.78, 18.69, 36.38)
CIE-LCHlch(53.78, 40.90, 62.80°)
OKLaboklab(60.85% 0.052 0.0851)
OKLCHoklch(60.85% 0.1 58.6)
XYZxyz(24.7950, 21.7709, 8.0495)
Luminance0.2177 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7342 #427EAF
analogous
#AF4248 #AF7342 #AFA942
triadic
#AF7342 #42AF73 #7342AF
tetradic
#AF7342 #48AF42 #427EAF #A942AF
square
#AF7342 #48AF42 #427EAF #A942AF
split-complementary
#AF7342 #42AFA9 #4248AF
monochromatic
#563920 #835631 #AF7342 #C69268 #D7B295

Accessibility & contrast

On white

3.92
#AF7342 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#AF7342 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7342
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7342#FFFFFF#000000##000000
##AF73421.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#85783D
Deuteranopia (green-blind)
#938642
Tritanopia (blue-blind)
#BE6668
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #af7342;
/* rgb */ color: rgb(175, 115, 66);
/* oklch */ color: oklch(60.9% 0.100 58.6);
Tailwind
colors: {
  custom: {
    50: '#cb9b78',
    500: '#af7342',
    950: '#000000',
  },
}
SCSS
$custom: #af7342;
$custom-light: #cb9b78;
$custom-dark: #000000;
JSON
{
  "hex": "#af7342",
  "rgb": {
    "r": 175,
    "g": 115,
    "b": 66
  },
  "hsl": {
    "h": 26.972,
    "s": 45.228,
    "l": 47.255
  },
  "oklch": {
    "l": 0.6085,
    "c": 0.09978,
    "h": 58.6
  },
  "luminance": 0.21769
}

Semantic roles & 50–950 ramp

primary
#AF7342
secondary
#8AA9C2
accent
#9AD553
background
#FCF9F7
surface
#F9F2ED
border
#D2CCC8
text
#140E09
muted
#827E7B

Preview Lab

Preview with #AF7342

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

Preview Lab → · Contrast checker → · Palette generator →

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