#BA9A25#BA9A25

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

Color values

HEX#BA9A25
RGBrgb(186, 154, 37)
HSLhsl(47, 67%, 44%)
HSVhsv(47, 80%, 73%)
CMYKcmyk(0%, 17.2%, 80.1%, 27.1%)
CIE-LABlab(64.71, 0.45, 60.76)
CIE-LCHlch(64.71, 60.76, 89.58°)
OKLaboklab(69.6% -0.0057 0.1316)
OKLCHoklch(69.6% 0.132 92.5)
XYZxyz(32.1411, 33.6859, 6.5590)
Luminance0.3368 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA9A25 #2545BA
analogous
#BA4F25 #BA9A25 #8FBA25
triadic
#BA9A25 #25BA9A #9A25BA
tetradic
#BA9A25 #25BA4F #2545BA #BA258F
square
#BA9A25 #25BA4F #2545BA #BA258F
split-complementary
#BA9A25 #258FBA #4F25BA
monochromatic
#544511 #87701B #BA9A25 #DAB943 #E4CC76

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA9A25#FFFFFF#000000##000000
##BA9A251.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)
#AC9807
Deuteranopia (green-blind)
#B4A12D
Tritanopia (blue-blind)
#CA8D84
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ba9a25;
/* rgb */ color: rgb(186, 154, 37);
/* oklch */ color: oklch(69.6% 0.132 92.5);
Tailwind
colors: {
  custom: {
    50: '#d3b76a',
    500: '#ba9a25',
    950: '#000000',
  },
}
SCSS
$custom: #ba9a25;
$custom-light: #d3b76a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba9a25",
  "rgb": {
    "r": 186,
    "g": 154,
    "b": 37
  },
  "hsl": {
    "h": 47.114,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.69604,
    "c": 0.13169,
    "h": 92.5
  },
  "luminance": 0.33684
}

Semantic roles & 50–950 ramp

primary
#BA9A25
secondary
#7083CB
accent
#63EA3E
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A

Preview Lab

Preview with #BA9A25

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

Preview Lab → · Contrast checker → · Palette generator →

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