#BA9A29#BA9A29

#BA9A29 is a light, vivid yellow. Relative luminance 0.337; OKLCH L 69.6% C 0.130 H 92.1°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#BA9A29
RGBrgb(186, 154, 41)
HSLhsl(47, 64%, 45%)
HSVhsv(47, 78%, 73%)
CMYKcmyk(0%, 17.2%, 78%, 27.1%)
CIE-LABlab(64.73, 0.60, 59.43)
CIE-LCHlch(64.73, 59.43, 89.43°)
OKLaboklab(69.63% -0.0048 0.1296)
OKLCHoklch(69.63% 0.13 92.1)
XYZxyz(32.2074, 33.7124, 6.9081)
Luminance0.3371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA9A29 #2949BA
analogous
#BA5229 #BA9A29 #91BA29
triadic
#BA9A29 #29BA9A #9A29BA
tetradic
#BA9A29 #29BA52 #2949BA #BA2991
square
#BA9A29 #29BA52 #2949BA #BA2991
split-complementary
#BA9A29 #2991BA #5229BA
monochromatic
#564713 #88701E #BA9A29 #D7B849 #E2CB7B

Accessibility & contrast

On white

2.71
#BA9A29 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#BA9A29 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA9A29
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA9A29#FFFFFF#000000##000000
##BA9A291.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9812
Deuteranopia (green-blind)
#B3A130
Tritanopia (blue-blind)
#CA8D84
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ba9a29;
/* rgb */ color: rgb(186, 154, 41);
/* oklch */ color: oklch(69.6% 0.130 92.1);
Tailwind
colors: {
  custom: {
    50: '#d3b76c',
    500: '#ba9a29',
    950: '#000000',
  },
}
SCSS
$custom: #ba9a29;
$custom-light: #d3b76c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba9a29",
  "rgb": {
    "r": 186,
    "g": 154,
    "b": 41
  },
  "hsl": {
    "h": 46.759,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.69628,
    "c": 0.12965,
    "h": 92.1
  },
  "luminance": 0.3371
}

Semantic roles & 50–950 ramp

primary
#BA9A29
secondary
#7588CA
accent
#66E741
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A

Preview Lab

Preview with #BA9A29

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

Preview Lab → · Contrast checker → · Palette generator →

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