#BAA934#BAA934

#BAA934 is a light, vivid yellow. Relative luminance 0.391; OKLCH L 72.9% C 0.134 H 100.8°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#BAA934
RGBrgb(186, 169, 52)
HSLhsl(52, 56%, 47%)
HSVhsv(52, 72%, 73%)
CMYKcmyk(0%, 9.1%, 72%, 27.1%)
CIE-LABlab(68.80, -6.92, 59.27)
CIE-LCHlch(68.80, 59.67, 96.66°)
OKLaboklab(72.87% -0.0251 0.1314)
OKLCHoklch(72.87% 0.134 100.8)
XYZxyz(35.0591, 39.0646, 8.9417)
Luminance0.3906 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA934 #3445BA
analogous
#BA6634 #BAA934 #88BA34
triadic
#BAA934 #34BAA9 #A934BA
tetradic
#BAA934 #34BA66 #3445BA #BA3488
square
#BAA934 #34BA66 #3445BA #BA3488
split-complementary
#BAA934 #3488BA #6634BA
monochromatic
#5A5219 #8A7E27 #BAA934 #D1C25A #DED48A

Accessibility & contrast

On white

2.38
#BAA934 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#BAA934 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA934
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA934#FFFFFF#000000##000000
##BAA9341.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A421
Deuteranopia (green-blind)
#BEAB3C
Tritanopia (blue-blind)
#C89D92
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #baa934;
/* rgb */ color: rgb(186, 169, 52);
/* oklch */ color: oklch(72.9% 0.134 100.8);
Tailwind
colors: {
  custom: {
    50: '#d2c273',
    500: '#baa934',
    950: '#000000',
  },
}
SCSS
$custom: #baa934;
$custom-light: #d2c273;
$custom-dark: #000000;
JSON
{
  "hex": "#baa934",
  "rgb": {
    "r": 186,
    "g": 169,
    "b": 52
  },
  "hsl": {
    "h": 52.388,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.72866,
    "c": 0.13376,
    "h": 100.8
  },
  "luminance": 0.39063
}

Semantic roles & 50–950 ramp

primary
#BAA934
secondary
#818AC8
accent
#5BE048
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BAA934

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

Preview Lab → · Contrast checker → · Palette generator →

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