#BA9C2C#BA9C2C

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

Color values

HEX#BA9C2C
RGBrgb(186, 156, 44)
HSLhsl(47, 62%, 45%)
HSVhsv(47, 76%, 73%)
CMYKcmyk(0%, 16.1%, 76.3%, 27.1%)
CIE-LABlab(65.28, -0.36, 58.87)
CIE-LCHlch(65.28, 58.87, 90.35°)
OKLaboklab(70.06% -0.0073 0.129)
OKLCHoklch(70.06% 0.129 93.2)
XYZxyz(32.5946, 34.3998, 7.3054)
Luminance0.3440 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA9C2C #2C4ABA
analogous
#BA552C #BA9C2C #91BA2C
triadic
#BA9C2C #2CBA9C #9C2CBA
tetradic
#BA9C2C #2CBA55 #2C4ABA #BA2C91
square
#BA9C2C #2CBA55 #2C4ABA #BA2C91
split-complementary
#BA9C2C #2C91BA #552CBA
monochromatic
#574915 #897220 #BA9C2C #D5B94E #E1CC80

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA9C2C#FFFFFF#000000##000000
##BA9C2C1.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)
#AD9917
Deuteranopia (green-blind)
#B5A233
Tritanopia (blue-blind)
#C98F86
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ba9c2c;
/* rgb */ color: rgb(186, 156, 44);
/* oklch */ color: oklch(70.1% 0.129 93.2);
Tailwind
colors: {
  custom: {
    50: '#d3b86e',
    500: '#ba9c2c',
    950: '#000000',
  },
}
SCSS
$custom: #ba9c2c;
$custom-light: #d3b86e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba9c2c",
  "rgb": {
    "r": 186,
    "g": 156,
    "b": 44
  },
  "hsl": {
    "h": 47.324,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.70064,
    "c": 0.12918,
    "h": 93.2
  },
  "luminance": 0.34398
}

Semantic roles & 50–950 ramp

primary
#BA9C2C
secondary
#7889CA
accent
#65E543
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151108
muted
#83807B

Preview Lab

Preview with #BA9C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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