#BA8227#BA8227

#BA8227 is a light, vivid orange. Relative luminance 0.266; OKLCH L 64.8% C 0.123 H 74.6°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#BA8227
RGBrgb(186, 130, 39)
HSLhsl(37, 65%, 44%)
HSVhsv(37, 79%, 73%)
CMYKcmyk(0%, 30.1%, 79%, 27.1%)
CIE-LABlab(58.56, 13.68, 54.45)
CIE-LCHlch(58.56, 56.14, 75.89°)
OKLaboklab(64.78% 0.0326 0.1184)
OKLCHoklch(64.78% 0.123 74.6)
XYZxyz(28.6006, 26.5533, 5.5381)
Luminance0.2655 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA8227 #275FBA
analogous
#BA3927 #BA8227 #A9BA27
triadic
#BA8227 #27BA82 #8227BA
tetradic
#BA8227 #27BA39 #275FBA #BA27A9
square
#BA8227 #27BA39 #275FBA #BA27A9
split-complementary
#BA8227 #27A9BA #3927BA
monochromatic
#553B12 #875F1C #BA8227 #D8A146 #E3BA79

Accessibility & contrast

On white

3.33
#BA8227 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#BA8227 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA8227
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA8227#FFFFFF#000000##000000
##BA82271.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#968517
Deuteranopia (green-blind)
#A3922A
Tritanopia (blue-blind)
#CB7370
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ba8227;
/* rgb */ color: rgb(186, 130, 39);
/* oklch */ color: oklch(64.8% 0.123 74.6);
Tailwind
colors: {
  custom: {
    50: '#d4a668',
    500: '#ba8227',
    950: '#000000',
  },
}
SCSS
$custom: #ba8227;
$custom-light: #d4a668;
$custom-dark: #000000;
JSON
{
  "hex": "#ba8227",
  "rgb": {
    "r": 186,
    "g": 130,
    "b": 39
  },
  "hsl": {
    "h": 37.143,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.64776,
    "c": 0.12283,
    "h": 74.6
  },
  "luminance": 0.26551
}

Semantic roles & 50–950 ramp

primary
#BA8227
secondary
#7294CB
accent
#80E840
background
#FDFAF6
surface
#FBF4EB
border
#D4CEC6
text
#150F07
muted
#837F7A

Preview Lab

Preview with #BA8227

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

Preview Lab → · Contrast checker → · Palette generator →

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