#B38D31#B38D31

#B38D31 is a light, moderate orange. Relative luminance 0.289; OKLCH L 66.3% C 0.116 H 85.6°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#B38D31
RGBrgb(179, 141, 49)
HSLhsl(42, 57%, 45%)
HSVhsv(42, 73%, 70%)
CMYKcmyk(0%, 21.2%, 72.6%, 29.8%)
CIE-LABlab(60.66, 4.92, 52.18)
CIE-LCHlch(60.66, 52.41, 84.61°)
OKLaboklab(66.27% 0.0089 0.1161)
OKLCHoklch(66.27% 0.116 85.6)
XYZxyz(28.6714, 28.8571, 6.9650)
Luminance0.2885 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B38D31 #3157B3
analogous
#B34C31 #B38D31 #98B331
triadic
#B38D31 #31B38D #8D31B3
tetradic
#B38D31 #31B34C #3157B3 #B33198
square
#B38D31 #31B34C #3157B3 #B33198
split-complementary
#B38D31 #3198B3 #4C31B3
monochromatic
#534117 #836724 #B38D31 #D0AB52 #DDC282

Accessibility & contrast

On white

3.10
#B38D31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#B38D31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B38D31
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B38D31#FFFFFF#000000##000000
##B38D311.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C24
Deuteranopia (green-blind)
#A79635
Tritanopia (blue-blind)
#C2807A
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b38d31;
/* rgb */ color: rgb(179, 141, 49);
/* oklch */ color: oklch(66.3% 0.116 85.6);
Tailwind
colors: {
  custom: {
    50: '#ceae6f',
    500: '#b38d31',
    950: '#000000',
  },
}
SCSS
$custom: #b38d31;
$custom-light: #ceae6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b38d31",
  "rgb": {
    "r": 179,
    "g": 141,
    "b": 49
  },
  "hsl": {
    "h": 42.462,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.66266,
    "c": 0.11641,
    "h": 85.6
  },
  "luminance": 0.28855
}

Semantic roles & 50–950 ramp

primary
#B38D31
secondary
#7A90C6
accent
#74E048
background
#FDFAF6
surface
#FAF4EC
border
#D3CEC7
text
#141008
muted
#837F7B

Preview Lab

Preview with #B38D31

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

Preview Lab → · Contrast checker → · Palette generator →

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