#BAA539#BAA539

#BAA539 is a light, vivid yellow. Relative luminance 0.376; OKLCH L 72.1% C 0.127 H 98.0°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#BAA539
RGBrgb(186, 165, 57)
HSLhsl(50, 53%, 48%)
HSVhsv(50, 69%, 73%)
CMYKcmyk(0%, 11.3%, 69.4%, 27.1%)
CIE-LABlab(67.76, -4.55, 56.26)
CIE-LCHlch(67.76, 56.45, 94.63°)
OKLaboklab(72.05% -0.0178 0.1259)
OKLCHoklch(72.05% 0.127 98)
XYZxyz(34.4450, 37.6465, 9.3223)
Luminance0.3765 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA539 #394EBA
analogous
#BA6539 #BAA539 #8EBA39
triadic
#BAA539 #39BAA5 #A539BA
tetradic
#BAA539 #39BA65 #394EBA #BA398E
square
#BAA539 #39BA65 #394EBA #BA398E
split-complementary
#BAA539 #398EBA #6539BA
monochromatic
#5C521C #8B7B2B #BAA539 #CFBD61 #DDD190

Accessibility & contrast

On white

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

On black

8.53
#BAA539 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA539
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA539#FFFFFF#000000##000000
##BAA5391.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A12A
Deuteranopia (green-blind)
#BBA83F
Tritanopia (blue-blind)
#C8998F
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #baa539;
/* rgb */ color: rgb(186, 165, 57);
/* oklch */ color: oklch(72.1% 0.127 98.0);
Tailwind
colors: {
  custom: {
    50: '#d2bf76',
    500: '#baa539',
    950: '#000000',
  },
}
SCSS
$custom: #baa539;
$custom-light: #d2bf76;
$custom-dark: #000000;
JSON
{
  "hex": "#baa539",
  "rgb": {
    "r": 186,
    "g": 165,
    "b": 57
  },
  "hsl": {
    "h": 50.233,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.72054,
    "c": 0.12718,
    "h": 98
  },
  "luminance": 0.37645
}

Semantic roles & 50–950 ramp

primary
#BAA539
secondary
#8791C8
accent
#63DC4B
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BAA539

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

Preview Lab → · Contrast checker → · Palette generator →

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