#BA9D32#BA9D32

#BA9D32 is a light, vivid yellow. Relative luminance 0.348; OKLCH L 70.3% C 0.126 H 93.4°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#BA9D32
RGBrgb(186, 157, 50)
HSLhsl(47, 58%, 46%)
HSVhsv(47, 73%, 73%)
CMYKcmyk(0%, 15.6%, 73.1%, 27.1%)
CIE-LABlab(65.58, -0.63, 56.89)
CIE-LCHlch(65.58, 56.90, 90.64°)
OKLaboklab(70.32% -0.0074 0.126)
OKLCHoklch(70.32% 0.126 93.4)
XYZxyz(32.8842, 34.7852, 7.9991)
Luminance0.3478 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA9D32 #324FBA
analogous
#BA5932 #BA9D32 #93BA32
triadic
#BA9D32 #32BA9D #9D32BA
tetradic
#BA9D32 #32BA59 #324FBA #BA3293
square
#BA9D32 #32BA59 #324FBA #BA3293
split-complementary
#BA9D32 #3293BA #5932BA
monochromatic
#5A4C18 #8A7425 #BA9D32 #D2B857 #DFCC88

Accessibility & contrast

On white

2.64
#BA9D32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#BA9D32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA9D32
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA9D32#FFFFFF#000000##000000
##BA9D321.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A21
Deuteranopia (green-blind)
#B5A338
Tritanopia (blue-blind)
#C99088
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ba9d32;
/* rgb */ color: rgb(186, 157, 50);
/* oklch */ color: oklch(70.3% 0.126 93.4);
Tailwind
colors: {
  custom: {
    50: '#d3b971',
    500: '#ba9d32',
    950: '#000000',
  },
}
SCSS
$custom: #ba9d32;
$custom-light: #d3b971;
$custom-dark: #000000;
JSON
{
  "hex": "#ba9d32",
  "rgb": {
    "r": 186,
    "g": 157,
    "b": 50
  },
  "hsl": {
    "h": 47.206,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.70315,
    "c": 0.1262,
    "h": 93.4
  },
  "luminance": 0.34783
}

Semantic roles & 50–950 ramp

primary
#BA9D32
secondary
#7F8FC9
accent
#68E147
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BA9D32

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

Preview Lab → · Contrast checker → · Palette generator →

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