#BAAA48#BAAA48

#BAAA48 is a light, moderate yellow. Relative luminance 0.397; OKLCH L 73.3% C 0.120 H 100.1°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#BAAA48
RGBrgb(186, 170, 72)
HSLhsl(52, 45%, 51%)
HSVhsv(52, 61%, 73%)
CMYKcmyk(0%, 8.6%, 61.3%, 27.1%)
CIE-LABlab(69.23, -6.27, 51.32)
CIE-LCHlch(69.23, 51.70, 96.97°)
OKLaboklab(73.26% -0.0209 0.1178)
OKLCHoklch(73.26% 0.12 100.1)
XYZxyz(35.7955, 39.6579, 11.8989)
Luminance0.3966 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAA48 #4858BA
analogous
#BA7148 #BAAA48 #91BA48
triadic
#BAAA48 #48BAAA #AA48BA
tetradic
#BAAA48 #48BA71 #4858BA #BA4891
square
#BAAA48 #48BA71 #4858BA #BA4891
split-complementary
#BAAA48 #4891BA #7148BA
monochromatic
#625A25 #8F8236 #BAAA48 #CBBF74 #DCD3A1

Accessibility & contrast

On white

2.35
#BAAA48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#BAAA48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAAA48
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAAA48#FFFFFF#000000##000000
##BAAA481.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A53D
Deuteranopia (green-blind)
#BDAC4D
Tritanopia (blue-blind)
#C79F95
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #baaa48;
/* rgb */ color: rgb(186, 170, 72);
/* oklch */ color: oklch(73.3% 0.120 100.1);
Tailwind
colors: {
  custom: {
    50: '#d1c37f',
    500: '#baaa48',
    950: '#000000',
  },
}
SCSS
$custom: #baaa48;
$custom-light: #d1c37f;
$custom-dark: #000000;
JSON
{
  "hex": "#baaa48",
  "rgb": {
    "r": 186,
    "g": 170,
    "b": 72
  },
  "hsl": {
    "h": 51.579,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.73256,
    "c": 0.11966,
    "h": 100.1
  },
  "luminance": 0.39656
}

Semantic roles & 50–950 ramp

primary
#BAAA48
secondary
#969DC8
accent
#65D553
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #BAAA48

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

Preview Lab → · Contrast checker → · Palette generator →

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