#BA7D28#BA7D28

#BA7D28 is a light, vivid orange. Relative luminance 0.253; OKLCH L 63.8% C 0.122 H 70.5°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#BA7D28
RGBrgb(186, 125, 40)
HSLhsl(35, 65%, 44%)
HSVhsv(35, 78%, 73%)
CMYKcmyk(0%, 32.8%, 78.5%, 27.1%)
CIE-LABlab(57.33, 16.49, 52.90)
CIE-LCHlch(57.33, 55.41, 72.69°)
OKLaboklab(63.82% 0.0409 0.1153)
OKLCHoklch(63.82% 0.122 70.5)
XYZxyz(27.9685, 25.2621, 5.4102)
Luminance0.2526 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7D28 #2865BA
analogous
#BA3428 #BA7D28 #AEBA28
triadic
#BA7D28 #28BA7D #7D28BA
tetradic
#BA7D28 #28BA34 #2865BA #BA28AE
square
#BA7D28 #28BA34 #2865BA #BA28AE
split-complementary
#BA7D28 #28AEBA #3428BA
monochromatic
#553912 #885B1D #BA7D28 #D89B48 #E2B77A

Accessibility & contrast

On white

3.47
#BA7D28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#BA7D28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7D28
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7D28#FFFFFF#000000##000000
##BA7D281.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#92811A
Deuteranopia (green-blind)
#A08F2A
Tritanopia (blue-blind)
#CB6E6C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ba7d28;
/* rgb */ color: rgb(186, 125, 40);
/* oklch */ color: oklch(63.8% 0.122 70.5);
Tailwind
colors: {
  custom: {
    50: '#d4a268',
    500: '#ba7d28',
    950: '#000000',
  },
}
SCSS
$custom: #ba7d28;
$custom-light: #d4a268;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7d28",
  "rgb": {
    "r": 186,
    "g": 125,
    "b": 40
  },
  "hsl": {
    "h": 34.932,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.63821,
    "c": 0.12238,
    "h": 70.5
  },
  "luminance": 0.2526
}

Semantic roles & 50–950 ramp

primary
#BA7D28
secondary
#7398CA
accent
#86E840
background
#FDF9F6
surface
#FBF2EB
border
#D4CCC6
text
#150F06
muted
#837E7A

Preview Lab

Preview with #BA7D28

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

Preview Lab → · Contrast checker → · Palette generator →

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