#B38C2F#B38C2F

#B38C2F is a light, moderate orange. Relative luminance 0.285; OKLCH L 66.0% C 0.117 H 85.1°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#B38C2F
RGBrgb(179, 140, 47)
HSLhsl(42, 58%, 44%)
HSVhsv(42, 74%, 70%)
CMYKcmyk(0%, 21.8%, 73.7%, 29.8%)
CIE-LABlab(60.38, 5.37, 52.74)
CIE-LCHlch(60.38, 53.01, 84.18°)
OKLaboklab(66.05% 0.0099 0.1169)
OKLCHoklch(66.05% 0.117 85.1)
XYZxyz(28.4833, 28.5471, 6.6987)
Luminance0.2854 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B38C2F #2F56B3
analogous
#B34A2F #B38C2F #98B32F
triadic
#B38C2F #2FB38C #8C2FB3
tetradic
#B38C2F #2FB34A #2F56B3 #B32F98
square
#B38C2F #2FB34A #2F56B3 #B32F98
split-complementary
#B38C2F #2F98B3 #4A2FB3
monochromatic
#524016 #836622 #B38C2F #D1AA4F #DDC27F

Accessibility & contrast

On white

3.13
#B38C2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#B38C2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B38C2F
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B38C2F#FFFFFF#000000##000000
##B38C2F1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8C21
Deuteranopia (green-blind)
#A79633
Tritanopia (blue-blind)
#C27F79
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b38c2f;
/* rgb */ color: rgb(179, 140, 47);
/* oklch */ color: oklch(66.0% 0.117 85.1);
Tailwind
colors: {
  custom: {
    50: '#cead6e',
    500: '#b38c2f',
    950: '#000000',
  },
}
SCSS
$custom: #b38c2f;
$custom-light: #cead6e;
$custom-dark: #000000;
JSON
{
  "hex": "#b38c2f",
  "rgb": {
    "r": 179,
    "g": 140,
    "b": 47
  },
  "hsl": {
    "h": 42.273,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.66045,
    "c": 0.11728,
    "h": 85.1
  },
  "luminance": 0.28545
}

Semantic roles & 50–950 ramp

primary
#B38C2F
secondary
#788FC6
accent
#74E246
background
#FDFAF6
surface
#FAF4EC
border
#D3CEC7
text
#141007
muted
#837F7A

Preview Lab

Preview with #B38C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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