#B5972A#B5972A

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

Color values

HEX#B5972A
RGBrgb(181, 151, 42)
HSLhsl(47, 62%, 44%)
HSVhsv(47, 77%, 71%)
CMYKcmyk(0%, 16.6%, 76.8%, 29%)
CIE-LABlab(63.45, 0.03, 57.70)
CIE-LCHlch(63.45, 57.70, 89.97°)
OKLaboklab(68.5% -0.0061 0.1263)
OKLCHoklch(68.5% 0.126 92.8)
XYZxyz(30.5423, 32.1260, 6.7823)
Luminance0.3212 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5972A #2A48B5
analogous
#B5512A #B5972A #8DB52A
triadic
#B5972A #2AB597 #972AB5
tetradic
#B5972A #2AB551 #2A48B5 #B52A8D
square
#B5972A #2AB551 #2A48B5 #B52A8D
split-complementary
#B5972A #2A8DB5 #512AB5
monochromatic
#524413 #836E1E #B5972A #D4B648 #E0CA79

Accessibility & contrast

On white

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

On black

7.42
#B5972A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5972A
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5972A#FFFFFF#000000##000000
##B5972A1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5972a;
/* rgb */ color: rgb(181, 151, 42);
/* oklch */ color: oklch(68.5% 0.126 92.8);
Tailwind
colors: {
  custom: {
    50: '#cfb56c',
    500: '#b5972a',
    950: '#000000',
  },
}
SCSS
$custom: #b5972a;
$custom-light: #cfb56c;
$custom-dark: #000000;
JSON
{
  "hex": "#b5972a",
  "rgb": {
    "r": 181,
    "g": 151,
    "b": 42
  },
  "hsl": {
    "h": 47.05,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.68498,
    "c": 0.12645,
    "h": 92.8
  },
  "luminance": 0.32124
}

Semantic roles & 50–950 ramp

primary
#B5972A
secondary
#7385C8
accent
#66E542
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141107
muted
#83807A

Preview Lab

Preview with #B5972A

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

Preview Lab → · Contrast checker → · Palette generator →

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