#BAC862#BAC862

#BAC862 is a light, vivid yellow. Relative luminance 0.526; OKLCH L 80.1% C 0.128 H 115.8°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#BAC862
RGBrgb(186, 200, 98)
HSLhsl(68, 48%, 58%)
HSVhsv(68, 51%, 78%)
CMYKcmyk(7%, 0%, 51%, 21.6%)
CIE-LABlab(77.66, -19.53, 48.86)
CIE-LCHlch(77.66, 52.61, 111.79°)
OKLaboklab(80.06% -0.0559 0.1154)
OKLCHoklch(80.06% 0.128 115.8)
XYZxyz(43.1092, 52.6300, 19.4405)
Luminance0.5263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC862 #7062C8
analogous
#C8A362 #BAC862 #87C862
triadic
#BAC862 #62BAC8 #C862BA
tetradic
#BAC862 #62C8A3 #7062C8 #C86287
square
#BAC862 #62C8A3 #7062C8 #C86287
split-complementary
#BAC862 #6287C8 #A362C8
monochromatic
#76822E #A0AF3D #BAC862 #CED88F #E2E8BD

Accessibility & contrast

On white

1.82
#BAC862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.53
#BAC862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC862
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC862#FFFFFF#000000##000000
##BAC8621.001.8211.5311.53
#FFFFFF1.821.0021.0021.00
#00000011.5321.001.001.00
##00000011.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BF59
Deuteranopia (green-blind)
#D3C168
Tritanopia (blue-blind)
#C4BEB1
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #bac862;
/* rgb */ color: rgb(186, 200, 98);
/* oklch */ color: oklch(80.1% 0.128 115.8);
Tailwind
colors: {
  custom: {
    50: '#d1d891',
    500: '#bac862',
    950: '#000000',
  },
}
SCSS
$custom: #bac862;
$custom-light: #d1d891;
$custom-dark: #000000;
JSON
{
  "hex": "#bac862",
  "rgb": {
    "r": 186,
    "g": 200,
    "b": 98
  },
  "hsl": {
    "h": 68.235,
    "s": 48.113,
    "l": 58.431
  },
  "oklch": {
    "l": 0.8006,
    "c": 0.12822,
    "h": 115.8
  },
  "luminance": 0.52629
}

Semantic roles & 50–950 ramp

primary
#BAC862
secondary
#4E448A
accent
#50D863
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14140D
muted
#83837F

Preview Lab

Preview with #BAC862

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

Preview Lab → · Contrast checker → · Palette generator →

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