#BAAA41#BAAA41

#BAAA41 is a light, vivid yellow. Relative luminance 0.396; OKLCH L 73.2% C 0.125 H 100.6°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#BAAA41
RGBrgb(186, 170, 65)
HSLhsl(52, 48%, 49%)
HSVhsv(52, 65%, 73%)
CMYKcmyk(0%, 8.6%, 65.1%, 27.1%)
CIE-LABlab(69.16, -6.73, 54.36)
CIE-LCHlch(69.16, 54.77, 97.06°)
OKLaboklab(73.19% -0.0231 0.1232)
OKLCHoklch(73.19% 0.125 100.6)
XYZxyz(35.5800, 39.5717, 10.7640)
Luminance0.3957 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAA41 #4151BA
analogous
#BA6E41 #BAAA41 #8EBA41
triadic
#BAAA41 #41BAAA #AA41BA
tetradic
#BAAA41 #41BA6E #4151BA #BA418E
square
#BAAA41 #41BA6E #4151BA #BA418E
split-complementary
#BAAA41 #418EBA #6E41BA
monochromatic
#5F5721 #8D8131 #BAAA41 #CCBF6C #DCD39A

Accessibility & contrast

On white

2.36
#BAAA41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#BAAA41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAAA41
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAAA41#FFFFFF#000000##000000
##BAAA411.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A534
Deuteranopia (green-blind)
#BEAC47
Tritanopia (blue-blind)
#C89E94
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #baaa41;
/* rgb */ color: rgb(186, 170, 65);
/* oklch */ color: oklch(73.2% 0.125 100.6);
Tailwind
colors: {
  custom: {
    50: '#d2c37b',
    500: '#baaa41',
    950: '#000000',
  },
}
SCSS
$custom: #baaa41;
$custom-light: #d2c37b;
$custom-dark: #000000;
JSON
{
  "hex": "#baaa41",
  "rgb": {
    "r": 186,
    "g": 170,
    "b": 65
  },
  "hsl": {
    "h": 52.066,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.73187,
    "c": 0.12537,
    "h": 100.6
  },
  "luminance": 0.3957
}

Semantic roles & 50–950 ramp

primary
#BAAA41
secondary
#8F97C8
accent
#62D850
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #BAAA41

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

Preview Lab → · Contrast checker → · Palette generator →

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