#B39F31#B39F31

#B39F31 is a light, vivid yellow. Relative luminance 0.346; OKLCH L 70.0% C 0.128 H 98.6°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#B39F31
RGBrgb(179, 159, 49)
HSLhsl(51, 57%, 45%)
HSVhsv(51, 73%, 70%)
CMYKcmyk(0%, 11.2%, 72.6%, 29.8%)
CIE-LABlab(65.44, -4.85, 56.92)
CIE-LCHlch(65.44, 57.12, 94.87°)
OKLaboklab(70.04% -0.0191 0.1261)
OKLCHoklch(70.04% 0.128 98.6)
XYZxyz(31.5444, 34.6033, 7.9227)
Luminance0.3460 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B39F31 #3145B3
analogous
#B35E31 #B39F31 #86B331
triadic
#B39F31 #31B39F #9F31B3
tetradic
#B39F31 #31B35E #3145B3 #B33186
square
#B39F31 #31B35E #3145B3 #B33186
split-complementary
#B39F31 #3186B3 #5E31B3
monochromatic
#534A17 #837424 #B39F31 #D0BC52 #DDCF82

Accessibility & contrast

On white

2.65
#B39F31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#B39F31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B39F31
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B39F31#FFFFFF#000000##000000
##B39F311.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1F
Deuteranopia (green-blind)
#B4A238
Tritanopia (blue-blind)
#C19389
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b39f31;
/* rgb */ color: rgb(179, 159, 49);
/* oklch */ color: oklch(70.0% 0.128 98.6);
Tailwind
colors: {
  custom: {
    50: '#cdbb70',
    500: '#b39f31',
    950: '#000000',
  },
}
SCSS
$custom: #b39f31;
$custom-light: #cdbb70;
$custom-dark: #000000;
JSON
{
  "hex": "#b39f31",
  "rgb": {
    "r": 179,
    "g": 159,
    "b": 49
  },
  "hsl": {
    "h": 50.769,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.70043,
    "c": 0.12755,
    "h": 98.6
  },
  "luminance": 0.34602
}

Semantic roles & 50–950 ramp

primary
#B39F31
secondary
#7A86C6
accent
#5FE048
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B39F31

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

Preview Lab → · Contrast checker → · Palette generator →

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