#BA9725#BA9725

#BA9725 is a light, vivid yellow. Relative luminance 0.327; OKLCH L 69.0% C 0.130 H 90.5°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#BA9725
RGBrgb(186, 151, 37)
HSLhsl(46, 67%, 44%)
HSVhsv(46, 80%, 73%)
CMYKcmyk(0%, 18.8%, 80.1%, 27.1%)
CIE-LABlab(63.92, 2.07, 60.05)
CIE-LCHlch(63.92, 60.09, 88.02°)
OKLaboklab(68.98% -0.001 0.1301)
OKLCHoklch(68.98% 0.13 90.5)
XYZxyz(31.6522, 32.7079, 6.3960)
Luminance0.3271 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA9725 #2548BA
analogous
#BA4C25 #BA9725 #92BA25
triadic
#BA9725 #25BA97 #9725BA
tetradic
#BA9725 #25BA4C #2548BA #BA2592
square
#BA9725 #25BA4C #2548BA #BA2592
split-complementary
#BA9725 #2592BA #4C25BA
monochromatic
#544411 #876E1B #BA9725 #DAB643 #E4CA76

Accessibility & contrast

On white

2.78
#BA9725 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#BA9725 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA9725
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA9725#FFFFFF#000000##000000
##BA97251.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99509
Deuteranopia (green-blind)
#B29F2C
Tritanopia (blue-blind)
#CA8A82
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ba9725;
/* rgb */ color: rgb(186, 151, 37);
/* oklch */ color: oklch(69.0% 0.130 90.5);
Tailwind
colors: {
  custom: {
    50: '#d3b56a',
    500: '#ba9725',
    950: '#000000',
  },
}
SCSS
$custom: #ba9725;
$custom-light: #d3b56a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba9725",
  "rgb": {
    "r": 186,
    "g": 151,
    "b": 37
  },
  "hsl": {
    "h": 45.906,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.68982,
    "c": 0.13005,
    "h": 90.5
  },
  "luminance": 0.32706
}

Semantic roles & 50–950 ramp

primary
#BA9725
secondary
#7085CB
accent
#66EA3E
background
#FDFBF6
surface
#FBF6EB
border
#D4D0C6
text
#151107
muted
#83807A

Preview Lab

Preview with #BA9725

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

Preview Lab → · Contrast checker → · Palette generator →

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