#B89D31#B89D31

#B89D31 is a light, vivid yellow. Relative luminance 0.345; OKLCH L 70.1% C 0.127 H 94.6°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#B89D31
RGBrgb(184, 157, 49)
HSLhsl(48, 58%, 46%)
HSVhsv(48, 73%, 72%)
CMYKcmyk(0%, 14.7%, 73.4%, 27.8%)
CIE-LABlab(65.38, -1.57, 57.02)
CIE-LCHlch(65.38, 57.04, 91.57°)
OKLaboklab(70.11% -0.01 0.1261)
OKLCHoklch(70.11% 0.127 94.6)
XYZxyz(32.3802, 34.5278, 7.8641)
Luminance0.3453 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B89D31 #314CB8
analogous
#B85931 #B89D31 #8FB831
triadic
#B89D31 #31B89D #9D31B8
tetradic
#B89D31 #31B859 #314CB8 #B8318F
square
#B89D31 #31B859 #314CB8 #B8318F
split-complementary
#B89D31 #318FB8 #5931B8
monochromatic
#574B17 #887424 #B89D31 #D2B955 #DECD85

Accessibility & contrast

On white

2.66
#B89D31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#B89D31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B89D31
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B89D31#FFFFFF#000000##000000
##B89D311.002.667.917.91
#FFFFFF2.661.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A20
Deuteranopia (green-blind)
#B5A237
Tritanopia (blue-blind)
#C79088
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b89d31;
/* rgb */ color: rgb(184, 157, 49);
/* oklch */ color: oklch(70.1% 0.127 94.6);
Tailwind
colors: {
  custom: {
    50: '#d1b970',
    500: '#b89d31',
    950: '#000000',
  },
}
SCSS
$custom: #b89d31;
$custom-light: #d1b970;
$custom-dark: #000000;
JSON
{
  "hex": "#b89d31",
  "rgb": {
    "r": 184,
    "g": 157,
    "b": 49
  },
  "hsl": {
    "h": 48,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.70108,
    "c": 0.12653,
    "h": 94.6
  },
  "luminance": 0.34526
}

Semantic roles & 50–950 ramp

primary
#B89D31
secondary
#7D8CC8
accent
#66E147
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #B89D31

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

Preview Lab → · Contrast checker → · Palette generator →

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