#BA9925#BA9925

#BA9925 is a light, vivid yellow. Relative luminance 0.334; OKLCH L 69.4% C 0.131 H 91.8°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#BA9925
RGBrgb(186, 153, 37)
HSLhsl(47, 67%, 44%)
HSVhsv(47, 80%, 73%)
CMYKcmyk(0%, 17.7%, 80.1%, 27.1%)
CIE-LABlab(64.45, 0.99, 60.52)
CIE-LCHlch(64.45, 60.53, 89.06°)
OKLaboklab(69.4% -0.0041 0.1311)
OKLCHoklch(69.4% 0.131 91.8)
XYZxyz(31.9768, 33.3572, 6.5042)
Luminance0.3336 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA9925 #2546BA
analogous
#BA4E25 #BA9925 #90BA25
triadic
#BA9925 #25BA99 #9925BA
tetradic
#BA9925 #25BA4E #2546BA #BA2590
square
#BA9925 #25BA4E #2546BA #BA2590
split-complementary
#BA9925 #2590BA #4E25BA
monochromatic
#544511 #876F1B #BA9925 #DAB843 #E4CB76

Accessibility & contrast

On white

2.74
#BA9925 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#BA9925 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA9925
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA9925#FFFFFF#000000##000000
##BA99251.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9707
Deuteranopia (green-blind)
#B3A02D
Tritanopia (blue-blind)
#CA8C83
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ba9925;
/* rgb */ color: rgb(186, 153, 37);
/* oklch */ color: oklch(69.4% 0.131 91.8);
Tailwind
colors: {
  custom: {
    50: '#d3b66a',
    500: '#ba9925',
    950: '#000000',
  },
}
SCSS
$custom: #ba9925;
$custom-light: #d3b66a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba9925",
  "rgb": {
    "r": 186,
    "g": 153,
    "b": 37
  },
  "hsl": {
    "h": 46.711,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.69396,
    "c": 0.13113,
    "h": 91.8
  },
  "luminance": 0.33355
}

Semantic roles & 50–950 ramp

primary
#BA9925
secondary
#7084CB
accent
#64EA3E
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A

Preview Lab

Preview with #BA9925

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

Preview Lab → · Contrast checker → · Palette generator →

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