#BA9934#BA9934

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

Color values

HEX#BA9934
RGBrgb(186, 153, 52)
HSLhsl(45, 56%, 47%)
HSVhsv(45, 72%, 73%)
CMYKcmyk(0%, 17.7%, 72%, 27.1%)
CIE-LABlab(64.54, 1.63, 55.06)
CIE-LCHlch(64.54, 55.09, 88.31°)
OKLaboklab(69.5% -0.0007 0.1225)
OKLCHoklch(69.5% 0.122 90.3)
XYZxyz(32.2626, 33.4715, 8.0095)
Luminance0.3347 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA9934 #3455BA
analogous
#BA5634 #BA9934 #98BA34
triadic
#BA9934 #34BA99 #9934BA
tetradic
#BA9934 #34BA56 #3455BA #BA3498
square
#BA9934 #34BA56 #3455BA #BA3498
split-complementary
#BA9934 #3498BA #5634BA
monochromatic
#5A4A19 #8A7227 #BA9934 #D1B45A #DECA8A

Accessibility & contrast

On white

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

On black

7.69
#BA9934 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA9934
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA9934#FFFFFF#000000##000000
##BA99341.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9725
Deuteranopia (green-blind)
#B2A039
Tritanopia (blue-blind)
#C98C85
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ba9934;
/* rgb */ color: rgb(186, 153, 52);
/* oklch */ color: oklch(69.5% 0.122 90.3);
Tailwind
colors: {
  custom: {
    50: '#d3b672',
    500: '#ba9934',
    950: '#000000',
  },
}
SCSS
$custom: #ba9934;
$custom-light: #d3b672;
$custom-dark: #000000;
JSON
{
  "hex": "#ba9934",
  "rgb": {
    "r": 186,
    "g": 153,
    "b": 52
  },
  "hsl": {
    "h": 45.224,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.69498,
    "c": 0.12248,
    "h": 90.3
  },
  "luminance": 0.3347
}

Semantic roles & 50–950 ramp

primary
#BA9934
secondary
#8193C8
accent
#6DE048
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BA9934

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

Preview Lab → · Contrast checker → · Palette generator →

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