#BAA541#BAA541

#BAA541 is a light, vivid yellow. Relative luminance 0.377; OKLCH L 72.1% C 0.121 H 97.4°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#BAA541
RGBrgb(186, 165, 65)
HSLhsl(50, 48%, 49%)
HSVhsv(50, 65%, 73%)
CMYKcmyk(0%, 11.3%, 65.1%, 27.1%)
CIE-LABlab(67.82, -4.09, 52.93)
CIE-LCHlch(67.82, 53.09, 94.42°)
OKLaboklab(72.13% -0.0155 0.1202)
OKLCHoklch(72.13% 0.121 97.4)
XYZxyz(34.6605, 37.7327, 10.4574)
Luminance0.3773 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA541 #4156BA
analogous
#BA6941 #BAA541 #93BA41
triadic
#BAA541 #41BAA5 #A541BA
tetradic
#BAA541 #41BA69 #4156BA #BA4193
square
#BAA541 #41BA69 #4156BA #BA4193
split-complementary
#BAA541 #4193BA #6941BA
monochromatic
#5F5521 #8D7D31 #BAA541 #CCBB6C #DCD09A

Accessibility & contrast

On white

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

On black

8.55
#BAA541 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA541
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA541#FFFFFF#000000##000000
##BAA5411.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A135
Deuteranopia (green-blind)
#BAA846
Tritanopia (blue-blind)
#C89990
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #baa541;
/* rgb */ color: rgb(186, 165, 65);
/* oklch */ color: oklch(72.1% 0.121 97.4);
Tailwind
colors: {
  custom: {
    50: '#d2bf7a',
    500: '#baa541',
    950: '#000000',
  },
}
SCSS
$custom: #baa541;
$custom-light: #d2bf7a;
$custom-dark: #000000;
JSON
{
  "hex": "#baa541",
  "rgb": {
    "r": 186,
    "g": 165,
    "b": 65
  },
  "hsl": {
    "h": 49.587,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.72125,
    "c": 0.12121,
    "h": 97.4
  },
  "luminance": 0.37731
}

Semantic roles & 50–950 ramp

primary
#BAA541
secondary
#8F99C8
accent
#68D850
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #BAA541

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

Preview Lab → · Contrast checker → · Palette generator →

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