#BAA631#BAA631

#BAA631 is a light, vivid yellow. Relative luminance 0.379; OKLCH L 72.2% C 0.133 H 99.2°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#BAA631
RGBrgb(186, 166, 49)
HSLhsl(51, 58%, 46%)
HSVhsv(51, 74%, 73%)
CMYKcmyk(0%, 10.8%, 73.7%, 27.1%)
CIE-LABlab(67.97, -5.48, 59.60)
CIE-LCHlch(67.97, 59.85, 95.26°)
OKLaboklab(72.21% -0.0213 0.1315)
OKLCHoklch(72.21% 0.133 99.2)
XYZxyz(34.4420, 37.9350, 8.4131)
Luminance0.3793 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA631 #3145BA
analogous
#BA6131 #BAA631 #89BA31
triadic
#BAA631 #31BAA6 #A631BA
tetradic
#BAA631 #31BA61 #3145BA #BA3189
square
#BAA631 #31BA61 #3145BA #BA3189
split-complementary
#BAA631 #3189BA #6131BA
monochromatic
#595017 #8A7B24 #BAA631 #D2C056 #DFD286

Accessibility & contrast

On white

2.45
#BAA631 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#BAA631 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA631
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA631#FFFFFF#000000##000000
##BAA6311.002.458.598.59
#FFFFFF2.451.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A21D
Deuteranopia (green-blind)
#BCA939
Tritanopia (blue-blind)
#C99A8F
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #baa631;
/* rgb */ color: rgb(186, 166, 49);
/* oklch */ color: oklch(72.2% 0.133 99.2);
Tailwind
colors: {
  custom: {
    50: '#d3c071',
    500: '#baa631',
    950: '#000000',
  },
}
SCSS
$custom: #baa631;
$custom-light: #d3c071;
$custom-dark: #000000;
JSON
{
  "hex": "#baa631",
  "rgb": {
    "r": 186,
    "g": 166,
    "b": 49
  },
  "hsl": {
    "h": 51.241,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.72205,
    "c": 0.13322,
    "h": 99.2
  },
  "luminance": 0.37933
}

Semantic roles & 50–950 ramp

primary
#BAA631
secondary
#7E89C9
accent
#5DE246
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BAA631

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

Preview Lab → · Contrast checker → · Palette generator →

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