#BA9D46#BA9D46

#BA9D46 is a light, moderate yellow. Relative luminance 0.350; OKLCH L 70.5% C 0.111 H 90.8°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#BA9D46
RGBrgb(186, 157, 70)
HSLhsl(45, 46%, 50%)
HSVhsv(45, 62%, 73%)
CMYKcmyk(0%, 15.6%, 62.4%, 27.1%)
CIE-LABlab(65.75, 0.53, 48.40)
CIE-LCHlch(65.75, 48.40, 89.37°)
OKLaboklab(70.5% -0.0016 0.1113)
OKLCHoklch(70.5% 0.111 90.8)
XYZxyz(33.4137, 34.9971, 10.7883)
Luminance0.3499 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA9D46 #4663BA
analogous
#BA6346 #BA9D46 #9DBA46
triadic
#BA9D46 #46BA9D #9D46BA
tetradic
#BA9D46 #46BA63 #4663BA #BA469D
square
#BA9D46 #46BA63 #4663BA #BA469D
split-complementary
#BA9D46 #469DBA #6346BA
monochromatic
#615224 #8E7835 #BA9D46 #CBB573 #DBCC9F

Accessibility & contrast

On white

2.63
#BA9D46 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#BA9D46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA9D46
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA9D46#FFFFFF#000000##000000
##BA9D461.002.638.008.00
#FFFFFF2.631.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9B3D
Deuteranopia (green-blind)
#B4A34A
Tritanopia (blue-blind)
#C8918A
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ba9d46;
/* rgb */ color: rgb(186, 157, 70);
/* oklch */ color: oklch(70.5% 0.111 90.8);
Tailwind
colors: {
  custom: {
    50: '#d2b97d',
    500: '#ba9d46',
    950: '#000000',
  },
}
SCSS
$custom: #ba9d46;
$custom-light: #d2b97d;
$custom-dark: #000000;
JSON
{
  "hex": "#ba9d46",
  "rgb": {
    "r": 186,
    "g": 157,
    "b": 70
  },
  "hsl": {
    "h": 45,
    "s": 45.669,
    "l": 50.196
  },
  "oklch": {
    "l": 0.70498,
    "c": 0.1113,
    "h": 90.8
  },
  "luminance": 0.34995
}

Semantic roles & 50–950 ramp

primary
#BA9D46
secondary
#94A1C8
accent
#73D552
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#14110A
muted
#83807C

Preview Lab

Preview with #BA9D46

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

Preview Lab → · Contrast checker → · Palette generator →

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