#BA7227#BA7227

#BA7227 is a mid, vivid orange. Relative luminance 0.226; OKLCH L 61.8% C 0.125 H 62.1°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#BA7227
RGBrgb(186, 114, 39)
HSLhsl(31, 65%, 44%)
HSVhsv(31, 79%, 73%)
CMYKcmyk(0%, 38.7%, 79%, 27.1%)
CIE-LABlab(54.68, 22.54, 50.81)
CIE-LCHlch(54.68, 55.58, 66.08°)
OKLaboklab(61.76% 0.0586 0.1106)
OKLCHoklch(61.76% 0.125 62.1)
XYZxyz(26.6355, 22.6229, 4.8830)
Luminance0.2262 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7227 #276FBA
analogous
#BA2927 #BA7227 #B9BA27
triadic
#BA7227 #27BA72 #7227BA
tetradic
#BA7227 #27BA29 #276FBA #BA27B9
square
#BA7227 #27BA29 #276FBA #BA27B9
split-complementary
#BA7227 #27B9BA #2927BA
monochromatic
#553412 #87531C #BA7227 #D89146 #E3AF79

Accessibility & contrast

On white

3.80
#BA7227 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#BA7227 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7227
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7227#FFFFFF#000000##000000
##BA72271.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#88791C
Deuteranopia (green-blind)
#998928
Tritanopia (blue-blind)
#CB6263
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ba7227;
/* rgb */ color: rgb(186, 114, 39);
/* oklch */ color: oklch(61.8% 0.125 62.1);
Tailwind
colors: {
  custom: {
    50: '#d59b67',
    500: '#ba7227',
    950: '#000000',
  },
}
SCSS
$custom: #ba7227;
$custom-light: #d59b67;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7227",
  "rgb": {
    "r": 186,
    "g": 114,
    "b": 39
  },
  "hsl": {
    "h": 30.612,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.61763,
    "c": 0.12514,
    "h": 62.1
  },
  "luminance": 0.2262
}

Semantic roles & 50–950 ramp

primary
#BA7227
secondary
#729DCB
accent
#92E840
background
#FDF9F6
surface
#FBF2EB
border
#D4CCC6
text
#150E06
muted
#837E7A

Preview Lab

Preview with #BA7227

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

Preview Lab → · Contrast checker → · Palette generator →

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