#BA9228#BA9228

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

Color values

HEX#BA9228
RGBrgb(186, 146, 40)
HSLhsl(44, 65%, 44%)
HSVhsv(44, 78%, 73%)
CMYKcmyk(0%, 21.5%, 78.5%, 27.1%)
CIE-LABlab(62.64, 4.91, 57.85)
CIE-LCHlch(62.64, 58.06, 85.15°)
OKLaboklab(67.97% 0.0074 0.126)
OKLCHoklch(67.97% 0.126 86.6)
XYZxyz(30.9135, 31.1522, 6.3919)
Luminance0.3115 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA9228 #2850BA
analogous
#BA4928 #BA9228 #99BA28
triadic
#BA9228 #28BA92 #9228BA
tetradic
#BA9228 #28BA49 #2850BA #BA2899
square
#BA9228 #28BA49 #2850BA #BA2899
split-complementary
#BA9228 #2899BA #4928BA
monochromatic
#554312 #886A1D #BA9228 #D8B048 #E2C67A

Accessibility & contrast

On white

2.90
#BA9228 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA9228#FFFFFF#000000##000000
##BA92281.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba9228;
/* rgb */ color: rgb(186, 146, 40);
/* oklch */ color: oklch(68.0% 0.126 86.6);
Tailwind
colors: {
  custom: {
    50: '#d3b16b',
    500: '#ba9228',
    950: '#000000',
  },
}
SCSS
$custom: #ba9228;
$custom-light: #d3b16b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba9228",
  "rgb": {
    "r": 186,
    "g": 146,
    "b": 40
  },
  "hsl": {
    "h": 43.562,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.67973,
    "c": 0.12618,
    "h": 86.6
  },
  "luminance": 0.3115
}

Semantic roles & 50–950 ramp

primary
#BA9228
secondary
#738BCA
accent
#6EE840
background
#FDFAF6
surface
#FBF5EC
border
#D4CFC7
text
#151007
muted
#837F7A

Preview Lab

Preview with #BA9228

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

Preview Lab → · Contrast checker → · Palette generator →

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