#AF8240#AF8240

#AF8240 is a light, moderate orange. Relative luminance 0.254; OKLCH L 63.7% C 0.100 H 74.7°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#AF8240
RGBrgb(175, 130, 64)
HSLhsl(36, 46%, 47%)
HSVhsv(36, 63%, 69%)
CMYKcmyk(0%, 25.7%, 63.4%, 31.4%)
CIE-LABlab(57.51, 10.14, 41.73)
CIE-LCHlch(57.51, 42.95, 76.34°)
OKLaboklab(63.75% 0.0264 0.0965)
OKLCHoklch(63.75% 0.1 74.7)
XYZxyz(26.5888, 25.4513, 8.3617)
Luminance0.2545 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8240 #406DAF
analogous
#AF4B40 #AF8240 #A5AF40
triadic
#AF8240 #40AF82 #8240AF
tetradic
#AF8240 #40AF4B #406DAF #AF40A5
square
#AF8240 #40AF4B #406DAF #AF40A5
split-complementary
#AF8240 #40A5AF #4B40AF
monochromatic
#553F1F #826130 #AF8240 #C79F65 #D7BB92

Accessibility & contrast

On white

3.45
#AF8240 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#AF8240 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF8240
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF8240#FFFFFF#000000##000000
##AF82401.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#938439
Deuteranopia (green-blind)
#9D8F42
Tritanopia (blue-blind)
#BE7673
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #af8240;
/* rgb */ color: rgb(175, 130, 64);
/* oklch */ color: oklch(63.7% 0.100 74.7);
Tailwind
colors: {
  custom: {
    50: '#caa677',
    500: '#af8240',
    950: '#000000',
  },
}
SCSS
$custom: #af8240;
$custom-light: #caa677;
$custom-dark: #000000;
JSON
{
  "hex": "#af8240",
  "rgb": {
    "r": 175,
    "g": 130,
    "b": 64
  },
  "hsl": {
    "h": 35.676,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.63747,
    "c": 0.10003,
    "h": 74.7
  },
  "luminance": 0.25449
}

Semantic roles & 50–950 ramp

primary
#AF8240
secondary
#88A0C3
accent
#87D652
background
#FCFAF7
surface
#F9F4ED
border
#D2CEC8
text
#140F09
muted
#827F7B

Preview Lab

Preview with #AF8240

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

Preview Lab → · Contrast checker → · Palette generator →

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