#BAA148#BAA148

#BAA148 is a light, moderate yellow. Relative luminance 0.364; OKLCH L 71.4% C 0.112 H 93.7°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#BAA148
RGBrgb(186, 161, 72)
HSLhsl(47, 45%, 51%)
HSVhsv(47, 61%, 73%)
CMYKcmyk(0%, 13.4%, 61.3%, 27.1%)
CIE-LABlab(66.82, -1.48, 48.66)
CIE-LCHlch(66.82, 48.68, 91.75°)
OKLaboklab(71.36% -0.0072 0.1121)
OKLCHoklch(71.36% 0.112 93.7)
XYZxyz(34.1658, 36.3984, 11.3556)
Luminance0.3640 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA148 #4861BA
analogous
#BA6848 #BAA148 #9ABA48
triadic
#BAA148 #48BAA1 #A148BA
tetradic
#BAA148 #48BA68 #4861BA #BA489A
square
#BAA148 #48BA68 #4861BA #BA489A
split-complementary
#BAA148 #489ABA #6848BA
monochromatic
#625525 #8F7B36 #BAA148 #CBB874 #DCCFA1

Accessibility & contrast

On white

2.54
#BAA148 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#BAA148 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA148
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA148#FFFFFF#000000##000000
##BAA1481.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09E3F
Deuteranopia (green-blind)
#B7A64C
Tritanopia (blue-blind)
#C8968D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #baa148;
/* rgb */ color: rgb(186, 161, 72);
/* oklch */ color: oklch(71.4% 0.112 93.7);
Tailwind
colors: {
  custom: {
    50: '#d2bc7e',
    500: '#baa148',
    950: '#000000',
  },
}
SCSS
$custom: #baa148;
$custom-light: #d2bc7e;
$custom-dark: #000000;
JSON
{
  "hex": "#baa148",
  "rgb": {
    "r": 186,
    "g": 161,
    "b": 72
  },
  "hsl": {
    "h": 46.842,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.71355,
    "c": 0.11236,
    "h": 93.7
  },
  "luminance": 0.36397
}

Semantic roles & 50–950 ramp

primary
#BAA148
secondary
#96A1C8
accent
#6FD553
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #BAA148

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

Preview Lab → · Contrast checker → · Palette generator →

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