#BAA151#BAA151

#BAA151 is a light, moderate yellow. Relative luminance 0.365; OKLCH L 71.5% C 0.104 H 92.3°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#BAA151
RGBrgb(186, 161, 81)
HSLhsl(46, 43%, 52%)
HSVhsv(46, 56%, 73%)
CMYKcmyk(0%, 13.4%, 56.5%, 27.1%)
CIE-LABlab(66.92, -0.81, 44.44)
CIE-LCHlch(66.92, 44.45, 91.04°)
OKLaboklab(71.46% -0.0041 0.1041)
OKLCHoklch(71.46% 0.104 92.3)
XYZxyz(34.4812, 36.5246, 13.0167)
Luminance0.3652 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA151 #516ABA
analogous
#BA6C51 #BAA151 #9FBA51
triadic
#BAA151 #51BAA1 #A151BA
tetradic
#BAA151 #51BA6C #516ABA #BA519F
square
#BAA151 #51BA6C #516ABA #BA519F
split-complementary
#BAA151 #519FBA #6C51BA
monochromatic
#685929 #937E3A #BAA151 #CBB97D #DDD0A9

Accessibility & contrast

On white

2.53
#BAA151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#BAA151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA151
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA151#FFFFFF#000000##000000
##BAA1511.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09F49
Deuteranopia (green-blind)
#B6A654
Tritanopia (blue-blind)
#C8968F
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #baa151;
/* rgb */ color: rgb(186, 161, 81);
/* oklch */ color: oklch(71.5% 0.104 92.3);
Tailwind
colors: {
  custom: {
    50: '#d1bc84',
    500: '#baa151',
    950: '#000000',
  },
}
SCSS
$custom: #baa151;
$custom-light: #d1bc84;
$custom-dark: #000000;
JSON
{
  "hex": "#baa151",
  "rgb": {
    "r": 186,
    "g": 161,
    "b": 81
  },
  "hsl": {
    "h": 45.714,
    "s": 43.21,
    "l": 52.353
  },
  "oklch": {
    "l": 0.71461,
    "c": 0.10422,
    "h": 92.3
  },
  "luminance": 0.36523
}

Semantic roles & 50–950 ramp

primary
#BAA151
secondary
#9DA7CA
accent
#73D355
background
#FDFBF8
surface
#FAF6EF
border
#D3D0CA
text
#14120B
muted
#83817C

Preview Lab

Preview with #BAA151

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

Preview Lab → · Contrast checker → · Palette generator →

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