#B39838#B39838

#B39838 is a light, moderate yellow. Relative luminance 0.323; OKLCH L 68.6% C 0.118 H 93.2°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#B39838
RGBrgb(179, 152, 56)
HSLhsl(47, 52%, 46%)
HSVhsv(47, 69%, 70%)
CMYKcmyk(0%, 15.1%, 68.7%, 29.8%)
CIE-LABlab(63.61, -0.72, 52.22)
CIE-LCHlch(63.61, 52.22, 90.79°)
OKLaboklab(68.61% -0.0065 0.1174)
OKLCHoklch(68.61% 0.118 93.2)
XYZxyz(30.5340, 32.3274, 8.3721)
Luminance0.3233 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B39838 #3853B3
analogous
#B35A38 #B39838 #90B338
triadic
#B39838 #38B398 #9838B3
tetradic
#B39838 #38B35A #3853B3 #B33890
square
#B39838 #38B35A #3853B3 #B33890
split-complementary
#B39838 #3890B3 #5A38B3
monochromatic
#56491B #847029 #B39838 #CCB35C #DBC98B

Accessibility & contrast

On white

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

On black

7.47
#B39838 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B39838
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B39838#FFFFFF#000000##000000
##B398381.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8952C
Deuteranopia (green-blind)
#AF9D3D
Tritanopia (blue-blind)
#C18C84
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b39838;
/* rgb */ color: rgb(179, 152, 56);
/* oklch */ color: oklch(68.6% 0.118 93.2);
Tailwind
colors: {
  custom: {
    50: '#cdb674',
    500: '#b39838',
    950: '#000000',
  },
}
SCSS
$custom: #b39838;
$custom-light: #cdb674;
$custom-dark: #000000;
JSON
{
  "hex": "#b39838",
  "rgb": {
    "r": 179,
    "g": 152,
    "b": 56
  },
  "hsl": {
    "h": 46.829,
    "s": 52.34,
    "l": 46.078
  },
  "oklch": {
    "l": 0.68614,
    "c": 0.11762,
    "h": 93.2
  },
  "luminance": 0.32326
}

Semantic roles & 50–950 ramp

primary
#B39838
secondary
#8291C5
accent
#6CDC4C
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B39838

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

Preview Lab → · Contrast checker → · Palette generator →

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