#B39731#B39731

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

Color values

HEX#B39731
RGBrgb(179, 151, 49)
HSLhsl(47, 57%, 45%)
HSVhsv(47, 73%, 70%)
CMYKcmyk(0%, 15.6%, 72.6%, 29.8%)
CIE-LABlab(63.29, -0.55, 54.81)
CIE-LCHlch(63.29, 54.81, 90.57°)
OKLaboklab(68.35% -0.0068 0.1216)
OKLCHoklch(68.35% 0.122 93.2)
XYZxyz(30.2130, 31.9404, 7.4789)
Luminance0.3194 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B39731 #314DB3
analogous
#B35631 #B39731 #8EB331
triadic
#B39731 #31B397 #9731B3
tetradic
#B39731 #31B356 #314DB3 #B3318E
square
#B39731 #31B356 #314DB3 #B3318E
split-complementary
#B39731 #318EB3 #5631B3
monochromatic
#534617 #836E24 #B39731 #D0B452 #DDC982

Accessibility & contrast

On white

2.84
#B39731 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#B39731 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B39731
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B39731#FFFFFF#000000##000000
##B397311.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79422
Deuteranopia (green-blind)
#AE9D37
Tritanopia (blue-blind)
#C28B83
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b39731;
/* rgb */ color: rgb(179, 151, 49);
/* oklch */ color: oklch(68.3% 0.122 93.2);
Tailwind
colors: {
  custom: {
    50: '#ceb570',
    500: '#b39731',
    950: '#000000',
  },
}
SCSS
$custom: #b39731;
$custom-light: #ceb570;
$custom-dark: #000000;
JSON
{
  "hex": "#b39731",
  "rgb": {
    "r": 179,
    "g": 151,
    "b": 49
  },
  "hsl": {
    "h": 47.077,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.68345,
    "c": 0.12183,
    "h": 93.2
  },
  "luminance": 0.31939
}

Semantic roles & 50–950 ramp

primary
#B39731
secondary
#7A8AC6
accent
#68E048
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B39731

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

Preview Lab → · Contrast checker → · Palette generator →

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