#B39940#B39940

#B39940 is a light, moderate yellow. Relative luminance 0.327; OKLCH L 68.9% C 0.112 H 92.9°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#B39940
RGBrgb(179, 153, 64)
HSLhsl(46, 47%, 48%)
HSVhsv(46, 64%, 70%)
CMYKcmyk(0%, 14.5%, 64.2%, 29.8%)
CIE-LABlab(63.95, -0.77, 49.01)
CIE-LCHlch(63.95, 49.02, 90.90°)
OKLaboklab(68.9% -0.0057 0.1119)
OKLCHoklch(68.9% 0.112 92.9)
XYZxyz(30.9085, 32.7380, 9.5405)
Luminance0.3274 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B39940 #405AB3
analogous
#B36040 #B39940 #93B340
triadic
#B39940 #40B399 #9940B3
tetradic
#B39940 #40B360 #405AB3 #B34093
square
#B39940 #40B360 #405AB3 #B34093
split-complementary
#B39940 #4093B3 #6040B3
monochromatic
#594C20 #867230 #B39940 #C9B367 #D9C994

Accessibility & contrast

On white

2.78
#B39940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#B39940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B39940
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B39940#FFFFFF#000000##000000
##B399401.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89636
Deuteranopia (green-blind)
#AF9E44
Tritanopia (blue-blind)
#C18E86
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b39940;
/* rgb */ color: rgb(179, 153, 64);
/* oklch */ color: oklch(68.9% 0.112 92.9);
Tailwind
colors: {
  custom: {
    50: '#cdb679',
    500: '#b39940',
    950: '#000000',
  },
}
SCSS
$custom: #b39940;
$custom-light: #cdb679;
$custom-dark: #000000;
JSON
{
  "hex": "#b39940",
  "rgb": {
    "r": 179,
    "g": 153,
    "b": 64
  },
  "hsl": {
    "h": 46.435,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.68901,
    "c": 0.11207,
    "h": 92.9
  },
  "luminance": 0.32736
}

Semantic roles & 50–950 ramp

primary
#B39940
secondary
#8A98C4
accent
#6FD751
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141109
muted
#83807B

Preview Lab

Preview with #B39940

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

Preview Lab → · Contrast checker → · Palette generator →

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