#B39D2C#B39D2C

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

Color values

HEX#B39D2C
RGBrgb(179, 157, 44)
HSLhsl(50, 61%, 44%)
HSVhsv(50, 75%, 70%)
CMYKcmyk(0%, 12.3%, 75.4%, 29.8%)
CIE-LABlab(64.87, -4.01, 58.24)
CIE-LCHlch(64.87, 58.38, 93.94°)
OKLaboklab(69.58% -0.0173 0.128)
OKLCHoklch(69.58% 0.129 97.7)
XYZxyz(31.1036, 33.8811, 7.2838)
Luminance0.3388 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B39D2C #2C42B3
analogous
#B3592C #B39D2C #85B32C
triadic
#B39D2C #2CB39D #9D2CB3
tetradic
#B39D2C #2CB359 #2C42B3 #B32C85
square
#B39D2C #2CB359 #2C42B3 #B32C85
split-complementary
#B39D2C #2C85B3 #592CB3
monochromatic
#514714 #827220 #B39D2C #D2BC4A #DFCE7B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B39D2C#FFFFFF#000000##000000
##B39D2C1.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)
#AD9917
Deuteranopia (green-blind)
#B3A133
Tritanopia (blue-blind)
#C19187
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b39d2c;
/* rgb */ color: rgb(179, 157, 44);
/* oklch */ color: oklch(69.6% 0.129 97.7);
Tailwind
colors: {
  custom: {
    50: '#ceb96e',
    500: '#b39d2c',
    950: '#000000',
  },
}
SCSS
$custom: #b39d2c;
$custom-light: #ceb96e;
$custom-dark: #000000;
JSON
{
  "hex": "#b39d2c",
  "rgb": {
    "r": 179,
    "g": 157,
    "b": 44
  },
  "hsl": {
    "h": 50.222,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.69581,
    "c": 0.12911,
    "h": 97.7
  },
  "luminance": 0.33879
}

Semantic roles & 50–950 ramp

primary
#B39D2C
secondary
#7482C7
accent
#5EE444
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141108
muted
#83807B

Preview Lab

Preview with #B39D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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