#B5972B#B5972B

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

Color values

HEX#B5972B
RGBrgb(181, 151, 43)
HSLhsl(47, 62%, 44%)
HSVhsv(47, 76%, 71%)
CMYKcmyk(0%, 16.6%, 76.2%, 29%)
CIE-LABlab(63.45, 0.07, 57.34)
CIE-LCHlch(63.45, 57.34, 89.93°)
OKLaboklab(68.51% -0.0059 0.1257)
OKLCHoklch(68.51% 0.126 92.7)
XYZxyz(30.5604, 32.1332, 6.8777)
Luminance0.3213 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5972B #2B49B5
analogous
#B5522B #B5972B #8EB52B
triadic
#B5972B #2BB597 #972BB5
tetradic
#B5972B #2BB552 #2B49B5 #B52B8E
square
#B5972B #2BB552 #2B49B5 #B52B8E
split-complementary
#B5972B #2B8EB5 #522BB5
monochromatic
#524414 #846E1F #B5972B #D4B649 #E0CA7B

Accessibility & contrast

On white

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

On black

7.43
#B5972B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5972B
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5972B#FFFFFF#000000##000000
##B5972B1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89517
Deuteranopia (green-blind)
#AF9D31
Tritanopia (blue-blind)
#C48A82
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b5972b;
/* rgb */ color: rgb(181, 151, 43);
/* oklch */ color: oklch(68.5% 0.126 92.7);
Tailwind
colors: {
  custom: {
    50: '#cfb56d',
    500: '#b5972b',
    950: '#000000',
  },
}
SCSS
$custom: #b5972b;
$custom-light: #cfb56d;
$custom-dark: #000000;
JSON
{
  "hex": "#b5972b",
  "rgb": {
    "r": 181,
    "g": 151,
    "b": 43
  },
  "hsl": {
    "h": 46.957,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.68505,
    "c": 0.12588,
    "h": 92.7
  },
  "luminance": 0.32131
}

Semantic roles & 50–950 ramp

primary
#B5972B
secondary
#7486C8
accent
#66E543
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141107
muted
#83807A

Preview Lab

Preview with #B5972B

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

Preview Lab → · Contrast checker → · Palette generator →

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