#B39128#B39128

#B39128 is a light, vivid yellow. Relative luminance 0.300; OKLCH L 67.0% C 0.124 H 89.8°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#B39128
RGBrgb(179, 145, 40)
HSLhsl(45, 63%, 43%)
HSVhsv(45, 78%, 70%)
CMYKcmyk(0%, 19%, 77.7%, 29.8%)
CIE-LABlab(61.65, 2.32, 56.67)
CIE-LCHlch(61.65, 56.72, 87.66°)
OKLaboklab(67.03% 0.0004 0.1238)
OKLCHoklch(67.03% 0.124 89.8)
XYZxyz(29.1005, 29.9896, 6.2629)
Luminance0.2999 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B39128 #284AB3
analogous
#B34C28 #B39128 #8FB328
triadic
#B39128 #28B391 #9128B3
tetradic
#B39128 #28B34C #284AB3 #B3288F
square
#B39128 #28B34C #284AB3 #B3288F
split-complementary
#B39128 #288FB3 #4C28B3
monochromatic
#4F4012 #81681D #B39128 #D5B143 #E0C675

Accessibility & contrast

On white

3.00
#B39128 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#B39128 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B39128
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B39128#FFFFFF#000000##000000
##B391281.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F14
Deuteranopia (green-blind)
#AA992E
Tritanopia (blue-blind)
#C2847D
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b39128;
/* rgb */ color: rgb(179, 145, 40);
/* oklch */ color: oklch(67.0% 0.124 89.8);
Tailwind
colors: {
  custom: {
    50: '#ceb06a',
    500: '#b39128',
    950: '#000000',
  },
}
SCSS
$custom: #b39128;
$custom-light: #ceb06a;
$custom-dark: #000000;
JSON
{
  "hex": "#b39128",
  "rgb": {
    "r": 179,
    "g": 145,
    "b": 40
  },
  "hsl": {
    "h": 45.324,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.67026,
    "c": 0.12378,
    "h": 89.8
  },
  "luminance": 0.29988
}

Semantic roles & 50–950 ramp

primary
#B39128
secondary
#6F85C8
accent
#6AE641
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#141007
muted
#837F7A

Preview Lab

Preview with #B39128

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

Preview Lab → · Contrast checker → · Palette generator →

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