#BA9226#BA9226

#BA9226 is a light, vivid orange. Relative luminance 0.311; OKLCH L 68.0% C 0.127 H 86.9°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#BA9226
RGBrgb(186, 146, 38)
HSLhsl(44, 66%, 44%)
HSVhsv(44, 80%, 73%)
CMYKcmyk(0%, 21.5%, 79.6%, 27.1%)
CIE-LABlab(62.62, 4.83, 58.54)
CIE-LCHlch(62.62, 58.74, 85.28°)
OKLaboklab(67.96% 0.007 0.127)
OKLCHoklch(67.96% 0.127 86.9)
XYZxyz(30.8804, 31.1390, 6.2173)
Luminance0.3114 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA9226 #264EBA
analogous
#BA4826 #BA9226 #98BA26
triadic
#BA9226 #26BA92 #9226BA
tetradic
#BA9226 #26BA48 #264EBA #BA2698
square
#BA9226 #26BA48 #264EBA #BA2698
split-complementary
#BA9226 #2698BA #4826BA
monochromatic
#544211 #876A1C #BA9226 #D9B144 #E3C677

Accessibility & contrast

On white

2.91
#BA9226 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#BA9226 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA9226
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA9226#FFFFFF#000000##000000
##BA92261.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4910F
Deuteranopia (green-blind)
#AE9C2C
Tritanopia (blue-blind)
#CA847E
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ba9226;
/* rgb */ color: rgb(186, 146, 38);
/* oklch */ color: oklch(68.0% 0.127 86.9);
Tailwind
colors: {
  custom: {
    50: '#d3b16a',
    500: '#ba9226',
    950: '#000000',
  },
}
SCSS
$custom: #ba9226;
$custom-light: #d3b16a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba9226",
  "rgb": {
    "r": 186,
    "g": 146,
    "b": 38
  },
  "hsl": {
    "h": 43.784,
    "s": 66.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.67961,
    "c": 0.12721,
    "h": 86.9
  },
  "luminance": 0.31137
}

Semantic roles & 50–950 ramp

primary
#BA9226
secondary
#7189CB
accent
#6DE93F
background
#FDFAF6
surface
#FBF4EB
border
#D4CEC6
text
#151007
muted
#837F7A

Preview Lab

Preview with #BA9226

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

Preview Lab → · Contrast checker → · Palette generator →

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