#AF842D#AF842D

#AF842D is a light, moderate orange. Relative luminance 0.258; OKLCH L 64.0% C 0.114 H 81.3°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#AF842D
RGBrgb(175, 132, 45)
HSLhsl(40, 59%, 43%)
HSVhsv(40, 74%, 69%)
CMYKcmyk(0%, 24.6%, 74.3%, 31.4%)
CIE-LABlab(57.85, 7.92, 50.92)
CIE-LCHlch(57.85, 51.53, 81.16°)
OKLaboklab(63.96% 0.0173 0.1128)
OKLCHoklch(63.96% 0.114 81.3)
XYZxyz(26.4058, 25.8079, 6.0728)
Luminance0.2581 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF842D #2D58AF
analogous
#AF432D #AF842D #99AF2D
triadic
#AF842D #2DAF84 #842DAF
tetradic
#AF842D #2DAF43 #2D58AF #AF2D99
square
#AF842D #2DAF43 #2D58AF #AF2D99
split-complementary
#AF842D #2D99AF #432DAF
monochromatic
#4E3B14 #7E5F20 #AF842D #D0A349 #DDBC7A

Accessibility & contrast

On white

3.41
#AF842D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#AF842D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF842D
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF842D#FFFFFF#000000##000000
##AF842D1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#968521
Deuteranopia (green-blind)
#A08F31
Tritanopia (blue-blind)
#BE7772
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #af842d;
/* rgb */ color: rgb(175, 132, 45);
/* oklch */ color: oklch(64.0% 0.114 81.3);
Tailwind
colors: {
  custom: {
    50: '#cba76c',
    500: '#af842d',
    950: '#000000',
  },
}
SCSS
$custom: #af842d;
$custom-light: #cba76c;
$custom-dark: #000000;
JSON
{
  "hex": "#af842d",
  "rgb": {
    "r": 175,
    "g": 132,
    "b": 45
  },
  "hsl": {
    "h": 40.154,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.63959,
    "c": 0.11409,
    "h": 81.3
  },
  "luminance": 0.25806
}

Semantic roles & 50–950 ramp

primary
#AF842D
secondary
#738EC5
accent
#79E246
background
#FDFAF6
surface
#FAF4EC
border
#D3CEC7
text
#140F07
muted
#837F7A

Preview Lab

Preview with #AF842D

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

Preview Lab → · Contrast checker → · Palette generator →

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