#B39E31#B39E31

#B39E31 is a light, vivid yellow. Relative luminance 0.343; OKLCH L 69.8% C 0.127 H 98.0°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#B39E31
RGBrgb(179, 158, 49)
HSLhsl(50, 57%, 45%)
HSVhsv(50, 73%, 70%)
CMYKcmyk(0%, 11.7%, 72.6%, 29.8%)
CIE-LABlab(65.17, -4.32, 56.65)
CIE-LCHlch(65.17, 56.82, 94.36°)
OKLaboklab(69.83% -0.0176 0.1256)
OKLCHoklch(69.83% 0.127 98)
XYZxyz(31.3732, 34.2608, 7.8656)
Luminance0.3426 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B39E31 #3146B3
analogous
#B35D31 #B39E31 #87B331
triadic
#B39E31 #31B39E #9E31B3
tetradic
#B39E31 #31B35D #3146B3 #B33187
square
#B39E31 #31B35D #3146B3 #B33187
split-complementary
#B39E31 #3187B3 #5D31B3
monochromatic
#534917 #837424 #B39E31 #D0BB52 #DDCE82

Accessibility & contrast

On white

2.67
#B39E31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#B39E31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B39E31
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B39E31#FFFFFF#000000##000000
##B39E311.002.677.857.85
#FFFFFF2.671.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A20
Deuteranopia (green-blind)
#B3A138
Tritanopia (blue-blind)
#C19288
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b39e31;
/* rgb */ color: rgb(179, 158, 49);
/* oklch */ color: oklch(69.8% 0.127 98.0);
Tailwind
colors: {
  custom: {
    50: '#cdba70',
    500: '#b39e31',
    950: '#000000',
  },
}
SCSS
$custom: #b39e31;
$custom-light: #cdba70;
$custom-dark: #000000;
JSON
{
  "hex": "#b39e31",
  "rgb": {
    "r": 179,
    "g": 158,
    "b": 49
  },
  "hsl": {
    "h": 50.308,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.69829,
    "c": 0.12678,
    "h": 98
  },
  "luminance": 0.34259
}

Semantic roles & 50–950 ramp

primary
#B39E31
secondary
#7A86C6
accent
#60E048
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B39E31

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

Preview Lab → · Contrast checker → · Palette generator →

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