#BA9D36#BA9D36

#BA9D36 is a light, vivid yellow. Relative luminance 0.348; OKLCH L 70.3% C 0.124 H 93.0°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#BA9D36
RGBrgb(186, 157, 54)
HSLhsl(47, 55%, 47%)
HSVhsv(47, 71%, 73%)
CMYKcmyk(0%, 15.6%, 71%, 27.1%)
CIE-LABlab(65.61, -0.43, 55.32)
CIE-LCHlch(65.61, 55.32, 90.45°)
OKLaboklab(70.35% -0.0064 0.1234)
OKLCHoklch(70.35% 0.124 93)
XYZxyz(32.9743, 34.8213, 8.4737)
Luminance0.3482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA9D36 #3653BA
analogous
#BA5B36 #BA9D36 #95BA36
triadic
#BA9D36 #36BA9D #9D36BA
tetradic
#BA9D36 #36BA5B #3653BA #BA3695
square
#BA9D36 #36BA5B #3653BA #BA3695
split-complementary
#BA9D36 #3695BA #5B36BA
monochromatic
#5B4D1A #8B7528 #BA9D36 #D0B75D #DECC8D

Accessibility & contrast

On white

2.64
#BA9D36 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#BA9D36 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA9D36
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA9D36#FFFFFF#000000##000000
##BA9D361.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A27
Deuteranopia (green-blind)
#B5A33B
Tritanopia (blue-blind)
#C99088
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ba9d36;
/* rgb */ color: rgb(186, 157, 54);
/* oklch */ color: oklch(70.3% 0.124 93.0);
Tailwind
colors: {
  custom: {
    50: '#d2b973',
    500: '#ba9d36',
    950: '#000000',
  },
}
SCSS
$custom: #ba9d36;
$custom-light: #d2b973;
$custom-dark: #000000;
JSON
{
  "hex": "#ba9d36",
  "rgb": {
    "r": 186,
    "g": 157,
    "b": 54
  },
  "hsl": {
    "h": 46.818,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.70346,
    "c": 0.12355,
    "h": 93
  },
  "luminance": 0.34819
}

Semantic roles & 50–950 ramp

primary
#BA9D36
secondary
#8493C8
accent
#6ADE49
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BA9D36

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

Preview Lab → · Contrast checker → · Palette generator →

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