#BAC239#BAC239

#BAC239 is a light, vivid yellow. Relative luminance 0.493; OKLCH L 78.3% C 0.155 H 112.8°. Best body text is #000000 at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#BAC239
RGBrgb(186, 194, 57)
HSLhsl(64, 55%, 49%)
HSVhsv(64, 71%, 76%)
CMYKcmyk(4.1%, 0%, 70.6%, 23.9%)
CIE-LABlab(75.65, -19.47, 64.12)
CIE-LCHlch(75.65, 67.01, 106.89°)
OKLaboklab(78.34% -0.0598 0.1425)
OKLCHoklch(78.34% 0.155 112.8)
XYZxyz(40.2812, 49.3190, 11.2677)
Luminance0.4932 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC239 #4139C2
analogous
#C28639 #BAC239 #75C239
triadic
#BAC239 #39BAC2 #C239BA
tetradic
#BAC239 #39C286 #4139C2 #C23975
square
#BAC239 #39C286 #4139C2 #C23975
split-complementary
#BAC239 #3975C2 #8639C2
monochromatic
#5F631D #8D932B #BAC239 #CCD266 #DCE095

Accessibility & contrast

On white

1.93
#BAC239 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.86
#BAC239 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC239
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC239#FFFFFF#000000##000000
##BAC2391.001.9310.8610.86
#FFFFFF1.931.0021.0021.00
#00000010.8621.001.001.00
##00000010.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B921
Deuteranopia (green-blind)
#D1BC44
Tritanopia (blue-blind)
#C6B6A7
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #bac239;
/* rgb */ color: rgb(186, 194, 57);
/* oklch */ color: oklch(78.3% 0.155 112.8);
Tailwind
colors: {
  custom: {
    50: '#d2d478',
    500: '#bac239',
    950: '#000000',
  },
}
SCSS
$custom: #bac239;
$custom-light: #d2d478;
$custom-dark: #000000;
JSON
{
  "hex": "#bac239",
  "rgb": {
    "r": 186,
    "g": 194,
    "b": 57
  },
  "hsl": {
    "h": 63.504,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.78339,
    "c": 0.15456,
    "h": 112.8
  },
  "luminance": 0.49318
}

Semantic roles & 50–950 ramp

primary
#BAC239
secondary
#8F8BCB
accent
#4ADE53
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#15140A
muted
#83827C

Preview Lab

Preview with #BAC239

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

Preview Lab → · Contrast checker → · Palette generator →

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