#BAC761#BAC761

#BAC761 is a light, vivid yellow. Relative luminance 0.521; OKLCH L 79.8% C 0.128 H 115.4°. Best body text is #000000 at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#BAC761
RGBrgb(186, 199, 97)
HSLhsl(68, 48%, 58%)
HSVhsv(68, 51%, 78%)
CMYKcmyk(6.5%, 0%, 51.3%, 22%)
CIE-LABlab(77.37, -19.12, 48.99)
CIE-LCHlch(77.37, 52.59, 111.32°)
OKLaboklab(79.83% -0.0548 0.1156)
OKLCHoklch(79.83% 0.128 115.4)
XYZxyz(42.8314, 52.1496, 19.1165)
Luminance0.5215 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC761 #6E61C7
analogous
#C7A161 #BAC761 #87C761
triadic
#BAC761 #61BAC7 #C761BA
tetradic
#BAC761 #61C7A1 #6E61C7 #C76187
square
#BAC761 #61C7A1 #6E61C7 #C76187
split-complementary
#BAC761 #6187C7 #A161C7
monochromatic
#76802D #9FAD3D #BAC761 #CED78E #E1E7BB

Accessibility & contrast

On white

1.84
#BAC761 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.43
#BAC761 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC761
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC761#FFFFFF#000000##000000
##BAC7611.001.8411.4311.43
#FFFFFF1.841.0021.0021.00
#00000011.4321.001.001.00
##00000011.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BE57
Deuteranopia (green-blind)
#D2C067
Tritanopia (blue-blind)
#C4BDB0
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #bac761;
/* rgb */ color: rgb(186, 199, 97);
/* oklch */ color: oklch(79.8% 0.128 115.4);
Tailwind
colors: {
  custom: {
    50: '#d1d791',
    500: '#bac761',
    950: '#000000',
  },
}
SCSS
$custom: #bac761;
$custom-light: #d1d791;
$custom-dark: #000000;
JSON
{
  "hex": "#bac761",
  "rgb": {
    "r": 186,
    "g": 199,
    "b": 97
  },
  "hsl": {
    "h": 67.647,
    "s": 47.664,
    "l": 58.039
  },
  "oklch": {
    "l": 0.79827,
    "c": 0.12795,
    "h": 115.4
  },
  "luminance": 0.52149
}

Semantic roles & 50–950 ramp

primary
#BAC761
secondary
#4D4488
accent
#51D762
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14140D
muted
#83837F

Preview Lab

Preview with #BAC761

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

Preview Lab → · Contrast checker → · Palette generator →

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