#B9942B#B9942B

#B9942B is a light, vivid orange. Relative luminance 0.317; OKLCH L 68.3% C 0.125 H 88.3°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#B9942B
RGBrgb(185, 148, 43)
HSLhsl(44, 62%, 45%)
HSVhsv(44, 77%, 73%)
CMYKcmyk(0%, 20%, 76.8%, 27.5%)
CIE-LABlab(63.07, 3.49, 57.12)
CIE-LCHlch(63.07, 57.23, 86.51°)
OKLaboklab(68.3% 0.0037 0.1251)
OKLCHoklch(68.3% 0.125 88.3)
XYZxyz(31.0354, 31.6706, 6.7634)
Luminance0.3167 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9942B #2B50B9
analogous
#B94D2B #B9942B #97B92B
triadic
#B9942B #2BB994 #942BB9
tetradic
#B9942B #2BB94D #2B50B9 #B92B97
square
#B9942B #2BB94D #2B50B9 #B92B97
split-complementary
#B9942B #2B97B9 #4D2BB9
monochromatic
#564514 #876C1F #B9942B #D5B24C #E1C77E

Accessibility & contrast

On white

2.86
#B9942B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#B9942B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9942B
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9942B#FFFFFF#000000##000000
##B9942B1.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69318
Deuteranopia (green-blind)
#AF9D31
Tritanopia (blue-blind)
#C98780
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b9942b;
/* rgb */ color: rgb(185, 148, 43);
/* oklch */ color: oklch(68.3% 0.125 88.3);
Tailwind
colors: {
  custom: {
    50: '#d2b36c',
    500: '#b9942b',
    950: '#000000',
  },
}
SCSS
$custom: #b9942b;
$custom-light: #d2b36c;
$custom-dark: #000000;
JSON
{
  "hex": "#b9942b",
  "rgb": {
    "r": 185,
    "g": 148,
    "b": 43
  },
  "hsl": {
    "h": 44.366,
    "s": 62.281,
    "l": 44.706
  },
  "oklch": {
    "l": 0.68296,
    "c": 0.12514,
    "h": 88.3
  },
  "luminance": 0.31669
}

Semantic roles & 50–950 ramp

primary
#B9942B
secondary
#768CC9
accent
#6DE542
background
#FDFAF6
surface
#FBF5EC
border
#D4CFC7
text
#151007
muted
#837F7A

Preview Lab

Preview with #B9942B

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

Preview Lab → · Contrast checker → · Palette generator →

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