#BA9626#BA9626

#BA9626 is a light, vivid yellow. Relative luminance 0.324; OKLCH L 68.8% C 0.129 H 89.7°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#BA9626
RGBrgb(186, 150, 38)
HSLhsl(45, 66%, 44%)
HSVhsv(45, 80%, 73%)
CMYKcmyk(0%, 19.4%, 79.6%, 27.1%)
CIE-LABlab(63.67, 2.65, 59.49)
CIE-LCHlch(63.67, 59.55, 87.45°)
OKLaboklab(68.78% 0.0007 0.1291)
OKLCHoklch(68.78% 0.129 89.7)
XYZxyz(31.5078, 32.3938, 6.4265)
Luminance0.3239 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA9626 #264ABA
analogous
#BA4C26 #BA9626 #94BA26
triadic
#BA9626 #26BA96 #9626BA
tetradic
#BA9626 #26BA4C #264ABA #BA2694
square
#BA9626 #26BA4C #264ABA #BA2694
split-complementary
#BA9626 #2694BA #4C26BA
monochromatic
#544411 #876D1C #BA9626 #D9B544 #E3C977

Accessibility & contrast

On white

2.81
#BA9626 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#BA9626 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA9626
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA9626#FFFFFF#000000##000000
##BA96261.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8940C
Deuteranopia (green-blind)
#B19E2D
Tritanopia (blue-blind)
#CA8981
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ba9626;
/* rgb */ color: rgb(186, 150, 38);
/* oklch */ color: oklch(68.8% 0.129 89.7);
Tailwind
colors: {
  custom: {
    50: '#d3b46a',
    500: '#ba9626',
    950: '#000000',
  },
}
SCSS
$custom: #ba9626;
$custom-light: #d3b46a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba9626",
  "rgb": {
    "r": 186,
    "g": 150,
    "b": 38
  },
  "hsl": {
    "h": 45.405,
    "s": 66.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.68781,
    "c": 0.12905,
    "h": 89.7
  },
  "luminance": 0.32392
}

Semantic roles & 50–950 ramp

primary
#BA9626
secondary
#7187CB
accent
#68E93F
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A

Preview Lab

Preview with #BA9626

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

Preview Lab → · Contrast checker → · Palette generator →

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