#BAA04D#BAA04D

#BAA04D is a light, moderate yellow. Relative luminance 0.361; OKLCH L 71.2% C 0.107 H 92.1°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#BAA04D
RGBrgb(186, 160, 77)
HSLhsl(46, 44%, 52%)
HSVhsv(46, 59%, 73%)
CMYKcmyk(0%, 14%, 58.6%, 27.1%)
CIE-LABlab(66.61, -0.58, 46.03)
CIE-LCHlch(66.61, 46.04, 90.72°)
OKLaboklab(71.2% -0.004 0.1071)
OKLCHoklch(71.2% 0.107 92.1)
XYZxyz(34.1615, 36.1183, 12.1919)
Luminance0.3612 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA04D #4D67BA
analogous
#BA6A4D #BAA04D #9EBA4D
triadic
#BAA04D #4DBAA0 #A04DBA
tetradic
#BAA04D #4DBA6A #4D67BA #BA4D9E
square
#BAA04D #4DBA6A #4D67BA #BA4D9E
split-complementary
#BAA04D #4D9EBA #6A4DBA
monochromatic
#655727 #917C38 #BAA04D #CBB879 #DCCFA5

Accessibility & contrast

On white

2.55
#BAA04D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#BAA04D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA04D
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA04D#FFFFFF#000000##000000
##BAA04D1.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9E45
Deuteranopia (green-blind)
#B6A550
Tritanopia (blue-blind)
#C8958D
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #baa04d;
/* rgb */ color: rgb(186, 160, 77);
/* oklch */ color: oklch(71.2% 0.107 92.1);
Tailwind
colors: {
  custom: {
    50: '#d1bb81',
    500: '#baa04d',
    950: '#000000',
  },
}
SCSS
$custom: #baa04d;
$custom-light: #d1bb81;
$custom-dark: #000000;
JSON
{
  "hex": "#baa04d",
  "rgb": {
    "r": 186,
    "g": 160,
    "b": 77
  },
  "hsl": {
    "h": 45.688,
    "s": 44.13,
    "l": 51.569
  },
  "oklch": {
    "l": 0.71203,
    "c": 0.1072,
    "h": 92.1
  },
  "luminance": 0.36117
}

Semantic roles & 50–950 ramp

primary
#BAA04D
secondary
#99A5C9
accent
#72D454
background
#FDFBF8
surface
#FAF6EF
border
#D3D0CA
text
#14110A
muted
#83807C

Preview Lab

Preview with #BAA04D

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

Preview Lab → · Contrast checker → · Palette generator →

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