#AF842B#AF842B

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

Color values

HEX#AF842B
RGBrgb(175, 132, 43)
HSLhsl(40, 61%, 43%)
HSVhsv(40, 75%, 69%)
CMYKcmyk(0%, 24.6%, 75.4%, 31.4%)
CIE-LABlab(57.84, 7.82, 51.74)
CIE-LCHlch(57.84, 52.32, 81.40°)
OKLaboklab(63.94% 0.0168 0.1141)
OKLCHoklch(63.94% 0.115 81.6)
XYZxyz(26.3682, 25.7929, 5.8748)
Luminance0.2579 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF842B #2B56AF
analogous
#AF422B #AF842B #98AF2B
triadic
#AF842B #2BAF84 #842BAF
tetradic
#AF842B #2BAF42 #2B56AF #AF2B98
square
#AF842B #2BAF42 #2B56AF #AF2B98
split-complementary
#AF842B #2B98AF #422BAF
monochromatic
#4D3A13 #7E5F1F #AF842B #D1A446 #DEBC77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF842B#FFFFFF#000000##000000
##AF842B1.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)
#96851E
Deuteranopia (green-blind)
#A08F2F
Tritanopia (blue-blind)
#BE7772
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #af842b;
/* rgb */ color: rgb(175, 132, 43);
/* oklch */ color: oklch(63.9% 0.115 81.6);
Tailwind
colors: {
  custom: {
    50: '#cba76a',
    500: '#af842b',
    950: '#000000',
  },
}
SCSS
$custom: #af842b;
$custom-light: #cba76a;
$custom-dark: #000000;
JSON
{
  "hex": "#af842b",
  "rgb": {
    "r": 175,
    "g": 132,
    "b": 43
  },
  "hsl": {
    "h": 40.455,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.63944,
    "c": 0.11532,
    "h": 81.6
  },
  "luminance": 0.25791
}

Semantic roles & 50–950 ramp

primary
#AF842B
secondary
#708CC5
accent
#78E444
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#140F07
muted
#837F7A

Preview Lab

Preview with #AF842B

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

Preview Lab → · Contrast checker → · Palette generator →

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