#BAA849#BAA849

#BAA849 is a light, moderate yellow. Relative luminance 0.389; OKLCH L 72.8% C 0.117 H 98.6°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#BAA849
RGBrgb(186, 168, 73)
HSLhsl(50, 45%, 51%)
HSVhsv(50, 61%, 73%)
CMYKcmyk(0%, 9.7%, 60.8%, 27.1%)
CIE-LABlab(68.70, -5.15, 50.28)
CIE-LCHlch(68.70, 50.54, 95.84°)
OKLaboklab(72.84% -0.0176 0.1157)
OKLCHoklch(72.84% 0.117 98.6)
XYZxyz(35.4563, 38.9269, 11.9481)
Luminance0.3892 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA849 #495BBA
analogous
#BA6F49 #BAA849 #94BA49
triadic
#BAA849 #49BAA8 #A849BA
tetradic
#BAA849 #49BA6F #495BBA #BA4994
square
#BAA849 #49BA6F #495BBA #BA4994
split-complementary
#BAA849 #4994BA #6F49BA
monochromatic
#635926 #8F8136 #BAA849 #CBBD75 #DCD2A2

Accessibility & contrast

On white

2.39
#BAA849 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#BAA849 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA849
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA849#FFFFFF#000000##000000
##BAA8491.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A43F
Deuteranopia (green-blind)
#BCAA4E
Tritanopia (blue-blind)
#C89D93
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #baa849;
/* rgb */ color: rgb(186, 168, 73);
/* oklch */ color: oklch(72.8% 0.117 98.6);
Tailwind
colors: {
  custom: {
    50: '#d1c17f',
    500: '#baa849',
    950: '#000000',
  },
}
SCSS
$custom: #baa849;
$custom-light: #d1c17f;
$custom-dark: #000000;
JSON
{
  "hex": "#baa849",
  "rgb": {
    "r": 186,
    "g": 168,
    "b": 73
  },
  "hsl": {
    "h": 50.442,
    "s": 45.02,
    "l": 50.784
  },
  "oklch": {
    "l": 0.72841,
    "c": 0.11706,
    "h": 98.6
  },
  "luminance": 0.38925
}

Semantic roles & 50–950 ramp

primary
#BAA849
secondary
#969EC8
accent
#68D553
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #BAA849

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

Preview Lab → · Contrast checker → · Palette generator →

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