#BAC248#BAC248

#BAC248 is a light, vivid yellow. Relative luminance 0.495; OKLCH L 78.5% C 0.144 H 112.8°. Best body text is #000000 at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#BAC248
RGBrgb(186, 194, 72)
HSLhsl(64, 50%, 52%)
HSVhsv(64, 63%, 76%)
CMYKcmyk(4.1%, 0%, 62.9%, 23.9%)
CIE-LABlab(75.76, -18.59, 58.38)
CIE-LCHlch(75.76, 61.27, 107.67°)
OKLaboklab(78.46% -0.0559 0.1328)
OKLCHoklch(78.46% 0.144 112.8)
XYZxyz(40.7123, 49.4914, 13.5378)
Luminance0.4949 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC248 #5048C2
analogous
#C28D48 #BAC248 #7DC248
triadic
#BAC248 #48BAC2 #C248BA
tetradic
#BAC248 #48C28D #5048C2 #C2487D
square
#BAC248 #48C28D #5048C2 #C2487D
split-complementary
#BAC248 #487DC2 #8D48C2
monochromatic
#676C24 #939A33 #BAC248 #CBD176 #DDE1A4

Accessibility & contrast

On white

1.93
#BAC248 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.90
#BAC248 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC248
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC248#FFFFFF#000000##000000
##BAC2481.001.9310.9010.90
#FFFFFF1.931.0021.0021.00
#00000010.9021.001.001.00
##00000010.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B939
Deuteranopia (green-blind)
#D0BC50
Tritanopia (blue-blind)
#C6B7A9
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #bac248;
/* rgb */ color: rgb(186, 194, 72);
/* oklch */ color: oklch(78.5% 0.144 112.8);
Tailwind
colors: {
  custom: {
    50: '#d2d481',
    500: '#bac248',
    950: '#000000',
  },
}
SCSS
$custom: #bac248;
$custom-light: #d2d481;
$custom-dark: #000000;
JSON
{
  "hex": "#bac248",
  "rgb": {
    "r": 186,
    "g": 194,
    "b": 72
  },
  "hsl": {
    "h": 63.934,
    "s": 50,
    "l": 52.157
  },
  "oklch": {
    "l": 0.78459,
    "c": 0.14405,
    "h": 112.8
  },
  "luminance": 0.49491
}

Semantic roles & 50–950 ramp

primary
#BAC248
secondary
#9C98CE
accent
#4EDA57
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14140B
muted
#83827C

Preview Lab

Preview with #BAC248

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

Preview Lab → · Contrast checker → · Palette generator →

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