#BAA952#BAA952

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

Color values

HEX#BAA952
RGBrgb(186, 169, 82)
HSLhsl(50, 43%, 53%)
HSVhsv(50, 56%, 73%)
CMYKcmyk(0%, 9.1%, 55.9%, 27.1%)
CIE-LABlab(69.06, -5.00, 46.44)
CIE-LCHlch(69.06, 46.71, 96.14°)
OKLaboklab(73.16% -0.0161 0.1086)
OKLCHoklch(73.16% 0.11 98.4)
XYZxyz(35.9620, 39.4257, 13.6966)
Luminance0.3942 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA952 #5263BA
analogous
#BA7552 #BAA952 #97BA52
triadic
#BAA952 #52BAA9 #A952BA
tetradic
#BAA952 #52BA75 #5263BA #BA5297
square
#BAA952 #52BA75 #5263BA #BA5297
split-complementary
#BAA952 #5297BA #7552BA
monochromatic
#685E2A #94853B #BAA952 #CBBF7E #DDD4AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAA952#FFFFFF#000000##000000
##BAA9521.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)
#B7A54A
Deuteranopia (green-blind)
#BCAB56
Tritanopia (blue-blind)
#C79E95
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #baa952;
/* rgb */ color: rgb(186, 169, 82);
/* oklch */ color: oklch(73.2% 0.110 98.4);
Tailwind
colors: {
  custom: {
    50: '#d1c285',
    500: '#baa952',
    950: '#000000',
  },
}
SCSS
$custom: #baa952;
$custom-light: #d1c285;
$custom-dark: #000000;
JSON
{
  "hex": "#baa952",
  "rgb": {
    "r": 186,
    "g": 169,
    "b": 82
  },
  "hsl": {
    "h": 50.192,
    "s": 42.975,
    "l": 52.549
  },
  "oklch": {
    "l": 0.73157,
    "c": 0.10977,
    "h": 98.4
  },
  "luminance": 0.39424
}

Semantic roles & 50–950 ramp

primary
#BAA952
secondary
#9DA5CA
accent
#6AD355
background
#FDFBF8
surface
#FAF7EF
border
#D3D0CA
text
#14120B
muted
#83817C

Preview Lab

Preview with #BAA952

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

Preview Lab → · Contrast checker → · Palette generator →

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