#BA9525#BA9525

#BA9525 is a light, vivid yellow. Relative luminance 0.321; OKLCH L 68.6% C 0.129 H 89.1°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#BA9525
RGBrgb(186, 149, 37)
HSLhsl(45, 67%, 44%)
HSVhsv(45, 80%, 73%)
CMYKcmyk(0%, 19.9%, 80.1%, 27.1%)
CIE-LABlab(63.40, 3.16, 59.58)
CIE-LCHlch(63.40, 59.67, 86.97°)
OKLaboklab(68.57% 0.0021 0.129)
OKLCHoklch(68.57% 0.129 89.1)
XYZxyz(31.3330, 32.0697, 6.2897)
Luminance0.3207 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA9525 #254ABA
analogous
#BA4B25 #BA9525 #94BA25
triadic
#BA9525 #25BA95 #9525BA
tetradic
#BA9525 #25BA4B #254ABA #BA2594
square
#BA9525 #25BA4B #254ABA #BA2594
split-complementary
#BA9525 #2594BA #4B25BA
monochromatic
#544311 #876C1B #BA9525 #DAB443 #E4C876

Accessibility & contrast

On white

2.83
#BA9525 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#BA9525 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA9525
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA9525#FFFFFF#000000##000000
##BA95251.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7940A
Deuteranopia (green-blind)
#B09E2C
Tritanopia (blue-blind)
#CA8780
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ba9525;
/* rgb */ color: rgb(186, 149, 37);
/* oklch */ color: oklch(68.6% 0.129 89.1);
Tailwind
colors: {
  custom: {
    50: '#d3b36a',
    500: '#ba9525',
    950: '#000000',
  },
}
SCSS
$custom: #ba9525;
$custom-light: #d3b36a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba9525",
  "rgb": {
    "r": 186,
    "g": 149,
    "b": 37
  },
  "hsl": {
    "h": 45.101,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.6857,
    "c": 0.12906,
    "h": 89.1
  },
  "luminance": 0.32068
}

Semantic roles & 50–950 ramp

primary
#BA9525
secondary
#7086CB
accent
#69EA3E
background
#FDFBF6
surface
#FBF6EB
border
#D4D0C6
text
#151107
muted
#83807A

Preview Lab

Preview with #BA9525

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

Preview Lab → · Contrast checker → · Palette generator →

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