#AF7942#AF7942

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

Color values

HEX#AF7942
RGBrgb(175, 121, 66)
HSLhsl(30, 45%, 47%)
HSVhsv(30, 62%, 69%)
CMYKcmyk(0%, 30.9%, 62.3%, 31.4%)
CIE-LABlab(55.26, 15.33, 38.11)
CIE-LCHlch(55.26, 41.08, 68.09°)
OKLaboklab(62% 0.042 0.0889)
OKLCHoklch(62% 0.098 64.7)
XYZxyz(25.5016, 23.1841, 8.2851)
Luminance0.2318 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7942 #4278AF
analogous
#AF4242 #AF7942 #AFAF42
triadic
#AF7942 #42AF79 #7942AF
tetradic
#AF7942 #42AF42 #4278AF #AF42AF
square
#AF7942 #42AF42 #4278AF #AF42AF
split-complementary
#AF7942 #42AFAF #4242AF
monochromatic
#563C20 #835A31 #AF7942 #C69868 #D7B695

Accessibility & contrast

On white

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

On black

5.64
#AF7942 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7942
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7942#FFFFFF#000000##000000
##AF79421.003.735.645.64
#FFFFFF3.731.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af7942;
/* rgb */ color: rgb(175, 121, 66);
/* oklch */ color: oklch(62.0% 0.098 64.7);
Tailwind
colors: {
  custom: {
    50: '#ca9f78',
    500: '#af7942',
    950: '#000000',
  },
}
SCSS
$custom: #af7942;
$custom-light: #ca9f78;
$custom-dark: #000000;
JSON
{
  "hex": "#af7942",
  "rgb": {
    "r": 175,
    "g": 121,
    "b": 66
  },
  "hsl": {
    "h": 30.275,
    "s": 45.228,
    "l": 47.255
  },
  "oklch": {
    "l": 0.61999,
    "c": 0.09834,
    "h": 64.7
  },
  "luminance": 0.23182
}

Semantic roles & 50–950 ramp

primary
#AF7942
secondary
#8AA6C2
accent
#93D553
background
#FCF9F7
surface
#F9F2ED
border
#D2CCC8
text
#140E09
muted
#827E7B

Preview Lab

Preview with #AF7942

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

Preview Lab → · Contrast checker → · Palette generator →

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