#B7962B#B7962B

#B7962B is a light, vivid yellow. Relative luminance 0.321; OKLCH L 68.5% C 0.126 H 90.9°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#B7962B
RGBrgb(183, 150, 43)
HSLhsl(46, 62%, 44%)
HSVhsv(46, 77%, 72%)
CMYKcmyk(0%, 18%, 76.5%, 28.2%)
CIE-LABlab(63.39, 1.51, 57.35)
CIE-LCHlch(63.39, 57.37, 88.50°)
OKLaboklab(68.5% -0.0019 0.1257)
OKLCHoklch(68.5% 0.126 90.9)
XYZxyz(30.8726, 32.0563, 6.8464)
Luminance0.3205 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7962B #2B4CB7
analogous
#B7502B #B7962B #92B72B
triadic
#B7962B #2BB796 #962BB7
tetradic
#B7962B #2BB750 #2B4CB7 #B72B92
square
#B7962B #2BB750 #2B4CB7 #B72B92
split-complementary
#B7962B #2B92B7 #502BB7
monochromatic
#544514 #856D1F #B7962B #D5B44B #E0C97C

Accessibility & contrast

On white

2.83
#B7962B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#B7962B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7962B
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7962B#FFFFFF#000000##000000
##B7962B1.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b7962b;
/* rgb */ color: rgb(183, 150, 43);
/* oklch */ color: oklch(68.5% 0.126 90.9);
Tailwind
colors: {
  custom: {
    50: '#d1b46c',
    500: '#b7962b',
    950: '#000000',
  },
}
SCSS
$custom: #b7962b;
$custom-light: #d1b46c;
$custom-dark: #000000;
JSON
{
  "hex": "#b7962b",
  "rgb": {
    "r": 183,
    "g": 150,
    "b": 43
  },
  "hsl": {
    "h": 45.857,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.68501,
    "c": 0.12568,
    "h": 90.9
  },
  "luminance": 0.32054
}

Semantic roles & 50–950 ramp

primary
#B7962B
secondary
#7589C9
accent
#69E543
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#151107
muted
#83807A

Preview Lab

Preview with #B7962B

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

Preview Lab → · Contrast checker → · Palette generator →

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