#BA9938#BA9938

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

Color values

HEX#BA9938
RGBrgb(186, 153, 56)
HSLhsl(45, 54%, 47%)
HSVhsv(45, 70%, 73%)
CMYKcmyk(0%, 17.7%, 69.9%, 27.1%)
CIE-LABlab(64.57, 1.83, 53.42)
CIE-LCHlch(64.57, 53.46, 88.03°)
OKLaboklab(69.53% 0.0004 0.1198)
OKLCHoklch(69.53% 0.12 89.8)
XYZxyz(32.3565, 33.5091, 8.5043)
Luminance0.3351 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA9938 #3859BA
analogous
#BA5838 #BA9938 #9ABA38
triadic
#BA9938 #38BA99 #9938BA
tetradic
#BA9938 #38BA58 #3859BA #BA389A
square
#BA9938 #38BA58 #3859BA #BA389A
split-complementary
#BA9938 #389ABA #5838BA
monochromatic
#5C4C1C #8B722A #BA9938 #CFB360 #DDC98F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA9938#FFFFFF#000000##000000
##BA99381.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)
#AA972B
Deuteranopia (green-blind)
#B2A03D
Tritanopia (blue-blind)
#C98C85
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ba9938;
/* rgb */ color: rgb(186, 153, 56);
/* oklch */ color: oklch(69.5% 0.120 89.8);
Tailwind
colors: {
  custom: {
    50: '#d2b674',
    500: '#ba9938',
    950: '#000000',
  },
}
SCSS
$custom: #ba9938;
$custom-light: #d2b674;
$custom-dark: #000000;
JSON
{
  "hex": "#ba9938",
  "rgb": {
    "r": 186,
    "g": 153,
    "b": 56
  },
  "hsl": {
    "h": 44.769,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.69531,
    "c": 0.11975,
    "h": 89.8
  },
  "luminance": 0.33507
}

Semantic roles & 50–950 ramp

primary
#BA9938
secondary
#8697C8
accent
#70DD4B
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BA9938

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

Preview Lab → · Contrast checker → · Palette generator →

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