#BAA131#BAA131

#BAA131 is a light, vivid yellow. Relative luminance 0.362; OKLCH L 71.1% C 0.130 H 96.1°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#BAA131
RGBrgb(186, 161, 49)
HSLhsl(49, 58%, 46%)
HSVhsv(49, 74%, 73%)
CMYKcmyk(0%, 13.4%, 73.7%, 27.1%)
CIE-LABlab(66.64, -2.82, 58.31)
CIE-LCHlch(66.64, 58.37, 92.77°)
OKLaboklab(71.15% -0.0137 0.1288)
OKLCHoklch(71.15% 0.13 96.1)
XYZxyz(33.5507, 36.1524, 8.1161)
Luminance0.3615 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA131 #314ABA
analogous
#BA5C31 #BAA131 #8EBA31
triadic
#BAA131 #31BAA1 #A131BA
tetradic
#BAA131 #31BA5C #314ABA #BA318E
square
#BAA131 #31BA5C #314ABA #BA318E
split-complementary
#BAA131 #318EBA #5C31BA
monochromatic
#594D17 #8A7724 #BAA131 #D2BC56 #DFCF86

Accessibility & contrast

On white

2.55
#BAA131 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#BAA131 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA131
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA131#FFFFFF#000000##000000
##BAA1311.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D1E
Deuteranopia (green-blind)
#B8A538
Tritanopia (blue-blind)
#C9948B
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #baa131;
/* rgb */ color: rgb(186, 161, 49);
/* oklch */ color: oklch(71.1% 0.130 96.1);
Tailwind
colors: {
  custom: {
    50: '#d3bc71',
    500: '#baa131',
    950: '#000000',
  },
}
SCSS
$custom: #baa131;
$custom-light: #d3bc71;
$custom-dark: #000000;
JSON
{
  "hex": "#baa131",
  "rgb": {
    "r": 186,
    "g": 161,
    "b": 49
  },
  "hsl": {
    "h": 49.051,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.71147,
    "c": 0.12951,
    "h": 96.1
  },
  "luminance": 0.36151
}

Semantic roles & 50–950 ramp

primary
#BAA131
secondary
#7E8CC9
accent
#63E246
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BAA131

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

Preview Lab → · Contrast checker → · Palette generator →

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