#B7952B#B7952B

#B7952B is a light, vivid yellow. Relative luminance 0.317; OKLCH L 68.3% C 0.125 H 90.1°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#B7952B
RGBrgb(183, 149, 43)
HSLhsl(45, 62%, 44%)
HSVhsv(45, 77%, 72%)
CMYKcmyk(0%, 18.6%, 76.5%, 28.2%)
CIE-LABlab(63.13, 2.05, 57.10)
CIE-LCHlch(63.13, 57.14, 87.94°)
OKLaboklab(68.29% -0.0003 0.1251)
OKLCHoklch(68.29% 0.125 90.1)
XYZxyz(30.7137, 31.7385, 6.7935)
Luminance0.3174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7952B #2B4DB7
analogous
#B74F2B #B7952B #93B72B
triadic
#B7952B #2BB795 #952BB7
tetradic
#B7952B #2BB74F #2B4DB7 #B72B93
square
#B7952B #2BB74F #2B4DB7 #B72B93
split-complementary
#B7952B #2B93B7 #4F2BB7
monochromatic
#544414 #856D1F #B7952B #D5B34B #E0C87C

Accessibility & contrast

On white

2.86
#B7952B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#B7952B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7952B
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7952B#FFFFFF#000000##000000
##B7952B1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69318
Deuteranopia (green-blind)
#AF9D31
Tritanopia (blue-blind)
#C68880
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b7952b;
/* rgb */ color: rgb(183, 149, 43);
/* oklch */ color: oklch(68.3% 0.125 90.1);
Tailwind
colors: {
  custom: {
    50: '#d1b36c',
    500: '#b7952b',
    950: '#000000',
  },
}
SCSS
$custom: #b7952b;
$custom-light: #d1b36c;
$custom-dark: #000000;
JSON
{
  "hex": "#b7952b",
  "rgb": {
    "r": 183,
    "g": 149,
    "b": 43
  },
  "hsl": {
    "h": 45.429,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.68294,
    "c": 0.12514,
    "h": 90.1
  },
  "luminance": 0.31737
}

Semantic roles & 50–950 ramp

primary
#B7952B
secondary
#7589C9
accent
#6AE543
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#151107
muted
#83807A

Preview Lab

Preview with #B7952B

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

Preview Lab → · Contrast checker → · Palette generator →

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