#B39B2F#B39B2F

#B39B2F is a light, vivid yellow. Relative luminance 0.332; OKLCH L 69.2% C 0.126 H 96.2°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#B39B2F
RGBrgb(179, 155, 47)
HSLhsl(49, 58%, 44%)
HSVhsv(49, 74%, 70%)
CMYKcmyk(0%, 13.4%, 73.7%, 29.8%)
CIE-LABlab(64.35, -2.80, 56.62)
CIE-LCHlch(64.35, 56.69, 92.83°)
OKLaboklab(69.18% -0.0135 0.1251)
OKLCHoklch(69.18% 0.126 96.2)
XYZxyz(30.8264, 33.2333, 7.4797)
Luminance0.3323 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B39B2F #2F47B3
analogous
#B3592F #B39B2F #89B32F
triadic
#B39B2F #2FB39B #9B2FB3
tetradic
#B39B2F #2FB359 #2F47B3 #B32F89
square
#B39B2F #2FB359 #2F47B3 #B32F89
split-complementary
#B39B2F #2F89B3 #592FB3
monochromatic
#524716 #837122 #B39B2F #D1B94F #DDCC7F

Accessibility & contrast

On white

2.75
#B39B2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#B39B2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B39B2F
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B39B2F#FFFFFF#000000##000000
##B39B2F1.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB981D
Deuteranopia (green-blind)
#B19F36
Tritanopia (blue-blind)
#C18F86
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b39b2f;
/* rgb */ color: rgb(179, 155, 47);
/* oklch */ color: oklch(69.2% 0.126 96.2);
Tailwind
colors: {
  custom: {
    50: '#ceb86f',
    500: '#b39b2f',
    950: '#000000',
  },
}
SCSS
$custom: #b39b2f;
$custom-light: #ceb86f;
$custom-dark: #000000;
JSON
{
  "hex": "#b39b2f",
  "rgb": {
    "r": 179,
    "g": 155,
    "b": 47
  },
  "hsl": {
    "h": 49.091,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.69176,
    "c": 0.12584,
    "h": 96.2
  },
  "luminance": 0.33232
}

Semantic roles & 50–950 ramp

primary
#B39B2F
secondary
#7886C6
accent
#62E246
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141108
muted
#83807B

Preview Lab

Preview with #B39B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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