#BA9937#BA9937

#BA9937 is a light, vivid orange. Relative luminance 0.335; OKLCH L 69.5% C 0.120 H 89.9°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#BA9937
RGBrgb(186, 153, 55)
HSLhsl(45, 54%, 47%)
HSVhsv(45, 70%, 73%)
CMYKcmyk(0%, 17.7%, 70.4%, 27.1%)
CIE-LABlab(64.56, 1.78, 53.84)
CIE-LCHlch(64.56, 53.87, 88.11°)
OKLaboklab(69.52% 0.0001 0.1205)
OKLCHoklch(69.52% 0.12 89.9)
XYZxyz(32.3323, 33.4994, 8.3767)
Luminance0.3350 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA9937 #3758BA
analogous
#BA5737 #BA9937 #9ABA37
triadic
#BA9937 #37BA99 #9937BA
tetradic
#BA9937 #37BA57 #3758BA #BA379A
square
#BA9937 #37BA57 #3758BA #BA379A
split-complementary
#BA9937 #379ABA #5737BA
monochromatic
#5C4B1B #8B7229 #BA9937 #D0B35F #DEC98E

Accessibility & contrast

On white

2.73
#BA9937 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#BA9937 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA9937
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA9937#FFFFFF#000000##000000
##BA99371.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA972A
Deuteranopia (green-blind)
#B2A03C
Tritanopia (blue-blind)
#C98C85
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ba9937;
/* rgb */ color: rgb(186, 153, 55);
/* oklch */ color: oklch(69.5% 0.120 89.9);
Tailwind
colors: {
  custom: {
    50: '#d3b673',
    500: '#ba9937',
    950: '#000000',
  },
}
SCSS
$custom: #ba9937;
$custom-light: #d3b673;
$custom-dark: #000000;
JSON
{
  "hex": "#ba9937",
  "rgb": {
    "r": 186,
    "g": 153,
    "b": 55
  },
  "hsl": {
    "h": 44.885,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.69523,
    "c": 0.12045,
    "h": 89.9
  },
  "luminance": 0.33497
}

Semantic roles & 50–950 ramp

primary
#BA9937
secondary
#8596C8
accent
#6FDE4A
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BA9937

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

Preview Lab → · Contrast checker → · Palette generator →

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