#BA8F23#BA8F23

#BA8F23 is a light, vivid orange. Relative luminance 0.302; OKLCH L 67.3% C 0.128 H 85.0°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#BA8F23
RGBrgb(186, 143, 35)
HSLhsl(43, 68%, 43%)
HSVhsv(43, 81%, 73%)
CMYKcmyk(0%, 23.1%, 81.2%, 27.1%)
CIE-LABlab(61.83, 6.37, 58.85)
CIE-LCHlch(61.83, 59.20, 83.83°)
OKLaboklab(67.33% 0.0111 0.127)
OKLCHoklch(67.33% 0.128 85)
XYZxyz(30.3775, 30.2076, 5.8205)
Luminance0.3020 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA8F23 #234EBA
analogous
#BA4323 #BA8F23 #99BA23
triadic
#BA8F23 #23BA8F #8F23BA
tetradic
#BA8F23 #23BA43 #234EBA #BA2399
square
#BA8F23 #23BA43 #234EBA #BA2399
split-complementary
#BA8F23 #2399BA #4323BA
monochromatic
#534010 #866719 #BA8F23 #DBAF3F #E5C473

Accessibility & contrast

On white

2.98
#BA8F23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#BA8F23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA8F23
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA8F23#FFFFFF#000000##000000
##BA8F231.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F08
Deuteranopia (green-blind)
#AC9A29
Tritanopia (blue-blind)
#CA817B
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ba8f23;
/* rgb */ color: rgb(186, 143, 35);
/* oklch */ color: oklch(67.3% 0.128 85.0);
Tailwind
colors: {
  custom: {
    50: '#d4af68',
    500: '#ba8f23',
    950: '#000000',
  },
}
SCSS
$custom: #ba8f23;
$custom-light: #d4af68;
$custom-dark: #000000;
JSON
{
  "hex": "#ba8f23",
  "rgb": {
    "r": 186,
    "g": 143,
    "b": 35
  },
  "hsl": {
    "h": 42.914,
    "s": 68.326,
    "l": 43.333
  },
  "oklch": {
    "l": 0.67333,
    "c": 0.1275,
    "h": 85
  },
  "luminance": 0.30205
}

Semantic roles & 50–950 ramp

primary
#BA8F23
secondary
#6D88CC
accent
#6EEB3D
background
#FDFAF6
surface
#FBF4EB
border
#D4CEC6
text
#151007
muted
#837F7A

Preview Lab

Preview with #BA8F23

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

Preview Lab → · Contrast checker → · Palette generator →

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