#AF8340#AF8340

#AF8340 is a light, moderate orange. Relative luminance 0.257; OKLCH L 63.9% C 0.100 H 75.7°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#AF8340
RGBrgb(175, 131, 64)
HSLhsl(36, 46%, 47%)
HSVhsv(36, 63%, 69%)
CMYKcmyk(0%, 25.1%, 63.4%, 31.4%)
CIE-LABlab(57.77, 9.58, 42.03)
CIE-LCHlch(57.77, 43.11, 77.15°)
OKLaboklab(63.95% 0.0247 0.0971)
OKLCHoklch(63.95% 0.1 75.7)
XYZxyz(26.7225, 25.7186, 8.4062)
Luminance0.2572 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8340 #406CAF
analogous
#AF4B40 #AF8340 #A4AF40
triadic
#AF8340 #40AF83 #8340AF
tetradic
#AF8340 #40AF4B #406CAF #AF40A4
square
#AF8340 #40AF4B #406CAF #AF40A4
split-complementary
#AF8340 #40A4AF #4B40AF
monochromatic
#55401F #826130 #AF8340 #C7A065 #D7BC92

Accessibility & contrast

On white

3.42
#AF8340 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#AF8340 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF8340
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF8340#FFFFFF#000000##000000
##AF83401.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#938439
Deuteranopia (green-blind)
#9E8F42
Tritanopia (blue-blind)
#BD7774
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #af8340;
/* rgb */ color: rgb(175, 131, 64);
/* oklch */ color: oklch(63.9% 0.100 75.7);
Tailwind
colors: {
  custom: {
    50: '#caa677',
    500: '#af8340',
    950: '#000000',
  },
}
SCSS
$custom: #af8340;
$custom-light: #caa677;
$custom-dark: #000000;
JSON
{
  "hex": "#af8340",
  "rgb": {
    "r": 175,
    "g": 131,
    "b": 64
  },
  "hsl": {
    "h": 36.216,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.63948,
    "c": 0.10022,
    "h": 75.7
  },
  "luminance": 0.25717
}

Semantic roles & 50–950 ramp

primary
#AF8340
secondary
#889FC3
accent
#86D652
background
#FCFAF7
surface
#F9F4ED
border
#D2CEC8
text
#140F09
muted
#827F7B

Preview Lab

Preview with #AF8340

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

Preview Lab → · Contrast checker → · Palette generator →

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