#BA8826#BA8826

#BA8826 is a light, vivid orange. Relative luminance 0.282; OKLCH L 65.9% C 0.124 H 79.4°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#BA8826
RGBrgb(186, 136, 38)
HSLhsl(40, 66%, 44%)
HSVhsv(40, 80%, 73%)
CMYKcmyk(0%, 26.9%, 79.6%, 27.1%)
CIE-LABlab(60.06, 10.33, 56.21)
CIE-LCHlch(60.06, 57.15, 79.59°)
OKLaboklab(65.95% 0.0228 0.122)
OKLCHoklch(65.95% 0.124 79.4)
XYZxyz(29.4058, 28.1897, 5.7258)
Luminance0.2819 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA8826 #2658BA
analogous
#BA3E26 #BA8826 #A2BA26
triadic
#BA8826 #26BA88 #8826BA
tetradic
#BA8826 #26BA3E #2658BA #BA26A2
square
#BA8826 #26BA3E #2658BA #BA26A2
split-complementary
#BA8826 #26A2BA #3E26BA
monochromatic
#543E11 #87631C #BA8826 #D9A744 #E3BF77

Accessibility & contrast

On white

3.16
#BA8826 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#BA8826 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA8826
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA8826#FFFFFF#000000##000000
##BA88261.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8913
Deuteranopia (green-blind)
#A7962A
Tritanopia (blue-blind)
#CB7A75
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ba8826;
/* rgb */ color: rgb(186, 136, 38);
/* oklch */ color: oklch(65.9% 0.124 79.4);
Tailwind
colors: {
  custom: {
    50: '#d4aa69',
    500: '#ba8826',
    950: '#000000',
  },
}
SCSS
$custom: #ba8826;
$custom-light: #d4aa69;
$custom-dark: #000000;
JSON
{
  "hex": "#ba8826",
  "rgb": {
    "r": 186,
    "g": 136,
    "b": 38
  },
  "hsl": {
    "h": 39.73,
    "s": 66.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.65948,
    "c": 0.12409,
    "h": 79.4
  },
  "luminance": 0.28187
}

Semantic roles & 50–950 ramp

primary
#BA8826
secondary
#718FCB
accent
#78E93F
background
#FDFAF6
surface
#FBF4EB
border
#D4CEC6
text
#151007
muted
#837F7A

Preview Lab

Preview with #BA8826

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

Preview Lab → · Contrast checker → · Palette generator →

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