#B39D2A#B39D2A

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

Color values

HEX#B39D2A
RGBrgb(179, 157, 42)
HSLhsl(50, 62%, 43%)
HSVhsv(50, 77%, 70%)
CMYKcmyk(0%, 12.3%, 76.5%, 29.8%)
CIE-LABlab(64.86, -4.10, 58.94)
CIE-LCHlch(64.86, 59.09, 93.98°)
OKLaboklab(69.57% -0.0177 0.1291)
OKLCHoklch(69.57% 0.13 97.8)
XYZxyz(31.0669, 33.8664, 7.0905)
Luminance0.3387 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B39D2A #2A40B3
analogous
#B3582A #B39D2A #84B32A
triadic
#B39D2A #2AB39D #9D2AB3
tetradic
#B39D2A #2AB358 #2A40B3 #B32A84
square
#B39D2A #2AB358 #2A40B3 #B32A84
split-complementary
#B39D2A #2A84B3 #582AB3
monochromatic
#504613 #81721E #B39D2A #D4BD46 #DFCF78

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B39D2A#FFFFFF#000000##000000
##B39D2A1.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)
#AD9913
Deuteranopia (green-blind)
#B3A132
Tritanopia (blue-blind)
#C19187
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b39d2a;
/* rgb */ color: rgb(179, 157, 42);
/* oklch */ color: oklch(69.6% 0.130 97.8);
Tailwind
colors: {
  custom: {
    50: '#ceb96d',
    500: '#b39d2a',
    950: '#000000',
  },
}
SCSS
$custom: #b39d2a;
$custom-light: #ceb96d;
$custom-dark: #000000;
JSON
{
  "hex": "#b39d2a",
  "rgb": {
    "r": 179,
    "g": 157,
    "b": 42
  },
  "hsl": {
    "h": 50.365,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.69568,
    "c": 0.13026,
    "h": 97.8
  },
  "luminance": 0.33865
}

Semantic roles & 50–950 ramp

primary
#B39D2A
secondary
#727FC7
accent
#5DE543
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141107
muted
#83807A

Preview Lab

Preview with #B39D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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