#B39D40#B39D40

#B39D40 is a light, moderate yellow. Relative luminance 0.341; OKLCH L 69.7% C 0.115 H 95.9°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#B39D40
RGBrgb(179, 157, 64)
HSLhsl(49, 47%, 48%)
HSVhsv(49, 64%, 70%)
CMYKcmyk(0%, 12.3%, 64.2%, 29.8%)
CIE-LABlab(65.02, -2.93, 50.17)
CIE-LCHlch(65.02, 50.26, 93.34°)
OKLaboklab(69.75% -0.0119 0.1144)
OKLCHoklch(69.75% 0.115 95.9)
XYZxyz(31.5742, 34.0694, 9.7624)
Luminance0.3407 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B39D40 #4056B3
analogous
#B36440 #B39D40 #8FB340
triadic
#B39D40 #40B39D #9D40B3
tetradic
#B39D40 #40B364 #4056B3 #B3408F
square
#B39D40 #40B364 #4056B3 #B3408F
split-complementary
#B39D40 #408FB3 #6440B3
monochromatic
#594E20 #867530 #B39D40 #C9B667 #D9CC94

Accessibility & contrast

On white

2.69
#B39D40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#B39D40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B39D40
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B39D40#FFFFFF#000000##000000
##B39D401.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9A35
Deuteranopia (green-blind)
#B2A145
Tritanopia (blue-blind)
#C19289
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b39d40;
/* rgb */ color: rgb(179, 157, 64);
/* oklch */ color: oklch(69.7% 0.115 95.9);
Tailwind
colors: {
  custom: {
    50: '#cdb979',
    500: '#b39d40',
    950: '#000000',
  },
}
SCSS
$custom: #b39d40;
$custom-light: #cdb979;
$custom-dark: #000000;
JSON
{
  "hex": "#b39d40",
  "rgb": {
    "r": 179,
    "g": 157,
    "b": 64
  },
  "hsl": {
    "h": 48.522,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.69747,
    "c": 0.11502,
    "h": 95.9
  },
  "luminance": 0.34068
}

Semantic roles & 50–950 ramp

primary
#B39D40
secondary
#8A95C4
accent
#6BD751
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#141109
muted
#83807B

Preview Lab

Preview with #B39D40

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

Preview Lab → · Contrast checker → · Palette generator →

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