#BA9A26#BA9A26

#BA9A26 is a light, vivid yellow. Relative luminance 0.337; OKLCH L 69.6% C 0.131 H 92.4°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#BA9A26
RGBrgb(186, 154, 38)
HSLhsl(47, 66%, 44%)
HSVhsv(47, 80%, 73%)
CMYKcmyk(0%, 17.2%, 79.6%, 27.1%)
CIE-LABlab(64.72, 0.48, 60.43)
CIE-LCHlch(64.72, 60.44, 89.54°)
OKLaboklab(69.61% -0.0055 0.1311)
OKLCHoklch(69.61% 0.131 92.4)
XYZxyz(32.1570, 33.6922, 6.6429)
Luminance0.3369 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA9A26 #2646BA
analogous
#BA5026 #BA9A26 #90BA26
triadic
#BA9A26 #26BA9A #9A26BA
tetradic
#BA9A26 #26BA50 #2646BA #BA2690
square
#BA9A26 #26BA50 #2646BA #BA2690
split-complementary
#BA9A26 #2690BA #5026BA
monochromatic
#544611 #87701C #BA9A26 #D9B944 #E3CC77

Accessibility & contrast

On white

2.71
#BA9A26 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#BA9A26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA9A26
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA9A26#FFFFFF#000000##000000
##BA9A261.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC980A
Deuteranopia (green-blind)
#B4A12E
Tritanopia (blue-blind)
#CA8D84
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ba9a26;
/* rgb */ color: rgb(186, 154, 38);
/* oklch */ color: oklch(69.6% 0.131 92.4);
Tailwind
colors: {
  custom: {
    50: '#d3b76b',
    500: '#ba9a26',
    950: '#000000',
  },
}
SCSS
$custom: #ba9a26;
$custom-light: #d3b76b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba9a26",
  "rgb": {
    "r": 186,
    "g": 154,
    "b": 38
  },
  "hsl": {
    "h": 47.027,
    "s": 66.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.6961,
    "c": 0.1312,
    "h": 92.4
  },
  "luminance": 0.3369
}

Semantic roles & 50–950 ramp

primary
#BA9A26
secondary
#7184CB
accent
#64E93F
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A

Preview Lab

Preview with #BA9A26

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

Preview Lab → · Contrast checker → · Palette generator →

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