#B4952F#B4952F

#B4952F is a light, vivid yellow. Relative luminance 0.314; OKLCH L 68.0% C 0.122 H 91.4°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#B4952F
RGBrgb(180, 149, 47)
HSLhsl(46, 59%, 45%)
HSVhsv(46, 74%, 71%)
CMYKcmyk(0%, 17.2%, 73.9%, 29.4%)
CIE-LABlab(62.85, 0.89, 55.20)
CIE-LCHlch(62.85, 55.20, 89.08°)
OKLaboklab(68.01% -0.003 0.122)
OKLCHoklch(68.01% 0.122 91.4)
XYZxyz(30.0846, 31.4052, 7.1660)
Luminance0.3140 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4952F #2F4EB4
analogous
#B4532F #B4952F #91B42F
triadic
#B4952F #2FB495 #952FB4
tetradic
#B4952F #2FB453 #2F4EB4 #B42F91
square
#B4952F #2FB453 #2F4EB4 #B42F91
split-complementary
#B4952F #2F91B4 #532FB4
monochromatic
#534516 #836D22 #B4952F #D1B34F #DEC880

Accessibility & contrast

On white

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

On black

7.28
#B4952F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4952F
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4952F#FFFFFF#000000##000000
##B4952F1.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4952f;
/* rgb */ color: rgb(180, 149, 47);
/* oklch */ color: oklch(68.0% 0.122 91.4);
Tailwind
colors: {
  custom: {
    50: '#ceb36e',
    500: '#b4952f',
    950: '#000000',
  },
}
SCSS
$custom: #b4952f;
$custom-light: #ceb36e;
$custom-dark: #000000;
JSON
{
  "hex": "#b4952f",
  "rgb": {
    "r": 180,
    "g": 149,
    "b": 47
  },
  "hsl": {
    "h": 46.015,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.68013,
    "c": 0.12208,
    "h": 91.4
  },
  "luminance": 0.31403
}

Semantic roles & 50–950 ramp

primary
#B4952F
secondary
#788AC7
accent
#6AE246
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141108
muted
#83807B

Preview Lab

Preview with #B4952F

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

Preview Lab → · Contrast checker → · Palette generator →

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