#B39D31#B39D31

#B39D31 is a light, vivid yellow. Relative luminance 0.339; OKLCH L 69.6% C 0.126 H 97.3°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#B39D31
RGBrgb(179, 157, 49)
HSLhsl(50, 57%, 45%)
HSVhsv(50, 73%, 70%)
CMYKcmyk(0%, 12.3%, 72.6%, 29.8%)
CIE-LABlab(64.90, -3.78, 56.39)
CIE-LCHlch(64.90, 56.51, 93.84°)
OKLaboklab(69.62% -0.0161 0.125)
OKLCHoklch(69.62% 0.126 97.3)
XYZxyz(31.2033, 33.9210, 7.8090)
Luminance0.3392 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B39D31 #3147B3
analogous
#B35C31 #B39D31 #88B331
triadic
#B39D31 #31B39D #9D31B3
tetradic
#B39D31 #31B35C #3147B3 #B33188
square
#B39D31 #31B35C #3147B3 #B33188
split-complementary
#B39D31 #3188B3 #5C31B3
monochromatic
#534917 #837324 #B39D31 #D0BA52 #DDCD82

Accessibility & contrast

On white

2.70
#B39D31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#B39D31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B39D31
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B39D31#FFFFFF#000000##000000
##B39D311.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9920
Deuteranopia (green-blind)
#B3A138
Tritanopia (blue-blind)
#C19188
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b39d31;
/* rgb */ color: rgb(179, 157, 49);
/* oklch */ color: oklch(69.6% 0.126 97.3);
Tailwind
colors: {
  custom: {
    50: '#cdb970',
    500: '#b39d31',
    950: '#000000',
  },
}
SCSS
$custom: #b39d31;
$custom-light: #cdb970;
$custom-dark: #000000;
JSON
{
  "hex": "#b39d31",
  "rgb": {
    "r": 179,
    "g": 157,
    "b": 49
  },
  "hsl": {
    "h": 49.846,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.69616,
    "c": 0.12602,
    "h": 97.3
  },
  "luminance": 0.33919
}

Semantic roles & 50–950 ramp

primary
#B39D31
secondary
#7A87C6
accent
#61E048
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B39D31

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

Preview Lab → · Contrast checker → · Palette generator →

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