#B39938#B39938

#B39938 is a light, moderate yellow. Relative luminance 0.327; OKLCH L 68.8% C 0.118 H 93.9°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#B39938
RGBrgb(179, 153, 56)
HSLhsl(47, 52%, 46%)
HSVhsv(47, 69%, 70%)
CMYKcmyk(0%, 14.5%, 68.7%, 29.8%)
CIE-LABlab(63.88, -1.26, 52.49)
CIE-LCHlch(63.88, 52.51, 91.37°)
OKLaboklab(68.83% -0.0081 0.118)
OKLCHoklch(68.83% 0.118 93.9)
XYZxyz(30.6970, 32.6534, 8.4265)
Luminance0.3265 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B39938 #3852B3
analogous
#B35B38 #B39938 #8FB338
triadic
#B39938 #38B399 #9938B3
tetradic
#B39938 #38B35B #3852B3 #B3388F
square
#B39938 #38B35B #3852B3 #B3388F
split-complementary
#B39938 #388FB3 #5B38B3
monochromatic
#56491B #847129 #B39938 #CCB45C #DBCA8B

Accessibility & contrast

On white

2.79
#B39938 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#B39938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B39938
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B39938#FFFFFF#000000##000000
##B399381.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9962B
Deuteranopia (green-blind)
#AF9E3D
Tritanopia (blue-blind)
#C18D85
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b39938;
/* rgb */ color: rgb(179, 153, 56);
/* oklch */ color: oklch(68.8% 0.118 93.9);
Tailwind
colors: {
  custom: {
    50: '#cdb674',
    500: '#b39938',
    950: '#000000',
  },
}
SCSS
$custom: #b39938;
$custom-light: #cdb674;
$custom-dark: #000000;
JSON
{
  "hex": "#b39938",
  "rgb": {
    "r": 179,
    "g": 153,
    "b": 56
  },
  "hsl": {
    "h": 47.317,
    "s": 52.34,
    "l": 46.078
  },
  "oklch": {
    "l": 0.68825,
    "c": 0.11829,
    "h": 93.9
  },
  "luminance": 0.32652
}

Semantic roles & 50–950 ramp

primary
#B39938
secondary
#8290C5
accent
#6ADC4C
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B39938

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

Preview Lab → · Contrast checker → · Palette generator →

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