#B39840#B39840

#B39840 is a light, moderate yellow. Relative luminance 0.324; OKLCH L 68.7% C 0.111 H 92.1°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#B39840
RGBrgb(179, 152, 64)
HSLhsl(46, 47%, 48%)
HSVhsv(46, 64%, 70%)
CMYKcmyk(0%, 15.1%, 64.2%, 29.8%)
CIE-LABlab(63.68, -0.23, 48.72)
CIE-LCHlch(63.68, 48.72, 90.27°)
OKLaboklab(68.69% -0.0041 0.1113)
OKLCHoklch(68.69% 0.111 92.1)
XYZxyz(30.7455, 32.4120, 9.4862)
Luminance0.3241 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B39840 #405BB3
analogous
#B35E40 #B39840 #94B340
triadic
#B39840 #40B398 #9840B3
tetradic
#B39840 #40B35E #405BB3 #B34094
square
#B39840 #40B35E #405BB3 #B34094
split-complementary
#B39840 #4094B3 #5E40B3
monochromatic
#594B20 #867230 #B39840 #C9B267 #D9C994

Accessibility & contrast

On white

2.81
#B39840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#B39840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B39840
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B39840#FFFFFF#000000##000000
##B398401.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79636
Deuteranopia (green-blind)
#AE9E44
Tritanopia (blue-blind)
#C18D85
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b39840;
/* rgb */ color: rgb(179, 152, 64);
/* oklch */ color: oklch(68.7% 0.111 92.1);
Tailwind
colors: {
  custom: {
    50: '#cdb679',
    500: '#b39840',
    950: '#000000',
  },
}
SCSS
$custom: #b39840;
$custom-light: #cdb679;
$custom-dark: #000000;
JSON
{
  "hex": "#b39840",
  "rgb": {
    "r": 179,
    "g": 152,
    "b": 64
  },
  "hsl": {
    "h": 45.913,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.68691,
    "c": 0.1114,
    "h": 92.1
  },
  "luminance": 0.3241
}

Semantic roles & 50–950 ramp

primary
#B39840
secondary
#8A98C4
accent
#70D751
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141109
muted
#83807B

Preview Lab

Preview with #B39840

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

Preview Lab → · Contrast checker → · Palette generator →

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