#BAC760#BAC760

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

Color values

HEX#BAC760
RGBrgb(186, 199, 96)
HSLhsl(68, 48%, 58%)
HSVhsv(68, 52%, 78%)
CMYKcmyk(6.5%, 0%, 51.8%, 22%)
CIE-LABlab(77.36, -19.21, 49.45)
CIE-LCHlch(77.36, 53.05, 111.23°)
OKLaboklab(79.82% -0.0552 0.1165)
OKLCHoklch(79.82% 0.129 115.3)
XYZxyz(42.7851, 52.1310, 18.8725)
Luminance0.5213 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC760 #6D60C7
analogous
#C7A160 #BAC760 #86C760
triadic
#BAC760 #60BAC7 #C760BA
tetradic
#BAC760 #60C7A1 #6D60C7 #C76086
square
#BAC760 #60C7A1 #6D60C7 #C76086
split-complementary
#BAC760 #6086C7 #A160C7
monochromatic
#75802D #9FAD3D #BAC760 #CED78D #E1E7BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAC760#FFFFFF#000000##000000
##BAC7601.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)
#D3BE56
Deuteranopia (green-blind)
#D2C066
Tritanopia (blue-blind)
#C4BDB0
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #bac760;
/* rgb */ color: rgb(186, 199, 96);
/* oklch */ color: oklch(79.8% 0.129 115.3);
Tailwind
colors: {
  custom: {
    50: '#d1d790',
    500: '#bac760',
    950: '#000000',
  },
}
SCSS
$custom: #bac760;
$custom-light: #d1d790;
$custom-dark: #000000;
JSON
{
  "hex": "#bac760",
  "rgb": {
    "r": 186,
    "g": 199,
    "b": 96
  },
  "hsl": {
    "h": 67.573,
    "s": 47.907,
    "l": 57.843
  },
  "oklch": {
    "l": 0.79815,
    "c": 0.12893,
    "h": 115.3
  },
  "luminance": 0.5213
}

Semantic roles & 50–950 ramp

primary
#BAC760
secondary
#4C4488
accent
#50D761
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14140D
muted
#83837F

Preview Lab

Preview with #BAC760

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

Preview Lab → · Contrast checker → · Palette generator →

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