#BAC148#BAC148

#BAC148 is a light, vivid yellow. Relative luminance 0.490; OKLCH L 78.2% C 0.143 H 112.4°. Best body text is #000000 at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#BAC148
RGBrgb(186, 193, 72)
HSLhsl(63, 49%, 52%)
HSVhsv(63, 63%, 76%)
CMYKcmyk(3.6%, 0%, 62.7%, 24.3%)
CIE-LABlab(75.48, -18.10, 58.09)
CIE-LCHlch(75.48, 60.84, 107.30°)
OKLaboklab(78.24% -0.0545 0.1322)
OKLCHoklch(78.24% 0.143 112.4)
XYZxyz(40.4905, 49.0478, 13.4638)
Luminance0.4905 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC148 #4F48C1
analogous
#C18C48 #BAC148 #7EC148
triadic
#BAC148 #48BAC1 #C148BA
tetradic
#BAC148 #48C18C #4F48C1 #C1487E
square
#BAC148 #48C18C #4F48C1 #C1487E
split-complementary
#BAC148 #487EC1 #8C48C1
monochromatic
#666B24 #929834 #BAC148 #CBD076 #DCE0A3

Accessibility & contrast

On white

1.94
#BAC148 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.81
#BAC148 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC148
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC148#FFFFFF#000000##000000
##BAC1481.001.9410.8110.81
#FFFFFF1.941.0021.0021.00
#00000010.8121.001.001.00
##00000010.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB839
Deuteranopia (green-blind)
#CFBB50
Tritanopia (blue-blind)
#C6B6A8
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #bac148;
/* rgb */ color: rgb(186, 193, 72);
/* oklch */ color: oklch(78.2% 0.143 112.4);
Tailwind
colors: {
  custom: {
    50: '#d2d381',
    500: '#bac148',
    950: '#000000',
  },
}
SCSS
$custom: #bac148;
$custom-light: #d2d381;
$custom-dark: #000000;
JSON
{
  "hex": "#bac148",
  "rgb": {
    "r": 186,
    "g": 193,
    "b": 72
  },
  "hsl": {
    "h": 63.471,
    "s": 49.388,
    "l": 51.961
  },
  "oklch": {
    "l": 0.78239,
    "c": 0.14294,
    "h": 112.4
  },
  "luminance": 0.49047
}

Semantic roles & 50–950 ramp

primary
#BAC148
secondary
#9B98CD
accent
#4FD957
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14140B
muted
#83827C

Preview Lab

Preview with #BAC148

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

Preview Lab → · Contrast checker → · Palette generator →

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