#BA9825#BA9825

#BA9825 is a light, vivid yellow. Relative luminance 0.330; OKLCH L 69.2% C 0.131 H 91.1°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#BA9825
RGBrgb(186, 152, 37)
HSLhsl(46, 67%, 44%)
HSVhsv(46, 80%, 73%)
CMYKcmyk(0%, 18.3%, 80.1%, 27.1%)
CIE-LABlab(64.19, 1.53, 60.29)
CIE-LCHlch(64.19, 60.31, 88.55°)
OKLaboklab(69.19% -0.0026 0.1306)
OKLCHoklch(69.19% 0.131 91.1)
XYZxyz(31.8138, 33.0312, 6.4499)
Luminance0.3303 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA9825 #2547BA
analogous
#BA4D25 #BA9825 #91BA25
triadic
#BA9825 #25BA98 #9825BA
tetradic
#BA9825 #25BA4D #2547BA #BA2591
square
#BA9825 #25BA4D #2547BA #BA2591
split-complementary
#BA9825 #2591BA #4D25BA
monochromatic
#544511 #876E1B #BA9825 #DAB743 #E4CB76

Accessibility & contrast

On white

2.76
#BA9825 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#BA9825 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA9825
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA9825#FFFFFF#000000##000000
##BA98251.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9608
Deuteranopia (green-blind)
#B2A02C
Tritanopia (blue-blind)
#CA8B82
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ba9825;
/* rgb */ color: rgb(186, 152, 37);
/* oklch */ color: oklch(69.2% 0.131 91.1);
Tailwind
colors: {
  custom: {
    50: '#d3b56a',
    500: '#ba9825',
    950: '#000000',
  },
}
SCSS
$custom: #ba9825;
$custom-light: #d3b56a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba9825",
  "rgb": {
    "r": 186,
    "g": 152,
    "b": 37
  },
  "hsl": {
    "h": 46.309,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.69189,
    "c": 0.13059,
    "h": 91.1
  },
  "luminance": 0.33029
}

Semantic roles & 50–950 ramp

primary
#BA9825
secondary
#7085CB
accent
#65EA3E
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A

Preview Lab

Preview with #BA9825

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

Preview Lab → · Contrast checker → · Palette generator →

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