#B39B31#B39B31

#B39B31 is a light, vivid yellow. Relative luminance 0.332; OKLCH L 69.2% C 0.125 H 96.0°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#B39B31
RGBrgb(179, 155, 49)
HSLhsl(49, 57%, 45%)
HSVhsv(49, 73%, 70%)
CMYKcmyk(0%, 13.4%, 72.6%, 29.8%)
CIE-LABlab(64.36, -2.71, 55.86)
CIE-LCHlch(64.36, 55.93, 92.77°)
OKLaboklab(69.19% -0.013 0.1239)
OKLCHoklch(69.19% 0.125 96)
XYZxyz(30.8677, 33.2498, 7.6971)
Luminance0.3325 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B39B31 #3149B3
analogous
#B35A31 #B39B31 #8AB331
triadic
#B39B31 #31B39B #9B31B3
tetradic
#B39B31 #31B35A #3149B3 #B3318A
square
#B39B31 #31B35A #3149B3 #B3318A
split-complementary
#B39B31 #318AB3 #5A31B3
monochromatic
#534817 #837124 #B39B31 #D0B852 #DDCC82

Accessibility & contrast

On white

2.75
#B39B31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#B39B31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B39B31
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B39B31#FFFFFF#000000##000000
##B39B311.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9820
Deuteranopia (green-blind)
#B19F37
Tritanopia (blue-blind)
#C18F86
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b39b31;
/* rgb */ color: rgb(179, 155, 49);
/* oklch */ color: oklch(69.2% 0.125 96.0);
Tailwind
colors: {
  custom: {
    50: '#cdb870',
    500: '#b39b31',
    950: '#000000',
  },
}
SCSS
$custom: #b39b31;
$custom-light: #cdb870;
$custom-dark: #000000;
JSON
{
  "hex": "#b39b31",
  "rgb": {
    "r": 179,
    "g": 155,
    "b": 49
  },
  "hsl": {
    "h": 48.923,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.69191,
    "c": 0.12455,
    "h": 96
  },
  "luminance": 0.33248
}

Semantic roles & 50–950 ramp

primary
#B39B31
secondary
#7A88C6
accent
#64E048
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B39B31

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

Preview Lab → · Contrast checker → · Palette generator →

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