#BAC765#BAC765

#BAC765 is a light, vivid yellow. Relative luminance 0.522; OKLCH L 79.9% C 0.124 H 115.5°. Best body text is #000000 at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#BAC765
RGBrgb(186, 199, 101)
HSLhsl(68, 47%, 59%)
HSVhsv(68, 49%, 78%)
CMYKcmyk(6.5%, 0%, 49.2%, 22%)
CIE-LABlab(77.42, -18.75, 47.14)
CIE-LCHlch(77.42, 50.73, 111.69°)
OKLaboklab(79.88% -0.0534 0.1119)
OKLCHoklch(79.88% 0.124 115.5)
XYZxyz(43.0227, 52.2261, 20.1236)
Luminance0.5223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC765 #7265C7
analogous
#C7A365 #BAC765 #89C765
triadic
#BAC765 #65BAC7 #C765BA
tetradic
#BAC765 #65C7A3 #7265C7 #C76589
square
#BAC765 #65C7A3 #7265C7 #C76589
split-complementary
#BAC765 #6589C7 #A365C7
monochromatic
#77822F #A0AF40 #BAC765 #CED792 #E2E8BF

Accessibility & contrast

On white

1.83
#BAC765 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.45
#BAC765 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC765
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC765#FFFFFF#000000##000000
##BAC7651.001.8311.4511.45
#FFFFFF1.831.0021.0021.00
#00000011.4521.001.001.00
##00000011.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BF5C
Deuteranopia (green-blind)
#D2C06A
Tritanopia (blue-blind)
#C4BEB0
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #bac765;
/* rgb */ color: rgb(186, 199, 101);
/* oklch */ color: oklch(79.9% 0.124 115.5);
Tailwind
colors: {
  custom: {
    50: '#d0d893',
    500: '#bac765',
    950: '#000000',
  },
}
SCSS
$custom: #bac765;
$custom-light: #d0d893;
$custom-dark: #000000;
JSON
{
  "hex": "#bac765",
  "rgb": {
    "r": 186,
    "g": 199,
    "b": 101
  },
  "hsl": {
    "h": 67.959,
    "s": 46.667,
    "l": 58.824
  },
  "oklch": {
    "l": 0.79879,
    "c": 0.12399,
    "h": 115.5
  },
  "luminance": 0.52226
}

Semantic roles & 50–950 ramp

primary
#BAC765
secondary
#4F468A
accent
#51D663
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14140D
muted
#83837F

Preview Lab

Preview with #BAC765

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

Preview Lab → · Contrast checker → · Palette generator →

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