#AF842F#AF842F

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

Color values

HEX#AF842F
RGBrgb(175, 132, 47)
HSLhsl(40, 58%, 44%)
HSVhsv(40, 73%, 69%)
CMYKcmyk(0%, 24.6%, 73.1%, 31.4%)
CIE-LABlab(57.87, 8.01, 50.09)
CIE-LCHlch(57.87, 50.72, 80.91°)
OKLaboklab(63.98% 0.0178 0.1114)
OKLCHoklch(63.98% 0.113 80.9)
XYZxyz(26.4452, 25.8237, 6.2804)
Luminance0.2582 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF842F #2F5AAF
analogous
#AF442F #AF842F #9AAF2F
triadic
#AF842F #2FAF84 #842FAF
tetradic
#AF842F #2FAF44 #2F5AAF #AF2F9A
square
#AF842F #2FAF44 #2F5AAF #AF2F9A
split-complementary
#AF842F #2F9AAF #442FAF
monochromatic
#4F3B15 #7F6022 #AF842F #CFA34C #DCBC7C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF842F#FFFFFF#000000##000000
##AF842F1.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)
#958523
Deuteranopia (green-blind)
#A08F32
Tritanopia (blue-blind)
#BE7773
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #af842f;
/* rgb */ color: rgb(175, 132, 47);
/* oklch */ color: oklch(64.0% 0.113 80.9);
Tailwind
colors: {
  custom: {
    50: '#cba76d',
    500: '#af842f',
    950: '#000000',
  },
}
SCSS
$custom: #af842f;
$custom-light: #cba76d;
$custom-dark: #000000;
JSON
{
  "hex": "#af842f",
  "rgb": {
    "r": 175,
    "g": 132,
    "b": 47
  },
  "hsl": {
    "h": 39.844,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.63976,
    "c": 0.11282,
    "h": 80.9
  },
  "luminance": 0.25822
}

Semantic roles & 50–950 ramp

primary
#AF842F
secondary
#7590C4
accent
#7BE147
background
#FDFAF6
surface
#FAF4EC
border
#D3CEC7
text
#140F07
muted
#837F7A

Preview Lab

Preview with #AF842F

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

Preview Lab → · Contrast checker → · Palette generator →

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