#BAA73D#BAA73D

#BAA73D is a light, vivid yellow. Relative luminance 0.384; OKLCH L 72.5% C 0.126 H 99.0°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#BAA73D
RGBrgb(186, 167, 61)
HSLhsl(51, 51%, 48%)
HSVhsv(51, 67%, 73%)
CMYKcmyk(0%, 10.2%, 67.2%, 27.1%)
CIE-LABlab(68.33, -5.39, 55.18)
CIE-LCHlch(68.33, 55.45, 95.58°)
OKLaboklab(72.51% -0.0197 0.1243)
OKLCHoklch(72.51% 0.126 99)
XYZxyz(34.9123, 38.4151, 9.9899)
Luminance0.3841 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA73D #3D50BA
analogous
#BA683D #BAA73D #8EBA3D
triadic
#BAA73D #3DBAA7 #A73DBA
tetradic
#BAA73D #3DBA68 #3D50BA #BA3D8E
square
#BAA73D #3DBA68 #3D50BA #BA3D8E
split-complementary
#BAA73D #3D8EBA #683DBA
monochromatic
#5E541F #8C7E2E #BAA73D #CDBE67 #DCD195

Accessibility & contrast

On white

2.42
#BAA73D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#BAA73D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA73D
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA73D#FFFFFF#000000##000000
##BAA73D1.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A32F
Deuteranopia (green-blind)
#BCAA43
Tritanopia (blue-blind)
#C89B91
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #baa73d;
/* rgb */ color: rgb(186, 167, 61);
/* oklch */ color: oklch(72.5% 0.126 99.0);
Tailwind
colors: {
  custom: {
    50: '#d2c078',
    500: '#baa73d',
    950: '#000000',
  },
}
SCSS
$custom: #baa73d;
$custom-light: #d2c078;
$custom-dark: #000000;
JSON
{
  "hex": "#baa73d",
  "rgb": {
    "r": 186,
    "g": 167,
    "b": 61
  },
  "hsl": {
    "h": 50.88,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.72512,
    "c": 0.12588,
    "h": 99
  },
  "luminance": 0.38413
}

Semantic roles & 50–950 ramp

primary
#BAA73D
secondary
#8B94C8
accent
#63DA4E
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #BAA73D

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

Preview Lab → · Contrast checker → · Palette generator →

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