#B39931#B39931

#B39931 is a light, vivid yellow. Relative luminance 0.326; OKLCH L 68.8% C 0.123 H 94.6°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#B39931
RGBrgb(179, 153, 49)
HSLhsl(48, 57%, 45%)
HSVhsv(48, 73%, 70%)
CMYKcmyk(0%, 14.5%, 72.6%, 29.8%)
CIE-LABlab(63.83, -1.63, 55.33)
CIE-LCHlch(63.83, 55.36, 91.69°)
OKLaboklab(68.77% -0.0099 0.1228)
OKLCHoklch(68.77% 0.123 94.6)
XYZxyz(30.5376, 32.5896, 7.5871)
Luminance0.3259 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B39931 #314BB3
analogous
#B35831 #B39931 #8CB331
triadic
#B39931 #31B399 #9931B3
tetradic
#B39931 #31B358 #314BB3 #B3318C
square
#B39931 #31B358 #314BB3 #B3318C
split-complementary
#B39931 #318CB3 #5831B3
monochromatic
#534717 #837024 #B39931 #D0B652 #DDCB82

Accessibility & contrast

On white

2.79
#B39931 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#B39931 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B39931
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B39931#FFFFFF#000000##000000
##B399311.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99621
Deuteranopia (green-blind)
#B09E37
Tritanopia (blue-blind)
#C18D84
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b39931;
/* rgb */ color: rgb(179, 153, 49);
/* oklch */ color: oklch(68.8% 0.123 94.6);
Tailwind
colors: {
  custom: {
    50: '#cdb670',
    500: '#b39931',
    950: '#000000',
  },
}
SCSS
$custom: #b39931;
$custom-light: #cdb670;
$custom-dark: #000000;
JSON
{
  "hex": "#b39931",
  "rgb": {
    "r": 179,
    "g": 153,
    "b": 49
  },
  "hsl": {
    "h": 48,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.68767,
    "c": 0.12316,
    "h": 94.6
  },
  "luminance": 0.32588
}

Semantic roles & 50–950 ramp

primary
#B39931
secondary
#7A89C6
accent
#66E048
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B39931

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

Preview Lab → · Contrast checker → · Palette generator →

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