#BAC748#BAC748

#BAC748 is a light, vivid yellow. Relative luminance 0.518; OKLCH L 79.6% C 0.150 H 114.8°. Best body text is #000000 at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#BAC748
RGBrgb(186, 199, 72)
HSLhsl(66, 53%, 53%)
HSVhsv(66, 64%, 78%)
CMYKcmyk(6.5%, 0%, 63.8%, 22%)
CIE-LABlab(77.13, -21.07, 59.84)
CIE-LCHlch(77.13, 63.44, 109.40°)
OKLaboklab(79.56% -0.0628 0.1359)
OKLCHoklch(79.56% 0.15 114.8)
XYZxyz(41.8438, 51.7545, 13.9150)
Luminance0.5175 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC748 #5548C7
analogous
#C79448 #BAC748 #7AC748
triadic
#BAC748 #48BAC7 #C748BA
tetradic
#BAC748 #48C794 #5548C7 #C7487A
square
#BAC748 #48C794 #5548C7 #C7487A
split-complementary
#BAC748 #487AC7 #9448C7
monochromatic
#6A7223 #95A131 #BAC748 #CCD577 #DDE4A6

Accessibility & contrast

On white

1.85
#BAC748 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.35
#BAC748 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC748
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC748#FFFFFF#000000##000000
##BAC7481.001.8511.3511.35
#FFFFFF1.851.0021.0021.00
#00000011.3521.001.001.00
##00000011.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD37
Deuteranopia (green-blind)
#D4C051
Tritanopia (blue-blind)
#C5BCAD
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #bac748;
/* rgb */ color: rgb(186, 199, 72);
/* oklch */ color: oklch(79.6% 0.150 114.8);
Tailwind
colors: {
  custom: {
    50: '#d2d781',
    500: '#bac748',
    950: '#000000',
  },
}
SCSS
$custom: #bac748;
$custom-light: #d2d781;
$custom-dark: #000000;
JSON
{
  "hex": "#bac748",
  "rgb": {
    "r": 186,
    "g": 199,
    "b": 72
  },
  "hsl": {
    "h": 66.142,
    "s": 53.138,
    "l": 53.137
  },
  "oklch": {
    "l": 0.79562,
    "c": 0.14968,
    "h": 114.8
  },
  "luminance": 0.51754
}

Semantic roles & 50–950 ramp

primary
#BAC748
secondary
#3F387B
accent
#4BDD5A
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #BAC748

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

Preview Lab → · Contrast checker → · Palette generator →

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