#B8962D#B8962D

#B8962D is a light, vivid yellow. Relative luminance 0.322; OKLCH L 68.6% C 0.125 H 90.1°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#B8962D
RGBrgb(184, 150, 45)
HSLhsl(45, 61%, 45%)
HSVhsv(45, 76%, 72%)
CMYKcmyk(0%, 18.5%, 75.5%, 27.8%)
CIE-LABlab(63.50, 2.04, 56.74)
CIE-LCHlch(63.50, 56.78, 87.94°)
OKLaboklab(68.62% -0.0002 0.1248)
OKLCHoklch(68.62% 0.125 90.1)
XYZxyz(31.1490, 32.1945, 7.0556)
Luminance0.3219 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8962D #2D4FB8
analogous
#B8512D #B8962D #94B82D
triadic
#B8962D #2DB896 #962DB8
tetradic
#B8962D #2DB851 #2D4FB8 #B82D94
square
#B8962D #2DB851 #2D4FB8 #B82D94
split-complementary
#B8962D #2D94B8 #512DB8
monochromatic
#564615 #876E21 #B8962D #D4B34E #E0C880

Accessibility & contrast

On white

2.82
#B8962D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#B8962D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8962D
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8962D#FFFFFF#000000##000000
##B8962D1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7941B
Deuteranopia (green-blind)
#B09E33
Tritanopia (blue-blind)
#C78981
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b8962d;
/* rgb */ color: rgb(184, 150, 45);
/* oklch */ color: oklch(68.6% 0.125 90.1);
Tailwind
colors: {
  custom: {
    50: '#d1b46e',
    500: '#b8962d',
    950: '#000000',
  },
}
SCSS
$custom: #b8962d;
$custom-light: #d1b46e;
$custom-dark: #000000;
JSON
{
  "hex": "#b8962d",
  "rgb": {
    "r": 184,
    "g": 150,
    "b": 45
  },
  "hsl": {
    "h": 45.324,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.68618,
    "c": 0.12475,
    "h": 90.1
  },
  "luminance": 0.32193
}

Semantic roles & 50–950 ramp

primary
#B8962D
secondary
#788CC9
accent
#6BE444
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#151107
muted
#83807A

Preview Lab

Preview with #B8962D

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

Preview Lab → · Contrast checker → · Palette generator →

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