#B89731#B89731

#B89731 is a light, vivid yellow. Relative luminance 0.325; OKLCH L 68.9% C 0.123 H 90.4°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#B89731
RGBrgb(184, 151, 49)
HSLhsl(45, 58%, 46%)
HSVhsv(45, 73%, 72%)
CMYKcmyk(0%, 17.9%, 73.4%, 27.8%)
CIE-LABlab(63.79, 1.68, 55.47)
CIE-LCHlch(63.79, 55.49, 88.27°)
OKLaboklab(68.86% -0.0008 0.1228)
OKLCHoklch(68.86% 0.123 90.4)
XYZxyz(31.3899, 32.5473, 7.5340)
Luminance0.3255 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B89731 #3152B8
analogous
#B85331 #B89731 #95B831
triadic
#B89731 #31B897 #9731B8
tetradic
#B89731 #31B853 #3152B8 #B83195
square
#B89731 #31B853 #3152B8 #B83195
split-complementary
#B89731 #3195B8 #5331B8
monochromatic
#574817 #886F24 #B89731 #D2B355 #DEC985

Accessibility & contrast

On white

2.80
#B89731 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#B89731 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B89731
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B89731#FFFFFF#000000##000000
##B897311.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89521
Deuteranopia (green-blind)
#B09E36
Tritanopia (blue-blind)
#C78A83
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b89731;
/* rgb */ color: rgb(184, 151, 49);
/* oklch */ color: oklch(68.9% 0.123 90.4);
Tailwind
colors: {
  custom: {
    50: '#d1b570',
    500: '#b89731',
    950: '#000000',
  },
}
SCSS
$custom: #b89731;
$custom-light: #d1b570;
$custom-dark: #000000;
JSON
{
  "hex": "#b89731",
  "rgb": {
    "r": 184,
    "g": 151,
    "b": 49
  },
  "hsl": {
    "h": 45.333,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.68855,
    "c": 0.12284,
    "h": 90.4
  },
  "luminance": 0.32545
}

Semantic roles & 50–950 ramp

primary
#B89731
secondary
#7D8FC8
accent
#6CE147
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #B89731

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

Preview Lab → · Contrast checker → · Palette generator →

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