#BAA132#BAA132

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

Color values

HEX#BAA132
RGBrgb(186, 161, 50)
HSLhsl(49, 58%, 46%)
HSVhsv(49, 73%, 73%)
CMYKcmyk(0%, 13.4%, 73.1%, 27.1%)
CIE-LABlab(66.64, -2.78, 57.93)
CIE-LCHlch(66.64, 58.00, 92.75°)
OKLaboklab(71.15% -0.0135 0.1282)
OKLCHoklch(71.15% 0.129 96)
XYZxyz(33.5720, 36.1609, 8.2284)
Luminance0.3616 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA132 #324BBA
analogous
#BA5D32 #BAA132 #8FBA32
triadic
#BAA132 #32BAA1 #A132BA
tetradic
#BAA132 #32BA5D #324BBA #BA328F
square
#BAA132 #32BA5D #324BBA #BA328F
split-complementary
#BAA132 #328FBA #5D32BA
monochromatic
#5A4E18 #8A7725 #BAA132 #D2BB57 #DFCF88

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAA132#FFFFFF#000000##000000
##BAA1321.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)
#B29E20
Deuteranopia (green-blind)
#B8A539
Tritanopia (blue-blind)
#C9948B
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #baa132;
/* rgb */ color: rgb(186, 161, 50);
/* oklch */ color: oklch(71.2% 0.129 96.0);
Tailwind
colors: {
  custom: {
    50: '#d3bc71',
    500: '#baa132',
    950: '#000000',
  },
}
SCSS
$custom: #baa132;
$custom-light: #d3bc71;
$custom-dark: #000000;
JSON
{
  "hex": "#baa132",
  "rgb": {
    "r": 186,
    "g": 161,
    "b": 50
  },
  "hsl": {
    "h": 48.971,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.71154,
    "c": 0.12889,
    "h": 96
  },
  "luminance": 0.36159
}

Semantic roles & 50–950 ramp

primary
#BAA132
secondary
#7F8DC9
accent
#63E147
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BAA132

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

Preview Lab → · Contrast checker → · Palette generator →

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