#BA7E28#BA7E28

#BA7E28 is a light, vivid orange. Relative luminance 0.255; OKLCH L 64.0% C 0.122 H 71.2°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#BA7E28
RGBrgb(186, 126, 40)
HSLhsl(35, 65%, 44%)
HSVhsv(35, 78%, 73%)
CMYKcmyk(0%, 32.3%, 78.5%, 27.1%)
CIE-LABlab(57.58, 15.94, 53.14)
CIE-LCHlch(57.58, 55.47, 73.30°)
OKLaboklab(64.01% 0.0393 0.1158)
OKLCHoklch(64.01% 0.122 71.2)
XYZxyz(28.0957, 25.5165, 5.4526)
Luminance0.2551 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7E28 #2864BA
analogous
#BA3528 #BA7E28 #ADBA28
triadic
#BA7E28 #28BA7E #7E28BA
tetradic
#BA7E28 #28BA35 #2864BA #BA28AD
square
#BA7E28 #28BA35 #2864BA #BA28AD
split-complementary
#BA7E28 #28ADBA #3528BA
monochromatic
#553A12 #885C1D #BA7E28 #D89C48 #E2B77A

Accessibility & contrast

On white

3.44
#BA7E28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#BA7E28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7E28
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7E28#FFFFFF#000000##000000
##BA7E281.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#93821A
Deuteranopia (green-blind)
#A1902B
Tritanopia (blue-blind)
#CB6F6D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ba7e28;
/* rgb */ color: rgb(186, 126, 40);
/* oklch */ color: oklch(64.0% 0.122 71.2);
Tailwind
colors: {
  custom: {
    50: '#d4a368',
    500: '#ba7e28',
    950: '#000000',
  },
}
SCSS
$custom: #ba7e28;
$custom-light: #d4a368;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7e28",
  "rgb": {
    "r": 186,
    "g": 126,
    "b": 40
  },
  "hsl": {
    "h": 35.342,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.64012,
    "c": 0.12232,
    "h": 71.2
  },
  "luminance": 0.25514
}

Semantic roles & 50–950 ramp

primary
#BA7E28
secondary
#7397CA
accent
#85E840
background
#FDFAF6
surface
#FBF3EB
border
#D4CDC6
text
#150F07
muted
#837F7A

Preview Lab

Preview with #BA7E28

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

Preview Lab → · Contrast checker → · Palette generator →

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