#AF8040#AF8040

#AF8040 is a light, moderate orange. Relative luminance 0.249; OKLCH L 63.3% C 0.100 H 72.7°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#AF8040
RGBrgb(175, 128, 64)
HSLhsl(35, 46%, 47%)
HSVhsv(35, 63%, 69%)
CMYKcmyk(0%, 26.9%, 63.4%, 31.4%)
CIE-LABlab(57.00, 11.26, 41.15)
CIE-LCHlch(57.00, 42.67, 74.70°)
OKLaboklab(63.35% 0.0297 0.0952)
OKLCHoklch(63.35% 0.1 72.7)
XYZxyz(26.3254, 24.9244, 8.2739)
Luminance0.2492 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8040 #406FAF
analogous
#AF4940 #AF8040 #A7AF40
triadic
#AF8040 #40AF80 #8040AF
tetradic
#AF8040 #40AF49 #406FAF #AF40A7
square
#AF8040 #40AF49 #406FAF #AF40A7
split-complementary
#AF8040 #40A7AF #4940AF
monochromatic
#553E1F #825F30 #AF8040 #C79E65 #D7BA92

Accessibility & contrast

On white

3.51
#AF8040 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#AF8040 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF8040
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF8040#FFFFFF#000000##000000
##AF80401.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#91823A
Deuteranopia (green-blind)
#9C8D42
Tritanopia (blue-blind)
#BE7472
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #af8040;
/* rgb */ color: rgb(175, 128, 64);
/* oklch */ color: oklch(63.3% 0.100 72.7);
Tailwind
colors: {
  custom: {
    50: '#caa477',
    500: '#af8040',
    950: '#000000',
  },
}
SCSS
$custom: #af8040;
$custom-light: #caa477;
$custom-dark: #000000;
JSON
{
  "hex": "#af8040",
  "rgb": {
    "r": 175,
    "g": 128,
    "b": 64
  },
  "hsl": {
    "h": 34.595,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.63348,
    "c": 0.09975,
    "h": 72.7
  },
  "luminance": 0.24922
}

Semantic roles & 50–950 ramp

primary
#AF8040
secondary
#88A1C3
accent
#8AD652
background
#FCFAF7
surface
#F9F4ED
border
#D2CEC8
text
#140F09
muted
#827F7B

Preview Lab

Preview with #AF8040

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

Preview Lab → · Contrast checker → · Palette generator →

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