#B7842F#B7842F

#B7842F is a light, moderate orange. Relative luminance 0.268; OKLCH L 64.9% C 0.117 H 76.3°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#B7842F
RGBrgb(183, 132, 47)
HSLhsl(38, 59%, 45%)
HSVhsv(38, 74%, 72%)
CMYKcmyk(0%, 27.9%, 74.3%, 28.2%)
CIE-LABlab(58.77, 11.58, 51.28)
CIE-LCHlch(58.77, 52.57, 77.27°)
OKLaboklab(64.88% 0.0277 0.1136)
OKLCHoklch(64.88% 0.117 76.3)
XYZxyz(28.2947, 26.7773, 6.3671)
Luminance0.2677 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7842F #2F62B7
analogous
#B7402F #B7842F #A6B72F
triadic
#B7842F #2FB784 #842FB7
tetradic
#B7842F #2FB740 #2F62B7 #B72FA6
square
#B7842F #2FB740 #2F62B7 #B72FA6
split-complementary
#B7842F #2FA6B7 #402FB7
monochromatic
#563E16 #866122 #B7842F #D2A251 #DFBC82

Accessibility & contrast

On white

3.30
#B7842F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#B7842F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B7842F
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7842F#FFFFFF#000000##000000
##B7842F1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#978623
Deuteranopia (green-blind)
#A39232
Tritanopia (blue-blind)
#C77673
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b7842f;
/* rgb */ color: rgb(183, 132, 47);
/* oklch */ color: oklch(64.9% 0.117 76.3);
Tailwind
colors: {
  custom: {
    50: '#d1a76d',
    500: '#b7842f',
    950: '#000000',
  },
}
SCSS
$custom: #b7842f;
$custom-light: #d1a76d;
$custom-dark: #000000;
JSON
{
  "hex": "#b7842f",
  "rgb": {
    "r": 183,
    "g": 132,
    "b": 47
  },
  "hsl": {
    "h": 37.5,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.6488,
    "c": 0.1169,
    "h": 76.3
  },
  "luminance": 0.26775
}

Semantic roles & 50–950 ramp

primary
#B7842F
secondary
#7A97C8
accent
#80E245
background
#FDFAF6
surface
#FBF4EC
border
#D4CEC7
text
#150F07
muted
#837F7A

Preview Lab

Preview with #B7842F

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

Preview Lab → · Contrast checker → · Palette generator →

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