#BAC039#BAC039

#BAC039 is a light, vivid yellow. Relative luminance 0.484; OKLCH L 77.9% C 0.152 H 112.0°. Best body text is #000000 at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#BAC039
RGBrgb(186, 192, 57)
HSLhsl(63, 54%, 49%)
HSVhsv(63, 70%, 75%)
CMYKcmyk(3.1%, 0%, 70.3%, 24.7%)
CIE-LABlab(75.10, -18.47, 63.58)
CIE-LCHlch(75.10, 66.21, 106.20°)
OKLaboklab(77.9% -0.057 0.1414)
OKLCHoklch(77.9% 0.152 112)
XYZxyz(39.8391, 48.4347, 11.1203)
Luminance0.4843 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC039 #3F39C0
analogous
#C08339 #BAC039 #77C039
triadic
#BAC039 #39BAC0 #C039BA
tetradic
#BAC039 #39C083 #3F39C0 #C03977
square
#BAC039 #39C083 #3F39C0 #C03977
split-complementary
#BAC039 #3977C0 #8339C0
monochromatic
#5F621D #8C912B #BAC039 #CCD165 #DCDF94

Accessibility & contrast

On white

1.97
#BAC039 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.69
#BAC039 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC039
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC039#FFFFFF#000000##000000
##BAC0391.001.9710.6910.69
#FFFFFF1.971.0021.0021.00
#00000010.6921.001.001.00
##00000010.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB722
Deuteranopia (green-blind)
#CFBA43
Tritanopia (blue-blind)
#C7B4A6
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #bac039;
/* rgb */ color: rgb(186, 192, 57);
/* oklch */ color: oklch(77.9% 0.152 112.0);
Tailwind
colors: {
  custom: {
    50: '#d2d278',
    500: '#bac039',
    950: '#000000',
  },
}
SCSS
$custom: #bac039;
$custom-light: #d2d278;
$custom-dark: #000000;
JSON
{
  "hex": "#bac039",
  "rgb": {
    "r": 186,
    "g": 192,
    "b": 57
  },
  "hsl": {
    "h": 62.667,
    "s": 54.217,
    "l": 48.824
  },
  "oklch": {
    "l": 0.77898,
    "c": 0.15245,
    "h": 112
  },
  "luminance": 0.48434
}

Semantic roles & 50–950 ramp

primary
#BAC039
secondary
#8D8ACB
accent
#4ADE51
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#151409
muted
#83827B

Preview Lab

Preview with #BAC039

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

Preview Lab → · Contrast checker → · Palette generator →

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