#B39C2F#B39C2F

#B39C2F is a light, vivid yellow. Relative luminance 0.336; OKLCH L 69.4% C 0.127 H 96.8°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#B39C2F
RGBrgb(179, 156, 47)
HSLhsl(50, 58%, 44%)
HSVhsv(50, 74%, 70%)
CMYKcmyk(0%, 12.8%, 73.7%, 29.8%)
CIE-LABlab(64.62, -3.34, 56.88)
CIE-LCHlch(64.62, 56.98, 93.36°)
OKLaboklab(69.39% -0.015 0.1257)
OKLCHoklch(69.39% 0.127 96.8)
XYZxyz(30.9935, 33.5675, 7.5354)
Luminance0.3357 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B39C2F #2F46B3
analogous
#B35A2F #B39C2F #88B32F
triadic
#B39C2F #2FB39C #9C2FB3
tetradic
#B39C2F #2FB35A #2F46B3 #B32F88
square
#B39C2F #2FB35A #2F46B3 #B32F88
split-complementary
#B39C2F #2F88B3 #5A2FB3
monochromatic
#524816 #837222 #B39C2F #D1BA4F #DDCD7F

Accessibility & contrast

On white

2.72
#B39C2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#B39C2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B39C2F
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B39C2F#FFFFFF#000000##000000
##B39C2F1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC981D
Deuteranopia (green-blind)
#B2A036
Tritanopia (blue-blind)
#C19087
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b39c2f;
/* rgb */ color: rgb(179, 156, 47);
/* oklch */ color: oklch(69.4% 0.127 96.8);
Tailwind
colors: {
  custom: {
    50: '#ceb86f',
    500: '#b39c2f',
    950: '#000000',
  },
}
SCSS
$custom: #b39c2f;
$custom-light: #ceb86f;
$custom-dark: #000000;
JSON
{
  "hex": "#b39c2f",
  "rgb": {
    "r": 179,
    "g": 156,
    "b": 47
  },
  "hsl": {
    "h": 49.545,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.69388,
    "c": 0.12656,
    "h": 96.8
  },
  "luminance": 0.33566
}

Semantic roles & 50–950 ramp

primary
#B39C2F
secondary
#7885C6
accent
#61E246
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B39C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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