#BAC839#BAC839

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

Color values

HEX#BAC839
RGBrgb(186, 200, 57)
HSLhsl(66, 57%, 50%)
HSVhsv(66, 72%, 78%)
CMYKcmyk(7%, 0%, 71.5%, 21.6%)
CIE-LABlab(77.31, -22.43, 65.73)
CIE-LCHlch(77.31, 69.45, 108.84°)
OKLaboklab(79.67% -0.0681 0.1459)
OKLCHoklch(79.67% 0.161 115)
XYZxyz(41.6436, 52.0438, 11.7218)
Luminance0.5204 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC839 #4739C8
analogous
#C88E39 #BAC839 #72C839
triadic
#BAC839 #39BAC8 #C839BA
tetradic
#BAC839 #39C88E #4739C8 #C83972
square
#BAC839 #39C88E #4739C8 #C83972
split-complementary
#BAC839 #3972C8 #8E39C8
monochromatic
#62691D #8E992B #BAC839 #CBD569 #DBE399

Accessibility & contrast

On white

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

On black

11.41
#BAC839 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC839
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC839#FFFFFF#000000##000000
##BAC8391.001.8411.4111.41
#FFFFFF1.841.0021.0021.00
#00000011.4121.001.001.00
##00000011.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bac839;
/* rgb */ color: rgb(186, 200, 57);
/* oklch */ color: oklch(79.7% 0.161 115.0);
Tailwind
colors: {
  custom: {
    50: '#d2d879',
    500: '#bac839',
    950: '#000000',
  },
}
SCSS
$custom: #bac839;
$custom-light: #d2d879;
$custom-dark: #000000;
JSON
{
  "hex": "#bac839",
  "rgb": {
    "r": 186,
    "g": 200,
    "b": 57
  },
  "hsl": {
    "h": 65.874,
    "s": 56.522,
    "l": 50.392
  },
  "oklch": {
    "l": 0.79668,
    "c": 0.161,
    "h": 115
  },
  "luminance": 0.52043
}

Semantic roles & 50–950 ramp

primary
#BAC839
secondary
#383273
accent
#48E057
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #BAC839

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

Preview Lab → · Contrast checker → · Palette generator →

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