#BA9E48#BA9E48

#BA9E48 is a light, moderate yellow. Relative luminance 0.354; OKLCH L 70.7% C 0.110 H 91.3°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#BA9E48
RGBrgb(186, 158, 72)
HSLhsl(45, 45%, 51%)
HSVhsv(45, 61%, 73%)
CMYKcmyk(0%, 15.1%, 61.3%, 27.1%)
CIE-LABlab(66.03, 0.13, 47.77)
CIE-LCHlch(66.03, 47.77, 89.85°)
OKLaboklab(70.73% -0.0025 0.1102)
OKLCHoklch(70.73% 0.11 91.3)
XYZxyz(33.6478, 35.3625, 11.1830)
Luminance0.3536 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA9E48 #4864BA
analogous
#BA6548 #BA9E48 #9DBA48
triadic
#BA9E48 #48BA9E #9E48BA
tetradic
#BA9E48 #48BA65 #4864BA #BA489D
square
#BA9E48 #48BA65 #4864BA #BA489D
split-complementary
#BA9E48 #489DBA #6548BA
monochromatic
#625325 #8F7936 #BA9E48 #CBB674 #DCCDA1

Accessibility & contrast

On white

2.60
#BA9E48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#BA9E48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA9E48
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA9E48#FFFFFF#000000##000000
##BA9E481.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9C3F
Deuteranopia (green-blind)
#B5A44C
Tritanopia (blue-blind)
#C8928B
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ba9e48;
/* rgb */ color: rgb(186, 158, 72);
/* oklch */ color: oklch(70.7% 0.110 91.3);
Tailwind
colors: {
  custom: {
    50: '#d2ba7e',
    500: '#ba9e48',
    950: '#000000',
  },
}
SCSS
$custom: #ba9e48;
$custom-light: #d2ba7e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba9e48",
  "rgb": {
    "r": 186,
    "g": 158,
    "b": 72
  },
  "hsl": {
    "h": 45.263,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.70728,
    "c": 0.11026,
    "h": 91.3
  },
  "luminance": 0.35361
}

Semantic roles & 50–950 ramp

primary
#BA9E48
secondary
#96A2C8
accent
#73D553
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#14110A
muted
#83807C

Preview Lab

Preview with #BA9E48

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

Preview Lab → · Contrast checker → · Palette generator →

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