#BAC836#BAC836

#BAC836 is a light, vivid yellow. Relative luminance 0.520; OKLCH L 79.6% C 0.163 H 115.0°. Best body text is #000000 at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#BAC836
RGBrgb(186, 200, 54)
HSLhsl(66, 57%, 50%)
HSVhsv(66, 73%, 78%)
CMYKcmyk(7%, 0%, 73%, 21.6%)
CIE-LABlab(77.29, -22.57, 66.75)
CIE-LCHlch(77.29, 70.46, 108.69°)
OKLaboklab(79.65% -0.0687 0.1475)
OKLCHoklch(79.65% 0.163 115)
XYZxyz(41.5710, 52.0147, 11.3393)
Luminance0.5201 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC836 #4436C8
analogous
#C88D36 #BAC836 #71C836
triadic
#BAC836 #36BAC8 #C836BA
tetradic
#BAC836 #36C88D #4436C8 #C83671
square
#BAC836 #36C88D #4436C8 #C83671
split-complementary
#BAC836 #3671C8 #8D36C8
monochromatic
#60681C #8D9829 #BAC836 #CBD666 #DBE396

Accessibility & contrast

On white

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

On black

11.40
#BAC836 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC836
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC836#FFFFFF#000000##000000
##BAC8361.001.8411.4011.40
#FFFFFF1.841.0021.0021.00
#00000011.4021.001.001.00
##00000011.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE18
Deuteranopia (green-blind)
#D6C042
Tritanopia (blue-blind)
#C6BCAC
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #bac836;
/* rgb */ color: rgb(186, 200, 54);
/* oklch */ color: oklch(79.6% 0.163 115.0);
Tailwind
colors: {
  custom: {
    50: '#d2d878',
    500: '#bac836',
    950: '#000000',
  },
}
SCSS
$custom: #bac836;
$custom-light: #d2d878;
$custom-dark: #000000;
JSON
{
  "hex": "#bac836",
  "rgb": {
    "r": 186,
    "g": 200,
    "b": 54
  },
  "hsl": {
    "h": 65.753,
    "s": 57.48,
    "l": 49.804
  },
  "oklch": {
    "l": 0.79648,
    "c": 0.16278,
    "h": 115
  },
  "luminance": 0.52014
}

Semantic roles & 50–950 ramp

primary
#BAC836
secondary
#373072
accent
#47E156
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #BAC836

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

Preview Lab → · Contrast checker → · Palette generator →

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