#BA9E36#BA9E36

#BA9E36 is a light, vivid yellow. Relative luminance 0.352; OKLCH L 70.6% C 0.124 H 93.6°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#BA9E36
RGBrgb(186, 158, 54)
HSLhsl(47, 55%, 47%)
HSVhsv(47, 71%, 73%)
CMYKcmyk(0%, 15.1%, 71%, 27.1%)
CIE-LABlab(65.87, -0.97, 55.58)
CIE-LCHlch(65.87, 55.59, 91.00°)
OKLaboklab(70.56% -0.0079 0.124)
OKLCHoklch(70.56% 0.124 93.6)
XYZxyz(33.1441, 35.1610, 8.5303)
Luminance0.3516 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA9E36 #3652BA
analogous
#BA5C36 #BA9E36 #94BA36
triadic
#BA9E36 #36BA9E #9E36BA
tetradic
#BA9E36 #36BA5C #3652BA #BA3694
square
#BA9E36 #36BA5C #3652BA #BA3694
split-complementary
#BA9E36 #3694BA #5C36BA
monochromatic
#5B4D1A #8B7628 #BA9E36 #D0B85D #DECD8D

Accessibility & contrast

On white

2.61
#BA9E36 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA9E36#FFFFFF#000000##000000
##BA9E361.002.618.038.03
#FFFFFF2.611.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba9e36;
/* rgb */ color: rgb(186, 158, 54);
/* oklch */ color: oklch(70.6% 0.124 93.6);
Tailwind
colors: {
  custom: {
    50: '#d2ba73',
    500: '#ba9e36',
    950: '#000000',
  },
}
SCSS
$custom: #ba9e36;
$custom-light: #d2ba73;
$custom-dark: #000000;
JSON
{
  "hex": "#ba9e36",
  "rgb": {
    "r": 186,
    "g": 158,
    "b": 54
  },
  "hsl": {
    "h": 47.273,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.70555,
    "c": 0.12421,
    "h": 93.6
  },
  "luminance": 0.35159
}

Semantic roles & 50–950 ramp

primary
#BA9E36
secondary
#8492C8
accent
#69DE49
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BA9E36

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

Preview Lab → · Contrast checker → · Palette generator →

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