#B39D2B#B39D2B

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

Color values

HEX#B39D2B
RGBrgb(179, 157, 43)
HSLhsl(50, 61%, 44%)
HSVhsv(50, 76%, 70%)
CMYKcmyk(0%, 12.3%, 76%, 29.8%)
CIE-LABlab(64.86, -4.06, 58.59)
CIE-LCHlch(64.86, 58.73, 93.96°)
OKLaboklab(69.57% -0.0175 0.1285)
OKLCHoklch(69.57% 0.13 97.7)
XYZxyz(31.0850, 33.8737, 7.1860)
Luminance0.3387 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B39D2B #2B41B3
analogous
#B3592B #B39D2B #85B32B
triadic
#B39D2B #2BB39D #9D2BB3
tetradic
#B39D2B #2BB359 #2B41B3 #B32B85
square
#B39D2B #2BB359 #2B41B3 #B32B85
split-complementary
#B39D2B #2B85B3 #592BB3
monochromatic
#504613 #82721F #B39D2B #D3BD48 #DFCF79

Accessibility & contrast

On white

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

On black

7.77
#B39D2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B39D2B
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B39D2B#FFFFFF#000000##000000
##B39D2B1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9915
Deuteranopia (green-blind)
#B3A133
Tritanopia (blue-blind)
#C19187
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b39d2b;
/* rgb */ color: rgb(179, 157, 43);
/* oklch */ color: oklch(69.6% 0.130 97.7);
Tailwind
colors: {
  custom: {
    50: '#ceb96d',
    500: '#b39d2b',
    950: '#000000',
  },
}
SCSS
$custom: #b39d2b;
$custom-light: #ceb96d;
$custom-dark: #000000;
JSON
{
  "hex": "#b39d2b",
  "rgb": {
    "r": 179,
    "g": 157,
    "b": 43
  },
  "hsl": {
    "h": 50.294,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.69574,
    "c": 0.12969,
    "h": 97.7
  },
  "luminance": 0.33872
}

Semantic roles & 50–950 ramp

primary
#B39D2B
secondary
#7380C7
accent
#5DE443
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141107
muted
#83807A

Preview Lab

Preview with #B39D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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