#BAA152#BAA152

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

Color values

HEX#BAA152
RGBrgb(186, 161, 82)
HSLhsl(46, 43%, 53%)
HSVhsv(46, 56%, 73%)
CMYKcmyk(0%, 13.4%, 55.9%, 27.1%)
CIE-LABlab(66.93, -0.73, 43.96)
CIE-LCHlch(66.93, 43.97, 90.95°)
OKLaboklab(71.47% -0.0038 0.1032)
OKLCHoklch(71.47% 0.103 92.1)
XYZxyz(34.5189, 36.5397, 13.2156)
Luminance0.3654 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA152 #526BBA
analogous
#BA6D52 #BAA152 #9FBA52
triadic
#BAA152 #52BAA1 #A152BA
tetradic
#BAA152 #52BA6D #526BBA #BA529F
square
#BAA152 #52BA6D #526BBA #BA529F
split-complementary
#BAA152 #529FBA #6D52BA
monochromatic
#68592A #947E3B #BAA152 #CBB97E #DDD1AA

Accessibility & contrast

On white

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

On black

8.31
#BAA152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA152
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA152#FFFFFF#000000##000000
##BAA1521.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09F4B
Deuteranopia (green-blind)
#B6A655
Tritanopia (blue-blind)
#C7968F
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #baa152;
/* rgb */ color: rgb(186, 161, 82);
/* oklch */ color: oklch(71.5% 0.103 92.1);
Tailwind
colors: {
  custom: {
    50: '#d1bc85',
    500: '#baa152',
    950: '#000000',
  },
}
SCSS
$custom: #baa152;
$custom-light: #d1bc85;
$custom-dark: #000000;
JSON
{
  "hex": "#baa152",
  "rgb": {
    "r": 186,
    "g": 161,
    "b": 82
  },
  "hsl": {
    "h": 45.577,
    "s": 42.975,
    "l": 52.549
  },
  "oklch": {
    "l": 0.71474,
    "c": 0.10328,
    "h": 92.1
  },
  "luminance": 0.36538
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BAA152

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

Preview Lab → · Contrast checker → · Palette generator →

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