#BAC968#BAC968

#BAC968 is a light, vivid yellow. Relative luminance 0.532; OKLCH L 80.4% C 0.123 H 116.5°. Best body text is #000000 at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#BAC968
RGBrgb(186, 201, 104)
HSLhsl(69, 47%, 60%)
HSVhsv(69, 48%, 79%)
CMYKcmyk(7.5%, 0%, 48.3%, 21.2%)
CIE-LABlab(78.00, -19.45, 46.39)
CIE-LCHlch(78.00, 50.31, 112.75°)
OKLaboklab(80.36% -0.0551 0.1105)
OKLCHoklch(80.36% 0.124 116.5)
XYZxyz(43.6355, 53.2123, 21.0663)
Luminance0.5321 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC968 #7768C9
analogous
#C9A768 #BAC968 #8AC968
triadic
#BAC968 #68BAC9 #C968BA
tetradic
#BAC968 #68C9A7 #7768C9 #C9688A
square
#BAC968 #68C9A7 #7768C9 #C9688A
split-complementary
#BAC968 #688AC9 #A768C9
monochromatic
#798730 #A2B440 #BAC968 #CFD995 #E3E9C2

Accessibility & contrast

On white

1.80
#BAC968 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.64
#BAC968 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC968
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC968#FFFFFF#000000##000000
##BAC9681.001.8011.6411.64
#FFFFFF1.801.0021.0021.00
#00000011.6421.001.001.00
##00000011.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C05F
Deuteranopia (green-blind)
#D3C26D
Tritanopia (blue-blind)
#C3C0B3
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #bac968;
/* rgb */ color: rgb(186, 201, 104);
/* oklch */ color: oklch(80.4% 0.123 116.5);
Tailwind
colors: {
  custom: {
    50: '#d0d995',
    500: '#bac968',
    950: '#000000',
  },
}
SCSS
$custom: #bac968;
$custom-light: #d0d995;
$custom-dark: #000000;
JSON
{
  "hex": "#bac968",
  "rgb": {
    "r": 186,
    "g": 201,
    "b": 104
  },
  "hsl": {
    "h": 69.278,
    "s": 47.317,
    "l": 59.804
  },
  "oklch": {
    "l": 0.80358,
    "c": 0.1235,
    "h": 116.5
  },
  "luminance": 0.53212
}

Semantic roles & 50–950 ramp

primary
#BAC968
secondary
#52478E
accent
#51D766
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14140D
muted
#83837F

Preview Lab

Preview with #BAC968

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

Preview Lab → · Contrast checker → · Palette generator →

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