#BAAB41#BAAB41

#BAAB41 is a light, vivid yellow. Relative luminance 0.399; OKLCH L 73.4% C 0.126 H 101.2°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#BAAB41
RGBrgb(186, 171, 65)
HSLhsl(53, 48%, 49%)
HSVhsv(53, 65%, 73%)
CMYKcmyk(0%, 8.1%, 65.1%, 27.1%)
CIE-LABlab(69.43, -7.26, 54.64)
CIE-LCHlch(69.43, 55.12, 97.57°)
OKLaboklab(73.4% -0.0246 0.1238)
OKLCHoklch(73.4% 0.126 101.2)
XYZxyz(35.7682, 39.9481, 10.8267)
Luminance0.3995 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAB41 #4150BA
analogous
#BA6F41 #BAAB41 #8DBA41
triadic
#BAAB41 #41BAAB #AB41BA
tetradic
#BAAB41 #41BA6F #4150BA #BA418D
square
#BAAB41 #41BA6F #4150BA #BA418D
split-complementary
#BAAB41 #418DBA #6F41BA
monochromatic
#5F5821 #8D8131 #BAAB41 #CCC06C #DCD39A

Accessibility & contrast

On white

2.34
#BAAB41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.99
#BAAB41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAAB41
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAAB41#FFFFFF#000000##000000
##BAAB411.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA634
Deuteranopia (green-blind)
#BFAC47
Tritanopia (blue-blind)
#C89F95
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #baab41;
/* rgb */ color: rgb(186, 171, 65);
/* oklch */ color: oklch(73.4% 0.126 101.2);
Tailwind
colors: {
  custom: {
    50: '#d2c37b',
    500: '#baab41',
    950: '#000000',
  },
}
SCSS
$custom: #baab41;
$custom-light: #d2c37b;
$custom-dark: #000000;
JSON
{
  "hex": "#baab41",
  "rgb": {
    "r": 186,
    "g": 171,
    "b": 65
  },
  "hsl": {
    "h": 52.562,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.73401,
    "c": 0.12625,
    "h": 101.2
  },
  "luminance": 0.39947
}

Semantic roles & 50–950 ramp

primary
#BAAB41
secondary
#8F96C8
accent
#61D850
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #BAAB41

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

Preview Lab → · Contrast checker → · Palette generator →

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