#B5952F#B5952F

#B5952F is a light, vivid yellow. Relative luminance 0.315; OKLCH L 68.1% C 0.122 H 90.8°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#B5952F
RGBrgb(181, 149, 47)
HSLhsl(46, 59%, 45%)
HSVhsv(46, 74%, 71%)
CMYKcmyk(0%, 17.7%, 74%, 29%)
CIE-LABlab(62.95, 1.34, 55.33)
CIE-LCHlch(62.95, 55.34, 88.62°)
OKLaboklab(68.12% -0.0018 0.1223)
OKLCHoklch(68.12% 0.122 90.8)
XYZxyz(30.3183, 31.5257, 7.1770)
Luminance0.3152 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5952F #2F4FB5
analogous
#B5522F #B5952F #92B52F
triadic
#B5952F #2FB595 #952FB5
tetradic
#B5952F #2FB552 #2F4FB5 #B52F92
square
#B5952F #2FB552 #2F4FB5 #B52F92
split-complementary
#B5952F #2F92B5 #522FB5
monochromatic
#544516 #846D22 #B5952F #D1B250 #DEC880

Accessibility & contrast

On white

2.87
#B5952F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#B5952F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5952F
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5952F#FFFFFF#000000##000000
##B5952F1.002.877.307.30
#FFFFFF2.871.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6931F
Deuteranopia (green-blind)
#AE9C35
Tritanopia (blue-blind)
#C48881
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b5952f;
/* rgb */ color: rgb(181, 149, 47);
/* oklch */ color: oklch(68.1% 0.122 90.8);
Tailwind
colors: {
  custom: {
    50: '#cfb36e',
    500: '#b5952f',
    950: '#000000',
  },
}
SCSS
$custom: #b5952f;
$custom-light: #cfb36e;
$custom-dark: #000000;
JSON
{
  "hex": "#b5952f",
  "rgb": {
    "r": 181,
    "g": 149,
    "b": 47
  },
  "hsl": {
    "h": 45.672,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.68115,
    "c": 0.12229,
    "h": 90.8
  },
  "luminance": 0.31524
}

Semantic roles & 50–950 ramp

primary
#B5952F
secondary
#798BC7
accent
#6BE246
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141108
muted
#83807B

Preview Lab

Preview with #B5952F

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

Preview Lab → · Contrast checker → · Palette generator →

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