#AF8342#AF8342

#AF8342 is a light, moderate orange. Relative luminance 0.257; OKLCH L 64.0% C 0.099 H 75.1°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#AF8342
RGBrgb(175, 131, 66)
HSLhsl(36, 45%, 47%)
HSVhsv(36, 62%, 69%)
CMYKcmyk(0%, 25.1%, 62.3%, 31.4%)
CIE-LABlab(57.79, 9.73, 41.05)
CIE-LCHlch(57.79, 42.18, 76.67°)
OKLaboklab(63.97% 0.0254 0.0953)
OKLCHoklch(63.97% 0.099 75.1)
XYZxyz(26.7804, 25.7418, 8.7114)
Luminance0.2574 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8342 #426EAF
analogous
#AF4D42 #AF8342 #A4AF42
triadic
#AF8342 #42AF83 #8342AF
tetradic
#AF8342 #42AF4D #426EAF #AF42A4
square
#AF8342 #42AF4D #426EAF #AF42A4
split-complementary
#AF8342 #42A4AF #4D42AF
monochromatic
#564020 #836231 #AF8342 #C6A068 #D7BC95

Accessibility & contrast

On white

3.42
#AF8342 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#AF8342 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF8342
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF8342#FFFFFF#000000##000000
##AF83421.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#93853C
Deuteranopia (green-blind)
#9E8F44
Tritanopia (blue-blind)
#BD7774
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #af8342;
/* rgb */ color: rgb(175, 131, 66);
/* oklch */ color: oklch(64.0% 0.099 75.1);
Tailwind
colors: {
  custom: {
    50: '#caa678',
    500: '#af8342',
    950: '#000000',
  },
}
SCSS
$custom: #af8342;
$custom-light: #caa678;
$custom-dark: #000000;
JSON
{
  "hex": "#af8342",
  "rgb": {
    "r": 175,
    "g": 131,
    "b": 66
  },
  "hsl": {
    "h": 35.78,
    "s": 45.228,
    "l": 47.255
  },
  "oklch": {
    "l": 0.63972,
    "c": 0.0986,
    "h": 75.1
  },
  "luminance": 0.2574
}

Semantic roles & 50–950 ramp

primary
#AF8342
secondary
#8AA1C2
accent
#87D553
background
#FCFAF7
surface
#F9F4ED
border
#D2CEC8
text
#140F09
muted
#827F7B

Preview Lab

Preview with #AF8342

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

Preview Lab → · Contrast checker → · Palette generator →

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