#B89B31#B89B31

#B89B31 is a light, vivid yellow. Relative luminance 0.339; OKLCH L 69.7% C 0.125 H 93.2°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#B89B31
RGBrgb(184, 155, 49)
HSLhsl(47, 58%, 46%)
HSVhsv(47, 73%, 72%)
CMYKcmyk(0%, 15.8%, 73.4%, 27.8%)
CIE-LABlab(64.85, -0.49, 56.50)
CIE-LCHlch(64.85, 56.50, 90.50°)
OKLaboklab(69.69% -0.007 0.125)
OKLCHoklch(69.69% 0.125 93.2)
XYZxyz(32.0446, 33.8566, 7.7523)
Luminance0.3386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B89B31 #314EB8
analogous
#B85731 #B89B31 #91B831
triadic
#B89B31 #31B89B #9B31B8
tetradic
#B89B31 #31B857 #314EB8 #B83191
square
#B89B31 #31B857 #314EB8 #B83191
split-complementary
#B89B31 #3191B8 #5731B8
monochromatic
#574A17 #887224 #B89B31 #D2B755 #DECB85

Accessibility & contrast

On white

2.70
#B89B31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#B89B31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B89B31
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B89B31#FFFFFF#000000##000000
##B89B311.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9820
Deuteranopia (green-blind)
#B3A137
Tritanopia (blue-blind)
#C78E86
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b89b31;
/* rgb */ color: rgb(184, 155, 49);
/* oklch */ color: oklch(69.7% 0.125 93.2);
Tailwind
colors: {
  custom: {
    50: '#d1b870',
    500: '#b89b31',
    950: '#000000',
  },
}
SCSS
$custom: #b89b31;
$custom-light: #d1b870;
$custom-dark: #000000;
JSON
{
  "hex": "#b89b31",
  "rgb": {
    "r": 184,
    "g": 155,
    "b": 49
  },
  "hsl": {
    "h": 47.111,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.69688,
    "c": 0.12522,
    "h": 93.2
  },
  "luminance": 0.33855
}

Semantic roles & 50–950 ramp

primary
#B89B31
secondary
#7D8DC8
accent
#68E147
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #B89B31

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

Preview Lab → · Contrast checker → · Palette generator →

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