#BAA431#BAA431

#BAA431 is a light, vivid yellow. Relative luminance 0.372; OKLCH L 71.8% C 0.132 H 98.0°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#BAA431
RGBrgb(186, 164, 49)
HSLhsl(50, 58%, 46%)
HSVhsv(50, 74%, 73%)
CMYKcmyk(0%, 11.8%, 73.7%, 27.1%)
CIE-LABlab(67.44, -4.42, 59.08)
CIE-LCHlch(67.44, 59.24, 94.28°)
OKLaboklab(71.78% -0.0183 0.1304)
OKLCHoklch(71.78% 0.132 98)
XYZxyz(34.0812, 37.2135, 8.2929)
Luminance0.3721 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA431 #3147BA
analogous
#BA5F31 #BAA431 #8BBA31
triadic
#BAA431 #31BAA4 #A431BA
tetradic
#BAA431 #31BA5F #3147BA #BA318B
square
#BAA431 #31BA5F #3147BA #BA318B
split-complementary
#BAA431 #318BBA #5F31BA
monochromatic
#594F17 #8A7924 #BAA431 #D2BE56 #DFD186

Accessibility & contrast

On white

2.49
#BAA431 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#BAA431 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA431
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA431#FFFFFF#000000##000000
##BAA4311.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A01D
Deuteranopia (green-blind)
#BAA738
Tritanopia (blue-blind)
#C9978D
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #baa431;
/* rgb */ color: rgb(186, 164, 49);
/* oklch */ color: oklch(71.8% 0.132 98.0);
Tailwind
colors: {
  custom: {
    50: '#d3be71',
    500: '#baa431',
    950: '#000000',
  },
}
SCSS
$custom: #baa431;
$custom-light: #d3be71;
$custom-dark: #000000;
JSON
{
  "hex": "#baa431",
  "rgb": {
    "r": 186,
    "g": 164,
    "b": 49
  },
  "hsl": {
    "h": 50.365,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.71781,
    "c": 0.1317,
    "h": 98
  },
  "luminance": 0.37212
}

Semantic roles & 50–950 ramp

primary
#BAA431
secondary
#7E8AC9
accent
#5FE246
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BAA431

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

Preview Lab → · Contrast checker → · Palette generator →

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