#BAA73B#BAA73B

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

Color values

HEX#BAA73B
RGBrgb(186, 167, 59)
HSLhsl(51, 52%, 48%)
HSVhsv(51, 68%, 73%)
CMYKcmyk(0%, 10.2%, 68.3%, 27.1%)
CIE-LABlab(68.31, -5.50, 56.00)
CIE-LCHlch(68.31, 56.27, 95.61°)
OKLaboklab(72.5% -0.0203 0.1257)
OKLCHoklch(72.5% 0.127 99.2)
XYZxyz(34.8594, 38.3939, 9.7114)
Luminance0.3839 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA73B #3B4EBA
analogous
#BA683B #BAA73B #8DBA3B
triadic
#BAA73B #3BBAA7 #A73BBA
tetradic
#BAA73B #3BBA68 #3B4EBA #BA3B8D
square
#BAA73B #3BBA68 #3B4EBA #BA3B8D
split-complementary
#BAA73B #3B8DBA #683BBA
monochromatic
#5D541E #8C7D2C #BAA73B #CEBE64 #DDD293

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAA73B#FFFFFF#000000##000000
##BAA73B1.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)
#B7A32C
Deuteranopia (green-blind)
#BCAA41
Tritanopia (blue-blind)
#C89B91
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #baa73b;
/* rgb */ color: rgb(186, 167, 59);
/* oklch */ color: oklch(72.5% 0.127 99.2);
Tailwind
colors: {
  custom: {
    50: '#d2c077',
    500: '#baa73b',
    950: '#000000',
  },
}
SCSS
$custom: #baa73b;
$custom-light: #d2c077;
$custom-dark: #000000;
JSON
{
  "hex": "#baa73b",
  "rgb": {
    "r": 186,
    "g": 167,
    "b": 59
  },
  "hsl": {
    "h": 51.024,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.72495,
    "c": 0.12735,
    "h": 99.2
  },
  "luminance": 0.38392
}

Semantic roles & 50–950 ramp

primary
#BAA73B
secondary
#8992C8
accent
#62DB4D
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BAA73B

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

Preview Lab → · Contrast checker → · Palette generator →

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