#BA7F30#BA7F30

#BA7F30 is a light, moderate orange. Relative luminance 0.258; OKLCH L 64.3% C 0.118 H 70.3°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#BA7F30
RGBrgb(186, 127, 48)
HSLhsl(34, 59%, 46%)
HSVhsv(34, 74%, 73%)
CMYKcmyk(0%, 31.7%, 74.2%, 27.1%)
CIE-LABlab(57.88, 15.73, 50.07)
CIE-LCHlch(57.88, 52.48, 72.56°)
OKLaboklab(64.27% 0.0398 0.1111)
OKLCHoklch(64.27% 0.118 70.3)
XYZxyz(28.3746, 25.8337, 6.2878)
Luminance0.2583 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7F30 #306BBA
analogous
#BA3A30 #BA7F30 #B0BA30
triadic
#BA7F30 #30BA7F #7F30BA
tetradic
#BA7F30 #30BA3A #306BBA #BA30B0
square
#BA7F30 #30BA3A #306BBA #BA30B0
split-complementary
#BA7F30 #30B0BA #3A30BA
monochromatic
#593D17 #895E23 #BA7F30 #D39D54 #DFB985

Accessibility & contrast

On white

3.41
#BA7F30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#BA7F30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7F30
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7F30#FFFFFF#000000##000000
##BA7F301.003.416.176.17
#FFFFFF3.411.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938326
Deuteranopia (green-blind)
#A19132
Tritanopia (blue-blind)
#CB706F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ba7f30;
/* rgb */ color: rgb(186, 127, 48);
/* oklch */ color: oklch(64.3% 0.118 70.3);
Tailwind
colors: {
  custom: {
    50: '#d4a46d',
    500: '#ba7f30',
    950: '#000000',
  },
}
SCSS
$custom: #ba7f30;
$custom-light: #d4a46d;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7f30",
  "rgb": {
    "r": 186,
    "g": 127,
    "b": 48
  },
  "hsl": {
    "h": 34.348,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.64266,
    "c": 0.11798,
    "h": 70.3
  },
  "luminance": 0.25831
}

Semantic roles & 50–950 ramp

primary
#BA7F30
secondary
#7D9DC9
accent
#89E246
background
#FDFAF6
surface
#FBF4EC
border
#D4CEC7
text
#150F07
muted
#837F7A

Preview Lab

Preview with #BA7F30

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

Preview Lab → · Contrast checker → · Palette generator →

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