#BA972F#BA972F

#BA972F is a light, vivid orange. Relative luminance 0.328; OKLCH L 69.0% C 0.125 H 89.5°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#BA972F
RGBrgb(186, 151, 47)
HSLhsl(45, 60%, 46%)
HSVhsv(45, 75%, 73%)
CMYKcmyk(0%, 18.8%, 74.7%, 27.1%)
CIE-LABlab(63.98, 2.47, 56.51)
CIE-LCHlch(63.98, 56.56, 87.49°)
OKLaboklab(69.05% 0.0012 0.1246)
OKLCHoklch(69.05% 0.125 89.5)
XYZxyz(31.8313, 32.7796, 7.3393)
Luminance0.3278 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA972F #2F52BA
analogous
#BA512F #BA972F #97BA2F
triadic
#BA972F #2FBA97 #972FBA
tetradic
#BA972F #2FBA51 #2F52BA #BA2F97
square
#BA972F #2FBA51 #2F52BA #BA2F97
split-complementary
#BA972F #2F97BA #512FBA
monochromatic
#584816 #896F23 #BA972F #D3B353 #E0C984

Accessibility & contrast

On white

2.78
#BA972F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#BA972F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA972F
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA972F#FFFFFF#000000##000000
##BA972F1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9951E
Deuteranopia (green-blind)
#B19F35
Tritanopia (blue-blind)
#CA8A82
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ba972f;
/* rgb */ color: rgb(186, 151, 47);
/* oklch */ color: oklch(69.0% 0.125 89.5);
Tailwind
colors: {
  custom: {
    50: '#d3b56f',
    500: '#ba972f',
    950: '#000000',
  },
}
SCSS
$custom: #ba972f;
$custom-light: #d3b56f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba972f",
  "rgb": {
    "r": 186,
    "g": 151,
    "b": 47
  },
  "hsl": {
    "h": 44.892,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.69047,
    "c": 0.12457,
    "h": 89.5
  },
  "luminance": 0.32778
}

Semantic roles & 50–950 ramp

primary
#BA972F
secondary
#7C8FC9
accent
#6DE345
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151108
muted
#83807B

Preview Lab

Preview with #BA972F

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

Preview Lab → · Contrast checker → · Palette generator →

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