#BA9E35#BA9E35

#BA9E35 is a light, vivid yellow. Relative luminance 0.351; OKLCH L 70.5% C 0.125 H 93.7°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#BA9E35
RGBrgb(186, 158, 53)
HSLhsl(47, 56%, 47%)
HSVhsv(47, 72%, 73%)
CMYKcmyk(0%, 15.1%, 71.5%, 27.1%)
CIE-LABlab(65.87, -1.02, 55.98)
CIE-LCHlch(65.87, 55.99, 91.05°)
OKLaboklab(70.55% -0.0082 0.1246)
OKLCHoklch(70.55% 0.125 93.7)
XYZxyz(33.1209, 35.1517, 8.4079)
Luminance0.3515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA9E35 #3551BA
analogous
#BA5B35 #BA9E35 #94BA35
triadic
#BA9E35 #35BA9E #9E35BA
tetradic
#BA9E35 #35BA5B #3551BA #BA3594
square
#BA9E35 #35BA5B #3551BA #BA3594
split-complementary
#BA9E35 #3594BA #5B35BA
monochromatic
#5B4D1A #8A7627 #BA9E35 #D0B85C #DECD8B

Accessibility & contrast

On white

2.62
#BA9E35 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#BA9E35 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA9E35
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA9E35#FFFFFF#000000##000000
##BA9E351.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B26
Deuteranopia (green-blind)
#B6A43B
Tritanopia (blue-blind)
#C99189
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ba9e35;
/* rgb */ color: rgb(186, 158, 53);
/* oklch */ color: oklch(70.5% 0.125 93.7);
Tailwind
colors: {
  custom: {
    50: '#d2ba73',
    500: '#ba9e35',
    950: '#000000',
  },
}
SCSS
$custom: #ba9e35;
$custom-light: #d2ba73;
$custom-dark: #000000;
JSON
{
  "hex": "#ba9e35",
  "rgb": {
    "r": 186,
    "g": 158,
    "b": 53
  },
  "hsl": {
    "h": 47.368,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.70547,
    "c": 0.12489,
    "h": 93.7
  },
  "luminance": 0.3515
}

Semantic roles & 50–950 ramp

primary
#BA9E35
secondary
#8291C8
accent
#68DF49
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BA9E35

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

Preview Lab → · Contrast checker → · Palette generator →

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