#BAC751#BAC751

#BAC751 is a light, vivid yellow. Relative luminance 0.519; OKLCH L 79.6% C 0.142 H 115.0°. Best body text is #000000 at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#BAC751
RGBrgb(186, 199, 81)
HSLhsl(67, 51%, 55%)
HSVhsv(67, 59%, 78%)
CMYKcmyk(6.5%, 0%, 59.3%, 22%)
CIE-LABlab(77.21, -20.45, 56.11)
CIE-LCHlch(77.21, 59.72, 110.02°)
OKLaboklab(79.65% -0.0602 0.1292)
OKLCHoklch(79.65% 0.143 115)
XYZxyz(42.1592, 51.8807, 15.5760)
Luminance0.5188 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC751 #5E51C7
analogous
#C79951 #BAC751 #7FC751
triadic
#BAC751 #51BAC7 #C751BA
tetradic
#BAC751 #51C799 #5E51C7 #C7517F
square
#BAC751 #51C799 #5E51C7 #C7517F
split-complementary
#BAC751 #517FC7 #9951C7
monochromatic
#6E7726 #99A635 #BAC751 #CCD67F #DFE5AE

Accessibility & contrast

On white

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

On black

11.38
#BAC751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC751
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC751#FFFFFF#000000##000000
##BAC7511.001.8511.3811.38
#FFFFFF1.851.0021.0021.00
#00000011.3821.001.001.00
##00000011.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE44
Deuteranopia (green-blind)
#D3C058
Tritanopia (blue-blind)
#C5BCAE
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #bac751;
/* rgb */ color: rgb(186, 199, 81);
/* oklch */ color: oklch(79.6% 0.142 115.0);
Tailwind
colors: {
  custom: {
    50: '#d1d786',
    500: '#bac751',
    950: '#000000',
  },
}
SCSS
$custom: #bac751;
$custom-light: #d1d786;
$custom-dark: #000000;
JSON
{
  "hex": "#bac751",
  "rgb": {
    "r": 186,
    "g": 199,
    "b": 81
  },
  "hsl": {
    "h": 66.61,
    "s": 51.304,
    "l": 54.902
  },
  "oklch": {
    "l": 0.79647,
    "c": 0.1425,
    "h": 115
  },
  "luminance": 0.5188
}

Semantic roles & 50–950 ramp

primary
#BAC751
secondary
#443C80
accent
#4DDB5D
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #BAC751

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

Preview Lab → · Contrast checker → · Palette generator →

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