#AF7F40#AF7F40

#AF7F40 is a light, moderate orange. Relative luminance 0.247; OKLCH L 63.1% C 0.100 H 71.7°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#AF7F40
RGBrgb(175, 127, 64)
HSLhsl(34, 46%, 47%)
HSVhsv(34, 63%, 69%)
CMYKcmyk(0%, 27.4%, 63.4%, 31.4%)
CIE-LABlab(56.75, 11.82, 40.86)
CIE-LCHlch(56.75, 42.54, 73.87°)
OKLaboklab(63.15% 0.0313 0.0946)
OKLCHoklch(63.15% 0.1 71.7)
XYZxyz(26.1956, 24.6649, 8.2306)
Luminance0.2466 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7F40 #4070AF
analogous
#AF4740 #AF7F40 #A8AF40
triadic
#AF7F40 #40AF7F #7F40AF
tetradic
#AF7F40 #40AF47 #4070AF #AF40A8
square
#AF7F40 #40AF47 #4070AF #AF40A8
split-complementary
#AF7F40 #40A8AF #4740AF
monochromatic
#553E1F #825E30 #AF7F40 #C79D65 #D7B992

Accessibility & contrast

On white

3.54
#AF7F40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#AF7F40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7F40
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7F40#FFFFFF#000000##000000
##AF7F401.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#90813A
Deuteranopia (green-blind)
#9B8D42
Tritanopia (blue-blind)
#BE7371
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #af7f40;
/* rgb */ color: rgb(175, 127, 64);
/* oklch */ color: oklch(63.1% 0.100 71.7);
Tailwind
colors: {
  custom: {
    50: '#caa477',
    500: '#af7f40',
    950: '#000000',
  },
}
SCSS
$custom: #af7f40;
$custom-light: #caa477;
$custom-dark: #000000;
JSON
{
  "hex": "#af7f40",
  "rgb": {
    "r": 175,
    "g": 127,
    "b": 64
  },
  "hsl": {
    "h": 34.054,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.63149,
    "c": 0.09966,
    "h": 71.7
  },
  "luminance": 0.24663
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF7F40

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

Preview Lab → · Contrast checker → · Palette generator →

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