#BA9936#BA9936

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

Color values

HEX#BA9936
RGBrgb(186, 153, 54)
HSLhsl(45, 55%, 47%)
HSVhsv(45, 71%, 73%)
CMYKcmyk(0%, 17.7%, 71%, 27.1%)
CIE-LABlab(64.56, 1.73, 54.25)
CIE-LCHlch(64.56, 54.28, 88.18°)
OKLaboklab(69.51% -0.0002 0.1211)
OKLCHoklch(69.51% 0.121 90.1)
XYZxyz(32.3086, 33.4899, 8.2518)
Luminance0.3349 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA9936 #3657BA
analogous
#BA5736 #BA9936 #99BA36
triadic
#BA9936 #36BA99 #9936BA
tetradic
#BA9936 #36BA57 #3657BA #BA3699
square
#BA9936 #36BA57 #3657BA #BA3699
split-complementary
#BA9936 #3699BA #5736BA
monochromatic
#5B4B1A #8B7228 #BA9936 #D0B35D #DEC98D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA9936#FFFFFF#000000##000000
##BA99361.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)
#AA9728
Deuteranopia (green-blind)
#B2A03B
Tritanopia (blue-blind)
#C98C85
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ba9936;
/* rgb */ color: rgb(186, 153, 54);
/* oklch */ color: oklch(69.5% 0.121 90.1);
Tailwind
colors: {
  custom: {
    50: '#d3b673',
    500: '#ba9936',
    950: '#000000',
  },
}
SCSS
$custom: #ba9936;
$custom-light: #d3b673;
$custom-dark: #000000;
JSON
{
  "hex": "#ba9936",
  "rgb": {
    "r": 186,
    "g": 153,
    "b": 54
  },
  "hsl": {
    "h": 45,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.69514,
    "c": 0.12114,
    "h": 90.1
  },
  "luminance": 0.33488
}

Semantic roles & 50–950 ramp

primary
#BA9936
secondary
#8495C8
accent
#6FDE49
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BA9936

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

Preview Lab → · Contrast checker → · Palette generator →

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