#BA9C29#BA9C29

#BA9C29 is a light, vivid yellow. Relative luminance 0.344; OKLCH L 70.0% C 0.131 H 93.5°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#BA9C29
RGBrgb(186, 156, 41)
HSLhsl(48, 64%, 45%)
HSVhsv(48, 78%, 73%)
CMYKcmyk(0%, 16.1%, 78%, 27.1%)
CIE-LABlab(65.26, -0.48, 59.91)
CIE-LCHlch(65.26, 59.92, 90.46°)
OKLaboklab(70.05% -0.0079 0.1306)
OKLCHoklch(70.05% 0.131 93.5)
XYZxyz(32.5402, 34.3781, 7.0191)
Luminance0.3438 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA9C29 #2947BA
analogous
#BA5329 #BA9C29 #90BA29
triadic
#BA9C29 #29BA9C #9C29BA
tetradic
#BA9C29 #29BA53 #2947BA #BA2990
square
#BA9C29 #29BA53 #2947BA #BA2990
split-complementary
#BA9C29 #2990BA #5329BA
monochromatic
#564813 #88721E #BA9C29 #D7BA49 #E2CD7B

Accessibility & contrast

On white

2.67
#BA9C29 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#BA9C29 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA9C29
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA9C29#FFFFFF#000000##000000
##BA9C291.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9911
Deuteranopia (green-blind)
#B5A230
Tritanopia (blue-blind)
#C98F86
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ba9c29;
/* rgb */ color: rgb(186, 156, 41);
/* oklch */ color: oklch(70.0% 0.131 93.5);
Tailwind
colors: {
  custom: {
    50: '#d3b86c',
    500: '#ba9c29',
    950: '#000000',
  },
}
SCSS
$custom: #ba9c29;
$custom-light: #d3b86c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba9c29",
  "rgb": {
    "r": 186,
    "g": 156,
    "b": 41
  },
  "hsl": {
    "h": 47.586,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.70045,
    "c": 0.13084,
    "h": 93.5
  },
  "luminance": 0.34376
}

Semantic roles & 50–950 ramp

primary
#BA9C29
secondary
#7586CA
accent
#63E741
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A

Preview Lab

Preview with #BA9C29

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

Preview Lab → · Contrast checker → · Palette generator →

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