#B7942F#B7942F

#B7942F is a light, vivid orange. Relative luminance 0.315; OKLCH L 68.1% C 0.122 H 89.0°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#B7942F
RGBrgb(183, 148, 47)
HSLhsl(45, 59%, 45%)
HSVhsv(45, 74%, 72%)
CMYKcmyk(0%, 19.1%, 74.3%, 28.2%)
CIE-LABlab(62.89, 2.77, 55.34)
CIE-LCHlch(62.89, 55.41, 87.13°)
OKLaboklab(68.12% 0.0022 0.1222)
OKLCHoklch(68.12% 0.122 89)
XYZxyz(30.6332, 31.4543, 7.1466)
Luminance0.3145 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7942F #2F52B7
analogous
#B7502F #B7942F #96B72F
triadic
#B7942F #2FB794 #942FB7
tetradic
#B7942F #2FB750 #2F52B7 #B72F96
square
#B7942F #2FB750 #2F52B7 #B72F96
split-complementary
#B7942F #2F96B7 #502FB7
monochromatic
#564516 #866D22 #B7942F #D2B151 #DFC782

Accessibility & contrast

On white

2.88
#B7942F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#B7942F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7942F
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7942F#FFFFFF#000000##000000
##B7942F1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5931F
Deuteranopia (green-blind)
#AE9C34
Tritanopia (blue-blind)
#C68780
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b7942f;
/* rgb */ color: rgb(183, 148, 47);
/* oklch */ color: oklch(68.1% 0.122 89.0);
Tailwind
colors: {
  custom: {
    50: '#d1b36e',
    500: '#b7942f',
    950: '#000000',
  },
}
SCSS
$custom: #b7942f;
$custom-light: #d1b36e;
$custom-dark: #000000;
JSON
{
  "hex": "#b7942f",
  "rgb": {
    "r": 183,
    "g": 148,
    "b": 47
  },
  "hsl": {
    "h": 44.559,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.68115,
    "c": 0.12224,
    "h": 89
  },
  "luminance": 0.31452
}

Semantic roles & 50–950 ramp

primary
#B7942F
secondary
#7A8EC8
accent
#6EE245
background
#FDFAF6
surface
#FAF5EC
border
#D3CFC7
text
#151008
muted
#837F7B

Preview Lab

Preview with #B7942F

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

Preview Lab → · Contrast checker → · Palette generator →

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