#B5972F#B5972F

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

Color values

HEX#B5972F
RGBrgb(181, 151, 47)
HSLhsl(47, 59%, 45%)
HSVhsv(47, 74%, 71%)
CMYKcmyk(0%, 16.6%, 74%, 29%)
CIE-LABlab(63.48, 0.25, 55.84)
CIE-LCHlch(63.48, 55.85, 89.75°)
OKLaboklab(68.53% -0.0049 0.1234)
OKLCHoklch(68.53% 0.123 92.3)
XYZxyz(30.6374, 32.1640, 7.2833)
Luminance0.3216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5972F #2F4DB5
analogous
#B5542F #B5972F #90B52F
triadic
#B5972F #2FB597 #972FB5
tetradic
#B5972F #2FB554 #2F4DB5 #B52F90
square
#B5972F #2FB554 #2F4DB5 #B52F90
split-complementary
#B5972F #2F90B5 #542FB5
monochromatic
#544616 #846E22 #B5972F #D1B450 #DEC980

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5972F#FFFFFF#000000##000000
##B5972F1.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)
#A8951E
Deuteranopia (green-blind)
#AF9D35
Tritanopia (blue-blind)
#C48A82
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b5972f;
/* rgb */ color: rgb(181, 151, 47);
/* oklch */ color: oklch(68.5% 0.123 92.3);
Tailwind
colors: {
  custom: {
    50: '#cfb56f',
    500: '#b5972f',
    950: '#000000',
  },
}
SCSS
$custom: #b5972f;
$custom-light: #cfb56f;
$custom-dark: #000000;
JSON
{
  "hex": "#b5972f",
  "rgb": {
    "r": 181,
    "g": 151,
    "b": 47
  },
  "hsl": {
    "h": 46.567,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.68533,
    "c": 0.12347,
    "h": 92.3
  },
  "luminance": 0.32162
}

Semantic roles & 50–950 ramp

primary
#B5972F
secondary
#798AC7
accent
#69E246
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141108
muted
#83807B

Preview Lab

Preview with #B5972F

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

Preview Lab → · Contrast checker → · Palette generator →

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