#BAA348#BAA348

#BAA348 is a light, moderate yellow. Relative luminance 0.371; OKLCH L 71.8% C 0.114 H 95.2°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#BAA348
RGBrgb(186, 163, 72)
HSLhsl(48, 45%, 51%)
HSVhsv(48, 61%, 73%)
CMYKcmyk(0%, 12.4%, 61.3%, 27.1%)
CIE-LABlab(67.35, -2.56, 49.25)
CIE-LCHlch(67.35, 49.32, 92.97°)
OKLaboklab(71.77% -0.0103 0.1134)
OKLCHoklch(71.77% 0.114 95.2)
XYZxyz(34.5181, 37.1030, 11.4731)
Luminance0.3710 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA348 #485FBA
analogous
#BA6A48 #BAA348 #98BA48
triadic
#BAA348 #48BAA3 #A348BA
tetradic
#BAA348 #48BA6A #485FBA #BA4898
square
#BAA348 #48BA6A #485FBA #BA4898
split-complementary
#BAA348 #4898BA #6A48BA
monochromatic
#625625 #8F7D36 #BAA348 #CBB974 #DCD0A1

Accessibility & contrast

On white

2.49
#BAA348 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#BAA348 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA348
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA348#FFFFFF#000000##000000
##BAA3481.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A03E
Deuteranopia (green-blind)
#B8A74C
Tritanopia (blue-blind)
#C8988F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #baa348;
/* rgb */ color: rgb(186, 163, 72);
/* oklch */ color: oklch(71.8% 0.114 95.2);
Tailwind
colors: {
  custom: {
    50: '#d2be7e',
    500: '#baa348',
    950: '#000000',
  },
}
SCSS
$custom: #baa348;
$custom-light: #d2be7e;
$custom-dark: #000000;
JSON
{
  "hex": "#baa348",
  "rgb": {
    "r": 186,
    "g": 163,
    "b": 72
  },
  "hsl": {
    "h": 47.895,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.71774,
    "c": 0.11386,
    "h": 95.2
  },
  "luminance": 0.37101
}

Semantic roles & 50–950 ramp

primary
#BAA348
secondary
#96A0C8
accent
#6DD553
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #BAA348

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

Preview Lab → · Contrast checker → · Palette generator →

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