#B9842A#B9842A

#B9842A is a light, vivid orange. Relative luminance 0.270; OKLCH L 65.1% C 0.121 H 76.2°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#B9842A
RGBrgb(185, 132, 42)
HSLhsl(38, 63%, 45%)
HSVhsv(38, 77%, 73%)
CMYKcmyk(0%, 28.6%, 77.3%, 27.5%)
CIE-LABlab(58.96, 12.25, 53.61)
CIE-LCHlch(58.96, 54.99, 77.13°)
OKLaboklab(65.07% 0.0289 0.1174)
OKLCHoklch(65.07% 0.121 76.2)
XYZxyz(28.6788, 26.9864, 5.8885)
Luminance0.2698 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9842A #2A5FB9
analogous
#B93C2A #B9842A #A7B92A
triadic
#B9842A #2AB984 #842AB9
tetradic
#B9842A #2AB93C #2A5FB9 #B92AA7
square
#B9842A #2AB93C #2A5FB9 #B92AA7
split-complementary
#B9842A #2AA7B9 #3C2AB9
monochromatic
#553D13 #87601F #B9842A #D6A24A #E1BC7C

Accessibility & contrast

On white

3.28
#B9842A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#B9842A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B9842A
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9842A#FFFFFF#000000##000000
##B9842A1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#98861C
Deuteranopia (green-blind)
#A4932D
Tritanopia (blue-blind)
#C97672
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b9842a;
/* rgb */ color: rgb(185, 132, 42);
/* oklch */ color: oklch(65.1% 0.121 76.2);
Tailwind
colors: {
  custom: {
    50: '#d3a76a',
    500: '#b9842a',
    950: '#000000',
  },
}
SCSS
$custom: #b9842a;
$custom-light: #d3a76a;
$custom-dark: #000000;
JSON
{
  "hex": "#b9842a",
  "rgb": {
    "r": 185,
    "g": 132,
    "b": 42
  },
  "hsl": {
    "h": 37.762,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.65072,
    "c": 0.12087,
    "h": 76.2
  },
  "luminance": 0.26984
}

Semantic roles & 50–950 ramp

primary
#B9842A
secondary
#7594CA
accent
#7FE642
background
#FDFAF6
surface
#FBF4EB
border
#D4CEC6
text
#150F07
muted
#837F7A

Preview Lab

Preview with #B9842A

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

Preview Lab → · Contrast checker → · Palette generator →

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