#AF8740#AF8740

#AF8740 is a light, moderate orange. Relative luminance 0.268; OKLCH L 64.8% C 0.101 H 79.7°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#AF8740
RGBrgb(175, 135, 64)
HSLhsl(38, 46%, 47%)
HSVhsv(38, 63%, 69%)
CMYKcmyk(0%, 22.9%, 63.4%, 31.4%)
CIE-LABlab(58.80, 7.36, 43.19)
CIE-LCHlch(58.80, 43.82, 80.34°)
OKLaboklab(64.76% 0.0182 0.0996)
OKLCHoklch(64.76% 0.101 79.7)
XYZxyz(27.2701, 26.8139, 8.5888)
Luminance0.2681 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8740 #4068AF
analogous
#AF4F40 #AF8740 #A0AF40
triadic
#AF8740 #40AF87 #8740AF
tetradic
#AF8740 #40AF4F #4068AF #AF40A0
square
#AF8740 #40AF4F #4068AF #AF40A0
split-complementary
#AF8740 #40A0AF #4F40AF
monochromatic
#55421F #826430 #AF8740 #C7A465 #D7BE92

Accessibility & contrast

On white

3.30
#AF8740 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#AF8740 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF8740
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF8740#FFFFFF#000000##000000
##AF87401.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#978839
Deuteranopia (green-blind)
#A19242
Tritanopia (blue-blind)
#BD7B77
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #af8740;
/* rgb */ color: rgb(175, 135, 64);
/* oklch */ color: oklch(64.8% 0.101 79.7);
Tailwind
colors: {
  custom: {
    50: '#caa977',
    500: '#af8740',
    950: '#000000',
  },
}
SCSS
$custom: #af8740;
$custom-light: #caa977;
$custom-dark: #000000;
JSON
{
  "hex": "#af8740",
  "rgb": {
    "r": 175,
    "g": 135,
    "b": 64
  },
  "hsl": {
    "h": 38.378,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.64757,
    "c": 0.10128,
    "h": 79.7
  },
  "luminance": 0.26812
}

Semantic roles & 50–950 ramp

primary
#AF8740
secondary
#889DC3
accent
#81D652
background
#FCFAF7
surface
#F9F4ED
border
#D2CEC8
text
#140F09
muted
#827F7B

Preview Lab

Preview with #AF8740

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

Preview Lab → · Contrast checker → · Palette generator →

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