#BA9729#BA9729

#BA9729 is a light, vivid yellow. Relative luminance 0.327; OKLCH L 69.0% C 0.128 H 90.1°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#BA9729
RGBrgb(186, 151, 41)
HSLhsl(46, 64%, 45%)
HSVhsv(46, 78%, 73%)
CMYKcmyk(0%, 18.8%, 78%, 27.1%)
CIE-LABlab(63.95, 2.22, 58.70)
CIE-LCHlch(63.95, 58.74, 87.83°)
OKLaboklab(69.01% -0.0002 0.128)
OKLCHoklch(69.01% 0.128 90.1)
XYZxyz(31.7184, 32.7345, 6.7452)
Luminance0.3273 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA9729 #294CBA
analogous
#BA4E29 #BA9729 #95BA29
triadic
#BA9729 #29BA97 #9729BA
tetradic
#BA9729 #29BA4E #294CBA #BA2995
square
#BA9729 #29BA4E #294CBA #BA2995
split-complementary
#BA9729 #2995BA #4E29BA
monochromatic
#564613 #886E1E #BA9729 #D7B549 #E2C97B

Accessibility & contrast

On white

2.78
#BA9729 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#BA9729 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA9729
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA9729#FFFFFF#000000##000000
##BA97291.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99513
Deuteranopia (green-blind)
#B19F2F
Tritanopia (blue-blind)
#CA8A82
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ba9729;
/* rgb */ color: rgb(186, 151, 41);
/* oklch */ color: oklch(69.0% 0.128 90.1);
Tailwind
colors: {
  custom: {
    50: '#d3b56c',
    500: '#ba9729',
    950: '#000000',
  },
}
SCSS
$custom: #ba9729;
$custom-light: #d3b56c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba9729",
  "rgb": {
    "r": 186,
    "g": 151,
    "b": 41
  },
  "hsl": {
    "h": 45.517,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.69006,
    "c": 0.128,
    "h": 90.1
  },
  "luminance": 0.32732
}

Semantic roles & 50–950 ramp

primary
#BA9729
secondary
#7589CA
accent
#69E741
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A

Preview Lab

Preview with #BA9729

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

Preview Lab → · Contrast checker → · Palette generator →

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