#B5952A#B5952A

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

Color values

HEX#B5952A
RGBrgb(181, 149, 42)
HSLhsl(46, 62%, 44%)
HSVhsv(46, 77%, 71%)
CMYKcmyk(0%, 17.7%, 76.8%, 29%)
CIE-LABlab(62.92, 1.11, 57.20)
CIE-LCHlch(62.92, 57.21, 88.88°)
OKLaboklab(68.08% -0.003 0.1252)
OKLCHoklch(68.08% 0.125 91.4)
XYZxyz(30.2232, 31.4877, 6.6759)
Luminance0.3149 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5952A #2A4AB5
analogous
#B54F2A #B5952A #8FB52A
triadic
#B5952A #2AB595 #952AB5
tetradic
#B5952A #2AB54F #2A4AB5 #B52A8F
square
#B5952A #2AB54F #2A4AB5 #B52A8F
split-complementary
#B5952A #2A8FB5 #4F2AB5
monochromatic
#524313 #836C1E #B5952A #D4B448 #E0C879

Accessibility & contrast

On white

2.88
#B5952A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5952A#FFFFFF#000000##000000
##B5952A1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69316
Deuteranopia (green-blind)
#AE9C30
Tritanopia (blue-blind)
#C48880
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b5952a;
/* rgb */ color: rgb(181, 149, 42);
/* oklch */ color: oklch(68.1% 0.125 91.4);
Tailwind
colors: {
  custom: {
    50: '#cfb36c',
    500: '#b5952a',
    950: '#000000',
  },
}
SCSS
$custom: #b5952a;
$custom-light: #cfb36c;
$custom-dark: #000000;
JSON
{
  "hex": "#b5952a",
  "rgb": {
    "r": 181,
    "g": 149,
    "b": 42
  },
  "hsl": {
    "h": 46.187,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.6808,
    "c": 0.12528,
    "h": 91.4
  },
  "luminance": 0.31486
}

Semantic roles & 50–950 ramp

primary
#B5952A
secondary
#7386C8
accent
#68E542
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141107
muted
#83807A

Preview Lab

Preview with #B5952A

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

Preview Lab → · Contrast checker → · Palette generator →

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