#B39831#B39831

#B39831 is a light, vivid yellow. Relative luminance 0.323; OKLCH L 68.6% C 0.122 H 93.9°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#B39831
RGBrgb(179, 152, 49)
HSLhsl(48, 57%, 45%)
HSVhsv(48, 73%, 70%)
CMYKcmyk(0%, 15.1%, 72.6%, 29.8%)
CIE-LABlab(63.56, -1.09, 55.07)
CIE-LCHlch(63.56, 55.08, 91.13°)
OKLaboklab(68.56% -0.0084 0.1222)
OKLCHoklch(68.56% 0.122 93.9)
XYZxyz(30.3746, 32.2636, 7.5328)
Luminance0.3226 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B39831 #314CB3
analogous
#B35731 #B39831 #8DB331
triadic
#B39831 #31B398 #9831B3
tetradic
#B39831 #31B357 #314CB3 #B3318D
square
#B39831 #31B357 #314CB3 #B3318D
split-complementary
#B39831 #318DB3 #5731B3
monochromatic
#534617 #836F24 #B39831 #D0B552 #DDCA82

Accessibility & contrast

On white

2.82
#B39831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#B39831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B39831
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B39831#FFFFFF#000000##000000
##B398311.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89521
Deuteranopia (green-blind)
#AF9D37
Tritanopia (blue-blind)
#C28C83
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b39831;
/* rgb */ color: rgb(179, 152, 49);
/* oklch */ color: oklch(68.6% 0.122 93.9);
Tailwind
colors: {
  custom: {
    50: '#ceb670',
    500: '#b39831',
    950: '#000000',
  },
}
SCSS
$custom: #b39831;
$custom-light: #ceb670;
$custom-dark: #000000;
JSON
{
  "hex": "#b39831",
  "rgb": {
    "r": 179,
    "g": 152,
    "b": 49
  },
  "hsl": {
    "h": 47.538,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.68556,
    "c": 0.12249,
    "h": 93.9
  },
  "luminance": 0.32262
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B39831

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

Preview Lab → · Contrast checker → · Palette generator →

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