#BA9935#BA9935

#BA9935 is a light, vivid yellow. Relative luminance 0.335; OKLCH L 69.5% C 0.122 H 90.2°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#BA9935
RGBrgb(186, 153, 53)
HSLhsl(45, 56%, 47%)
HSVhsv(45, 72%, 73%)
CMYKcmyk(0%, 17.7%, 71.5%, 27.1%)
CIE-LABlab(64.55, 1.68, 54.66)
CIE-LCHlch(64.55, 54.69, 88.24°)
OKLaboklab(69.51% -0.0004 0.1218)
OKLCHoklch(69.51% 0.122 90.2)
XYZxyz(32.2853, 33.4806, 8.1294)
Luminance0.3348 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA9935 #3556BA
analogous
#BA5735 #BA9935 #99BA35
triadic
#BA9935 #35BA99 #9935BA
tetradic
#BA9935 #35BA57 #3556BA #BA3599
square
#BA9935 #35BA57 #3556BA #BA3599
split-complementary
#BA9935 #3599BA #5735BA
monochromatic
#5B4B1A #8A7227 #BA9935 #D0B45C #DECA8B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA9935#FFFFFF#000000##000000
##BA99351.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)
#AA9727
Deuteranopia (green-blind)
#B2A03A
Tritanopia (blue-blind)
#C98C85
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ba9935;
/* rgb */ color: rgb(186, 153, 53);
/* oklch */ color: oklch(69.5% 0.122 90.2);
Tailwind
colors: {
  custom: {
    50: '#d3b672',
    500: '#ba9935',
    950: '#000000',
  },
}
SCSS
$custom: #ba9935;
$custom-light: #d3b672;
$custom-dark: #000000;
JSON
{
  "hex": "#ba9935",
  "rgb": {
    "r": 186,
    "g": 153,
    "b": 53
  },
  "hsl": {
    "h": 45.113,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.69506,
    "c": 0.12182,
    "h": 90.2
  },
  "luminance": 0.33479
}

Semantic roles & 50–950 ramp

primary
#BA9935
secondary
#8294C8
accent
#6EDF49
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BA9935

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

Preview Lab → · Contrast checker → · Palette generator →

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