#AF7940#AF7940

#AF7940 is a mid, moderate orange. Relative luminance 0.232; OKLCH L 62.0% C 0.100 H 65.6°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#AF7940
RGBrgb(175, 121, 64)
HSLhsl(31, 46%, 47%)
HSVhsv(31, 63%, 69%)
CMYKcmyk(0%, 30.9%, 63.4%, 31.4%)
CIE-LABlab(55.24, 15.18, 39.13)
CIE-LCHlch(55.24, 41.97, 68.79°)
OKLaboklab(61.97% 0.0413 0.0909)
OKLCHoklch(61.97% 0.1 65.6)
XYZxyz(25.4436, 23.1610, 7.9800)
Luminance0.2316 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7940 #4076AF
analogous
#AF4240 #AF7940 #AEAF40
triadic
#AF7940 #40AF79 #7940AF
tetradic
#AF7940 #40AF42 #4076AF #AF40AE
square
#AF7940 #40AF42 #4076AF #AF40AE
split-complementary
#AF7940 #40AEAF #4240AF
monochromatic
#553B1F #825A30 #AF7940 #C79765 #D7B692

Accessibility & contrast

On white

3.73
#AF7940 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#AF7940 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7940
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7940#FFFFFF#000000##000000
##AF79401.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7D3B
Deuteranopia (green-blind)
#978941
Tritanopia (blue-blind)
#BE6D6C
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #af7940;
/* rgb */ color: rgb(175, 121, 64);
/* oklch */ color: oklch(62.0% 0.100 65.6);
Tailwind
colors: {
  custom: {
    50: '#cb9f77',
    500: '#af7940',
    950: '#000000',
  },
}
SCSS
$custom: #af7940;
$custom-light: #cb9f77;
$custom-dark: #000000;
JSON
{
  "hex": "#af7940",
  "rgb": {
    "r": 175,
    "g": 121,
    "b": 64
  },
  "hsl": {
    "h": 30.811,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.61973,
    "c": 0.09979,
    "h": 65.6
  },
  "luminance": 0.23159
}

Semantic roles & 50–950 ramp

primary
#AF7940
secondary
#88A5C3
accent
#92D652
background
#FCF9F7
surface
#F9F2ED
border
#D2CCC8
text
#140E09
muted
#827E7B

Preview Lab

Preview with #AF7940

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

Preview Lab → · Contrast checker → · Palette generator →

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