#B39E2B#B39E2B

#B39E2B is a light, vivid yellow. Relative luminance 0.342; OKLCH L 69.8% C 0.130 H 98.4°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#B39E2B
RGBrgb(179, 158, 43)
HSLhsl(51, 61%, 44%)
HSVhsv(51, 76%, 70%)
CMYKcmyk(0%, 11.7%, 76%, 29.8%)
CIE-LABlab(65.13, -4.59, 58.85)
CIE-LCHlch(65.13, 59.03, 94.46°)
OKLaboklab(69.79% -0.019 0.129)
OKLCHoklch(69.79% 0.13 98.4)
XYZxyz(31.2549, 34.2134, 7.2426)
Luminance0.3421 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B39E2B #2B40B3
analogous
#B35A2B #B39E2B #84B32B
triadic
#B39E2B #2BB39E #9E2BB3
tetradic
#B39E2B #2BB35A #2B40B3 #B32B84
square
#B39E2B #2BB35A #2B40B3 #B32B84
split-complementary
#B39E2B #2B84B3 #5A2BB3
monochromatic
#504713 #82721F #B39E2B #D3BE48 #DFCF79

Accessibility & contrast

On white

2.68
#B39E2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#B39E2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B39E2B
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B39E2B#FFFFFF#000000##000000
##B39E2B1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A14
Deuteranopia (green-blind)
#B4A133
Tritanopia (blue-blind)
#C19288
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b39e2b;
/* rgb */ color: rgb(179, 158, 43);
/* oklch */ color: oklch(69.8% 0.130 98.4);
Tailwind
colors: {
  custom: {
    50: '#ceba6d',
    500: '#b39e2b',
    950: '#000000',
  },
}
SCSS
$custom: #b39e2b;
$custom-light: #ceba6d;
$custom-dark: #000000;
JSON
{
  "hex": "#b39e2b",
  "rgb": {
    "r": 179,
    "g": 158,
    "b": 43
  },
  "hsl": {
    "h": 50.735,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.69788,
    "c": 0.13043,
    "h": 98.4
  },
  "luminance": 0.34212
}

Semantic roles & 50–950 ramp

primary
#B39E2B
secondary
#7380C7
accent
#5CE443
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141108
muted
#83807B

Preview Lab

Preview with #B39E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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