#BAC965#BAC965

#BAC965 is a light, vivid yellow. Relative luminance 0.532; OKLCH L 80.3% C 0.127 H 116.4°. Best body text is #000000 at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#BAC965
RGBrgb(186, 201, 101)
HSLhsl(69, 48%, 59%)
HSVhsv(69, 50%, 79%)
CMYKcmyk(7.5%, 0%, 49.8%, 21.2%)
CIE-LABlab(77.96, -19.74, 47.79)
CIE-LCHlch(77.96, 51.71, 112.45°)
OKLaboklab(80.32% -0.0562 0.1133)
OKLCHoklch(80.32% 0.127 116.4)
XYZxyz(43.4859, 53.1524, 20.2780)
Luminance0.5315 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC965 #7465C9
analogous
#C9A665 #BAC965 #88C965
triadic
#BAC965 #65BAC9 #C965BA
tetradic
#BAC965 #65C9A6 #7465C9 #C96588
square
#BAC965 #65C9A6 #7465C9 #C96588
split-complementary
#BAC965 #6588C9 #A665C9
monochromatic
#78852F #A1B23F #BAC965 #CED992 #E3E9C0

Accessibility & contrast

On white

1.81
#BAC965 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.63
#BAC965 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC965
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC965#FFFFFF#000000##000000
##BAC9651.001.8111.6311.63
#FFFFFF1.811.0021.0021.00
#00000011.6321.001.001.00
##00000011.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C05C
Deuteranopia (green-blind)
#D3C26A
Tritanopia (blue-blind)
#C3C0B2
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #bac965;
/* rgb */ color: rgb(186, 201, 101);
/* oklch */ color: oklch(80.3% 0.127 116.4);
Tailwind
colors: {
  custom: {
    50: '#d0d993',
    500: '#bac965',
    950: '#000000',
  },
}
SCSS
$custom: #bac965;
$custom-light: #d0d993;
$custom-dark: #000000;
JSON
{
  "hex": "#bac965",
  "rgb": {
    "r": 186,
    "g": 201,
    "b": 101
  },
  "hsl": {
    "h": 69,
    "s": 48.077,
    "l": 59.216
  },
  "oklch": {
    "l": 0.80318,
    "c": 0.12651,
    "h": 116.4
  },
  "luminance": 0.53152
}

Semantic roles & 50–950 ramp

primary
#BAC965
secondary
#50468C
accent
#50D864
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14140D
muted
#83837F

Preview Lab

Preview with #BAC965

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

Preview Lab → · Contrast checker → · Palette generator →

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