#AF8F40#AF8F40

#AF8F40 is a light, moderate orange. Relative luminance 0.291; OKLCH L 66.4% C 0.105 H 87.1°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#AF8F40
RGBrgb(175, 143, 64)
HSLhsl(43, 46%, 47%)
HSVhsv(43, 63%, 69%)
CMYKcmyk(0%, 18.3%, 63.4%, 31.4%)
CIE-LABlab(60.90, 2.93, 45.54)
CIE-LCHlch(60.90, 45.63, 86.32°)
OKLaboklab(66.4% 0.0053 0.1047)
OKLCHoklch(66.4% 0.105 87.1)
XYZxyz(28.4285, 29.1307, 8.9749)
Luminance0.2913 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8F40 #4060AF
analogous
#AF5840 #AF8F40 #98AF40
triadic
#AF8F40 #40AF8F #8F40AF
tetradic
#AF8F40 #40AF58 #4060AF #AF4098
square
#AF8F40 #40AF58 #4060AF #AF4098
split-complementary
#AF8F40 #4098AF #5840AF
monochromatic
#55461F #826A30 #AF8F40 #C7AB65 #D7C392

Accessibility & contrast

On white

3.08
#AF8F40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#AF8F40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF8F40
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF8F40#FFFFFF#000000##000000
##AF8F401.003.086.836.83
#FFFFFF3.081.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8E38
Deuteranopia (green-blind)
#A69643
Tritanopia (blue-blind)
#BD847E
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #af8f40;
/* rgb */ color: rgb(175, 143, 64);
/* oklch */ color: oklch(66.4% 0.105 87.1);
Tailwind
colors: {
  custom: {
    50: '#caaf78',
    500: '#af8f40',
    950: '#000000',
  },
}
SCSS
$custom: #af8f40;
$custom-light: #caaf78;
$custom-dark: #000000;
JSON
{
  "hex": "#af8f40",
  "rgb": {
    "r": 175,
    "g": 143,
    "b": 64
  },
  "hsl": {
    "h": 42.703,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.66403,
    "c": 0.10478,
    "h": 87.1
  },
  "luminance": 0.29129
}

Semantic roles & 50–950 ramp

primary
#AF8F40
secondary
#8899C3
accent
#78D652
background
#FCFAF7
surface
#F9F4ED
border
#D2CEC8
text
#141009
muted
#827F7B

Preview Lab

Preview with #AF8F40

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

Preview Lab → · Contrast checker → · Palette generator →

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