#B39728#B39728

#B39728 is a light, vivid yellow. Relative luminance 0.319; OKLCH L 68.3% C 0.127 H 94.0°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#B39728
RGBrgb(179, 151, 40)
HSLhsl(48, 63%, 43%)
HSVhsv(48, 78%, 70%)
CMYKcmyk(0%, 15.6%, 77.7%, 29.8%)
CIE-LABlab(63.24, -0.95, 58.14)
CIE-LCHlch(63.24, 58.15, 90.93°)
OKLaboklab(68.28% -0.009 0.1269)
OKLCHoklch(68.28% 0.127 94)
XYZxyz(30.0417, 31.8719, 6.5766)
Luminance0.3187 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B39728 #2844B3
analogous
#B35228 #B39728 #89B328
triadic
#B39728 #28B397 #9728B3
tetradic
#B39728 #28B352 #2844B3 #B32889
square
#B39728 #28B352 #2844B3 #B32889
split-complementary
#B39728 #2889B3 #5228B3
monochromatic
#4F4312 #816D1D #B39728 #D5B843 #E0CB75

Accessibility & contrast

On white

2.85
#B39728 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#B39728 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B39728
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B39728#FFFFFF#000000##000000
##B397281.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89411
Deuteranopia (green-blind)
#AF9D2F
Tritanopia (blue-blind)
#C28A82
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b39728;
/* rgb */ color: rgb(179, 151, 40);
/* oklch */ color: oklch(68.3% 0.127 94.0);
Tailwind
colors: {
  custom: {
    50: '#ceb56b',
    500: '#b39728',
    950: '#000000',
  },
}
SCSS
$custom: #b39728;
$custom-light: #ceb56b;
$custom-dark: #000000;
JSON
{
  "hex": "#b39728",
  "rgb": {
    "r": 179,
    "g": 151,
    "b": 40
  },
  "hsl": {
    "h": 47.914,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.68282,
    "c": 0.12726,
    "h": 94
  },
  "luminance": 0.3187
}

Semantic roles & 50–950 ramp

primary
#B39728
secondary
#6F81C8
accent
#63E641
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141107
muted
#83807A

Preview Lab

Preview with #B39728

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

Preview Lab → · Contrast checker → · Palette generator →

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