#BA9C25#BA9C25

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

Color values

HEX#BA9C25
RGBrgb(186, 156, 37)
HSLhsl(48, 67%, 44%)
HSVhsv(48, 80%, 73%)
CMYKcmyk(0%, 16.1%, 80.1%, 27.1%)
CIE-LABlab(65.24, -0.63, 61.23)
CIE-LCHlch(65.24, 61.23, 90.59°)
OKLaboklab(70.02% -0.0087 0.1326)
OKLCHoklch(70.02% 0.133 93.8)
XYZxyz(32.4740, 34.3516, 6.6700)
Luminance0.3435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA9C25 #2543BA
analogous
#BA5125 #BA9C25 #8DBA25
triadic
#BA9C25 #25BA9C #9C25BA
tetradic
#BA9C25 #25BA51 #2543BA #BA258D
square
#BA9C25 #25BA51 #2543BA #BA258D
split-complementary
#BA9C25 #258DBA #5125BA
monochromatic
#544611 #87711B #BA9C25 #DABB43 #E4CE76

Accessibility & contrast

On white

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

On black

7.87
#BA9C25 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA9C25
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA9C25#FFFFFF#000000##000000
##BA9C251.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9905
Deuteranopia (green-blind)
#B5A22D
Tritanopia (blue-blind)
#CA8F86
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ba9c25;
/* rgb */ color: rgb(186, 156, 37);
/* oklch */ color: oklch(70.0% 0.133 93.8);
Tailwind
colors: {
  custom: {
    50: '#d3b86a',
    500: '#ba9c25',
    950: '#000000',
  },
}
SCSS
$custom: #ba9c25;
$custom-light: #d3b86a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba9c25",
  "rgb": {
    "r": 186,
    "g": 156,
    "b": 37
  },
  "hsl": {
    "h": 47.919,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.70021,
    "c": 0.13288,
    "h": 93.8
  },
  "luminance": 0.3435
}

Semantic roles & 50–950 ramp

primary
#BA9C25
secondary
#7082CB
accent
#61EA3E
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A

Preview Lab

Preview with #BA9C25

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

Preview Lab → · Contrast checker → · Palette generator →

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