#BAC348#BAC348

#BAC348 is a light, vivid yellow. Relative luminance 0.499; OKLCH L 78.7% C 0.145 H 113.2°. Best body text is #000000 at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#BAC348
RGBrgb(186, 195, 72)
HSLhsl(64, 51%, 52%)
HSVhsv(64, 63%, 76%)
CMYKcmyk(4.6%, 0%, 63.1%, 23.5%)
CIE-LABlab(76.03, -19.09, 58.67)
CIE-LCHlch(76.03, 61.70, 108.03°)
OKLaboklab(78.68% -0.0573 0.1334)
OKLCHoklch(78.68% 0.145 113.2)
XYZxyz(40.9356, 49.9380, 13.6122)
Luminance0.4994 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC348 #5148C3
analogous
#C38E48 #BAC348 #7DC348
triadic
#BAC348 #48BAC3 #C348BA
tetradic
#BAC348 #48C38E #5148C3 #C3487D
square
#BAC348 #48C38E #5148C3 #C3487D
split-complementary
#BAC348 #487DC3 #8E48C3
monochromatic
#686D24 #939B33 #BAC348 #CBD276 #DDE1A4

Accessibility & contrast

On white

1.91
#BAC348 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.99
#BAC348 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC348
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC348#FFFFFF#000000##000000
##BAC3481.001.9110.9910.99
#FFFFFF1.911.0021.0021.00
#00000010.9921.001.001.00
##00000010.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA38
Deuteranopia (green-blind)
#D1BD50
Tritanopia (blue-blind)
#C6B8A9
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #bac348;
/* rgb */ color: rgb(186, 195, 72);
/* oklch */ color: oklch(78.7% 0.145 113.2);
Tailwind
colors: {
  custom: {
    50: '#d2d581',
    500: '#bac348',
    950: '#000000',
  },
}
SCSS
$custom: #bac348;
$custom-light: #d2d581;
$custom-dark: #000000;
JSON
{
  "hex": "#bac348",
  "rgb": {
    "r": 186,
    "g": 195,
    "b": 72
  },
  "hsl": {
    "h": 64.39,
    "s": 50.617,
    "l": 52.353
  },
  "oklch": {
    "l": 0.78679,
    "c": 0.14517,
    "h": 113.2
  },
  "luminance": 0.49937
}

Semantic roles & 50–950 ramp

primary
#BAC348
secondary
#9D99CE
accent
#4EDA58
background
#FDFDF8
surface
#FAFAEF
border
#D3D3CA
text
#14140B
muted
#83837C

Preview Lab

Preview with #BAC348

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

Preview Lab → · Contrast checker → · Palette generator →

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