#BA9D35#BA9D35

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

Color values

HEX#BA9D35
RGBrgb(186, 157, 53)
HSLhsl(47, 56%, 47%)
HSVhsv(47, 72%, 73%)
CMYKcmyk(0%, 15.6%, 71.5%, 27.1%)
CIE-LABlab(65.60, -0.49, 55.72)
CIE-LCHlch(65.60, 55.72, 90.50°)
OKLaboklab(70.34% -0.0066 0.1241)
OKLCHoklch(70.34% 0.124 93.1)
XYZxyz(32.9510, 34.8120, 8.3513)
Luminance0.3481 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA9D35 #3552BA
analogous
#BA5A35 #BA9D35 #95BA35
triadic
#BA9D35 #35BA9D #9D35BA
tetradic
#BA9D35 #35BA5A #3552BA #BA3595
square
#BA9D35 #35BA5A #3552BA #BA3595
split-complementary
#BA9D35 #3595BA #5A35BA
monochromatic
#5B4D1A #8A7527 #BA9D35 #D0B75C #DECC8B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA9D35#FFFFFF#000000##000000
##BA9D351.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)
#AE9A26
Deuteranopia (green-blind)
#B5A33B
Tritanopia (blue-blind)
#C99088
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ba9d35;
/* rgb */ color: rgb(186, 157, 53);
/* oklch */ color: oklch(70.3% 0.124 93.1);
Tailwind
colors: {
  custom: {
    50: '#d3b973',
    500: '#ba9d35',
    950: '#000000',
  },
}
SCSS
$custom: #ba9d35;
$custom-light: #d3b973;
$custom-dark: #000000;
JSON
{
  "hex": "#ba9d35",
  "rgb": {
    "r": 186,
    "g": 157,
    "b": 53
  },
  "hsl": {
    "h": 46.917,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.70338,
    "c": 0.12424,
    "h": 93.1
  },
  "luminance": 0.3481
}

Semantic roles & 50–950 ramp

primary
#BA9D35
secondary
#8292C8
accent
#6ADF49
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BA9D35

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

Preview Lab → · Contrast checker → · Palette generator →

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