#BAA73F#BAA73F

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

Color values

HEX#BAA73F
RGBrgb(186, 167, 63)
HSLhsl(51, 49%, 49%)
HSVhsv(51, 66%, 73%)
CMYKcmyk(0%, 10.2%, 66.1%, 27.1%)
CIE-LABlab(68.34, -5.27, 54.35)
CIE-LCHlch(68.34, 54.60, 95.54°)
OKLaboklab(72.53% -0.0191 0.1229)
OKLCHoklch(72.53% 0.124 98.9)
XYZxyz(34.9672, 38.4370, 10.2789)
Luminance0.3844 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA73F #3F52BA
analogous
#BA6A3F #BAA73F #90BA3F
triadic
#BAA73F #3FBAA7 #A73FBA
tetradic
#BAA73F #3FBA6A #3F52BA #BA3F90
square
#BAA73F #3FBA6A #3F52BA #BA3F90
split-complementary
#BAA73F #3F90BA #6A3FBA
monochromatic
#5F5520 #8C7E30 #BAA73F #CCBD6A #DCD197

Accessibility & contrast

On white

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

On black

8.69
#BAA73F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA73F
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA73F#FFFFFF#000000##000000
##BAA73F1.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #baa73f;
/* rgb */ color: rgb(186, 167, 63);
/* oklch */ color: oklch(72.5% 0.124 98.9);
Tailwind
colors: {
  custom: {
    50: '#d2c079',
    500: '#baa73f',
    950: '#000000',
  },
}
SCSS
$custom: #baa73f;
$custom-light: #d2c079;
$custom-dark: #000000;
JSON
{
  "hex": "#baa73f",
  "rgb": {
    "r": 186,
    "g": 167,
    "b": 63
  },
  "hsl": {
    "h": 50.732,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.7253,
    "c": 0.12438,
    "h": 98.9
  },
  "luminance": 0.38435
}

Semantic roles & 50–950 ramp

primary
#BAA73F
secondary
#8D96C8
accent
#64D94F
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #BAA73F

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

Preview Lab → · Contrast checker → · Palette generator →

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