#AF8540#AF8540

#AF8540 is a light, moderate orange. Relative luminance 0.263; OKLCH L 64.4% C 0.101 H 77.7°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#AF8540
RGBrgb(175, 133, 64)
HSLhsl(37, 46%, 47%)
HSVhsv(37, 63%, 69%)
CMYKcmyk(0%, 24%, 63.4%, 31.4%)
CIE-LABlab(58.28, 8.47, 42.61)
CIE-LCHlch(58.28, 43.44, 78.76°)
OKLaboklab(64.35% 0.0215 0.0984)
OKLCHoklch(64.35% 0.101 77.7)
XYZxyz(26.9937, 26.2611, 8.4966)
Luminance0.2626 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8540 #406AAF
analogous
#AF4D40 #AF8540 #A2AF40
triadic
#AF8540 #40AF85 #8540AF
tetradic
#AF8540 #40AF4D #406AAF #AF40A2
square
#AF8540 #40AF4D #406AAF #AF40A2
split-complementary
#AF8540 #40A2AF #4D40AF
monochromatic
#55411F #826330 #AF8540 #C7A265 #D7BD92

Accessibility & contrast

On white

3.36
#AF8540 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#AF8540 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF8540
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF8540#FFFFFF#000000##000000
##AF85401.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#958639
Deuteranopia (green-blind)
#9F9042
Tritanopia (blue-blind)
#BD7976
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #af8540;
/* rgb */ color: rgb(175, 133, 64);
/* oklch */ color: oklch(64.4% 0.101 77.7);
Tailwind
colors: {
  custom: {
    50: '#caa877',
    500: '#af8540',
    950: '#000000',
  },
}
SCSS
$custom: #af8540;
$custom-light: #caa877;
$custom-dark: #000000;
JSON
{
  "hex": "#af8540",
  "rgb": {
    "r": 175,
    "g": 133,
    "b": 64
  },
  "hsl": {
    "h": 37.297,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.64351,
    "c": 0.10068,
    "h": 77.7
  },
  "luminance": 0.26259
}

Semantic roles & 50–950 ramp

primary
#AF8540
secondary
#889EC3
accent
#84D652
background
#FCFAF7
surface
#F9F4ED
border
#D2CEC8
text
#140F09
muted
#827F7B

Preview Lab

Preview with #AF8540

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

Preview Lab → · Contrast checker → · Palette generator →

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