#BAA951#BAA951

#BAA951 is a light, moderate yellow. Relative luminance 0.394; OKLCH L 73.1% C 0.111 H 98.5°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#BAA951
RGBrgb(186, 169, 81)
HSLhsl(50, 43%, 52%)
HSVhsv(50, 56%, 73%)
CMYKcmyk(0%, 9.1%, 56.5%, 27.1%)
CIE-LABlab(69.05, -5.08, 46.91)
CIE-LCHlch(69.05, 47.18, 96.17°)
OKLaboklab(73.14% -0.0164 0.1095)
OKLCHoklch(73.14% 0.111 98.5)
XYZxyz(35.9242, 39.4106, 13.4977)
Luminance0.3941 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA951 #5162BA
analogous
#BA7551 #BAA951 #96BA51
triadic
#BAA951 #51BAA9 #A951BA
tetradic
#BAA951 #51BA75 #5162BA #BA5196
square
#BAA951 #51BA75 #5162BA #BA5196
split-complementary
#BAA951 #5196BA #7551BA
monochromatic
#685D29 #93853A #BAA951 #CBBF7D #DDD4A9

Accessibility & contrast

On white

2.36
#BAA951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#BAA951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA951
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA951#FFFFFF#000000##000000
##BAA9511.002.368.888.88
#FFFFFF2.361.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A548
Deuteranopia (green-blind)
#BCAB55
Tritanopia (blue-blind)
#C79E95
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #baa951;
/* rgb */ color: rgb(186, 169, 81);
/* oklch */ color: oklch(73.1% 0.111 98.5);
Tailwind
colors: {
  custom: {
    50: '#d1c285',
    500: '#baa951',
    950: '#000000',
  },
}
SCSS
$custom: #baa951;
$custom-light: #d1c285;
$custom-dark: #000000;
JSON
{
  "hex": "#baa951",
  "rgb": {
    "r": 186,
    "g": 169,
    "b": 81
  },
  "hsl": {
    "h": 50.286,
    "s": 43.21,
    "l": 52.353
  },
  "oklch": {
    "l": 0.73144,
    "c": 0.11072,
    "h": 98.5
  },
  "luminance": 0.39409
}

Semantic roles & 50–950 ramp

primary
#BAA951
secondary
#9DA4CA
accent
#69D355
background
#FDFBF8
surface
#FAF7EF
border
#D3D0CA
text
#14120B
muted
#83817C

Preview Lab

Preview with #BAA951

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

Preview Lab → · Contrast checker → · Palette generator →

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