#BA8D23#BA8D23

#BA8D23 is a light, vivid orange. Relative luminance 0.296; OKLCH L 66.9% C 0.127 H 83.6°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#BA8D23
RGBrgb(186, 141, 35)
HSLhsl(42, 68%, 43%)
HSVhsv(42, 81%, 73%)
CMYKcmyk(0%, 24.2%, 81.2%, 27.1%)
CIE-LABlab(61.32, 7.47, 58.40)
CIE-LCHlch(61.32, 58.87, 82.71°)
OKLaboklab(66.93% 0.0142 0.126)
OKLCHoklch(66.93% 0.127 83.6)
XYZxyz(30.0800, 29.6125, 5.7213)
Luminance0.2961 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA8D23 #2350BA
analogous
#BA4123 #BA8D23 #9BBA23
triadic
#BA8D23 #23BA8D #8D23BA
tetradic
#BA8D23 #23BA41 #2350BA #BA239B
square
#BA8D23 #23BA41 #2350BA #BA239B
split-complementary
#BA8D23 #239BBA #4123BA
monochromatic
#533F10 #866619 #BA8D23 #DBAD3F #E5C373

Accessibility & contrast

On white

3.03
#BA8D23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#BA8D23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA8D23
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA8D23#FFFFFF#000000##000000
##BA8D231.003.036.926.92
#FFFFFF3.031.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D0A
Deuteranopia (green-blind)
#AB9929
Tritanopia (blue-blind)
#CA7F79
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ba8d23;
/* rgb */ color: rgb(186, 141, 35);
/* oklch */ color: oklch(66.9% 0.127 83.6);
Tailwind
colors: {
  custom: {
    50: '#d4ae68',
    500: '#ba8d23',
    950: '#000000',
  },
}
SCSS
$custom: #ba8d23;
$custom-light: #d4ae68;
$custom-dark: #000000;
JSON
{
  "hex": "#ba8d23",
  "rgb": {
    "r": 186,
    "g": 141,
    "b": 35
  },
  "hsl": {
    "h": 42.119,
    "s": 68.326,
    "l": 43.333
  },
  "oklch": {
    "l": 0.66929,
    "c": 0.12683,
    "h": 83.6
  },
  "luminance": 0.2961
}

Semantic roles & 50–950 ramp

primary
#BA8D23
secondary
#6D89CC
accent
#71EB3D
background
#FDFAF6
surface
#FBF4EB
border
#D4CEC6
text
#151007
muted
#837F7A

Preview Lab

Preview with #BA8D23

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

Preview Lab → · Contrast checker → · Palette generator →

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