#BAA534#BAA534

#BAA534 is a light, vivid yellow. Relative luminance 0.376; OKLCH L 72.0% C 0.131 H 98.4°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#BAA534
RGBrgb(186, 165, 52)
HSLhsl(51, 56%, 47%)
HSVhsv(51, 72%, 73%)
CMYKcmyk(0%, 11.3%, 72%, 27.1%)
CIE-LABlab(67.72, -4.81, 58.22)
CIE-LCHlch(67.72, 58.42, 94.72°)
OKLaboklab(72.02% -0.0191 0.1292)
OKLCHoklch(72.02% 0.131 98.4)
XYZxyz(34.3263, 37.5990, 8.6974)
Luminance0.3760 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA534 #3449BA
analogous
#BA6234 #BAA534 #8CBA34
triadic
#BAA534 #34BAA5 #A534BA
tetradic
#BAA534 #34BA62 #3449BA #BA348C
square
#BAA534 #34BA62 #3449BA #BA348C
split-complementary
#BAA534 #348CBA #6234BA
monochromatic
#5A5019 #8A7B27 #BAA534 #D1BE5A #DED18A

Accessibility & contrast

On white

2.46
#BAA534 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#BAA534 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA534
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA534#FFFFFF#000000##000000
##BAA5341.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A122
Deuteranopia (green-blind)
#BBA83B
Tritanopia (blue-blind)
#C9998F
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #baa534;
/* rgb */ color: rgb(186, 165, 52);
/* oklch */ color: oklch(72.0% 0.131 98.4);
Tailwind
colors: {
  custom: {
    50: '#d2bf73',
    500: '#baa534',
    950: '#000000',
  },
}
SCSS
$custom: #baa534;
$custom-light: #d2bf73;
$custom-dark: #000000;
JSON
{
  "hex": "#baa534",
  "rgb": {
    "r": 186,
    "g": 165,
    "b": 52
  },
  "hsl": {
    "h": 50.597,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.72015,
    "c": 0.13056,
    "h": 98.4
  },
  "luminance": 0.37597
}

Semantic roles & 50–950 ramp

primary
#BAA534
secondary
#818DC8
accent
#60E048
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BAA534

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

Preview Lab → · Contrast checker → · Palette generator →

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