#BAA451#BAA451

#BAA451 is a light, moderate yellow. Relative luminance 0.376; OKLCH L 72.1% C 0.107 H 94.7°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#BAA451
RGBrgb(186, 164, 81)
HSLhsl(47, 43%, 52%)
HSVhsv(47, 56%, 73%)
CMYKcmyk(0%, 11.8%, 56.5%, 27.1%)
CIE-LABlab(67.71, -2.41, 45.37)
CIE-LCHlch(67.71, 45.43, 93.05°)
OKLaboklab(72.09% -0.0088 0.1062)
OKLCHoklch(72.09% 0.107 94.7)
XYZxyz(35.0117, 37.5857, 13.1936)
Luminance0.3758 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA451 #5167BA
analogous
#BA7051 #BAA451 #9BBA51
triadic
#BAA451 #51BAA4 #A451BA
tetradic
#BAA451 #51BA70 #5167BA #BA519B
square
#BAA451 #51BA70 #5167BA #BA519B
split-complementary
#BAA451 #519BBA #7051BA
monochromatic
#685A29 #93813A #BAA451 #CBBB7D #DDD2A9

Accessibility & contrast

On white

2.47
#BAA451 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#BAA451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA451
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA451#FFFFFF#000000##000000
##BAA4511.002.478.528.52
#FFFFFF2.471.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A149
Deuteranopia (green-blind)
#B8A855
Tritanopia (blue-blind)
#C79991
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #baa451;
/* rgb */ color: rgb(186, 164, 81);
/* oklch */ color: oklch(72.1% 0.107 94.7);
Tailwind
colors: {
  custom: {
    50: '#d1be84',
    500: '#baa451',
    950: '#000000',
  },
}
SCSS
$custom: #baa451;
$custom-light: #d1be84;
$custom-dark: #000000;
JSON
{
  "hex": "#baa451",
  "rgb": {
    "r": 186,
    "g": 164,
    "b": 81
  },
  "hsl": {
    "h": 47.429,
    "s": 43.21,
    "l": 52.353
  },
  "oklch": {
    "l": 0.72089,
    "c": 0.10651,
    "h": 94.7
  },
  "luminance": 0.37584
}

Semantic roles & 50–950 ramp

primary
#BAA451
secondary
#9DA6CA
accent
#6FD355
background
#FDFBF8
surface
#FAF6EF
border
#D3D0CA
text
#14120B
muted
#83817C

Preview Lab

Preview with #BAA451

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

Preview Lab → · Contrast checker → · Palette generator →

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