#AF7040#AF7040

#AF7040 is a mid, moderate orange. Relative luminance 0.211; OKLCH L 60.3% C 0.102 H 56.6°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#AF7040
RGBrgb(175, 112, 64)
HSLhsl(26, 46%, 47%)
HSVhsv(26, 63%, 69%)
CMYKcmyk(0%, 36%, 63.4%, 31.4%)
CIE-LABlab(53.03, 20.23, 36.56)
CIE-LCHlch(53.03, 41.78, 61.04°)
OKLaboklab(60.26% 0.0563 0.0853)
OKLCHoklch(60.26% 0.102 56.6)
XYZxyz(24.4005, 21.0747, 7.6322)
Luminance0.2107 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7040 #407FAF
analogous
#AF4047 #AF7040 #AFA840
triadic
#AF7040 #40AF70 #7040AF
tetradic
#AF7040 #47AF40 #407FAF #A840AF
square
#AF7040 #47AF40 #407FAF #A840AF
split-complementary
#AF7040 #40AFA8 #4047AF
monochromatic
#55371F #825330 #AF7040 #C79065 #D7B092

Accessibility & contrast

On white

4.03
#AF7040 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#AF7040 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7040
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7040#FFFFFF#000000##000000
##AF70401.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#83763C
Deuteranopia (green-blind)
#918440
Tritanopia (blue-blind)
#BE6365
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #af7040;
/* rgb */ color: rgb(175, 112, 64);
/* oklch */ color: oklch(60.3% 0.102 56.6);
Tailwind
colors: {
  custom: {
    50: '#cb9976',
    500: '#af7040',
    950: '#000000',
  },
}
SCSS
$custom: #af7040;
$custom-light: #cb9976;
$custom-dark: #000000;
JSON
{
  "hex": "#af7040",
  "rgb": {
    "r": 175,
    "g": 112,
    "b": 64
  },
  "hsl": {
    "h": 25.946,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.6026,
    "c": 0.1022,
    "h": 56.6
  },
  "luminance": 0.21072
}

Semantic roles & 50–950 ramp

primary
#AF7040
secondary
#88A9C3
accent
#9DD652
background
#FDF9F7
surface
#FAF2ED
border
#D3CCC8
text
#140E08
muted
#837E7B

Preview Lab

Preview with #AF7040

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

Preview Lab → · Contrast checker → · Palette generator →

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