#BAC142#BAC142

#BAC142 is a light, vivid yellow. Relative luminance 0.490; OKLCH L 78.2% C 0.147 H 112.4°. Best body text is #000000 at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#BAC142
RGBrgb(186, 193, 66)
HSLhsl(63, 51%, 51%)
HSVhsv(63, 66%, 76%)
CMYKcmyk(3.6%, 0%, 65.8%, 24.3%)
CIE-LABlab(75.43, -18.47, 60.49)
CIE-LCHlch(75.43, 63.25, 106.98°)
OKLaboklab(78.19% -0.0562 0.1363)
OKLCHoklch(78.19% 0.147 112.4)
XYZxyz(40.3042, 48.9733, 12.4828)
Luminance0.4897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC142 #4942C1
analogous
#C18842 #BAC142 #7AC142
triadic
#BAC142 #42BAC1 #C142BA
tetradic
#BAC142 #42C188 #4942C1 #C1427A
square
#BAC142 #42C188 #4942C1 #C1427A
split-complementary
#BAC142 #427AC1 #8842C1
monochromatic
#636722 #8F9531 #BAC142 #CBD070 #DCDF9E

Accessibility & contrast

On white

1.95
#BAC142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.79
#BAC142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC142
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC142#FFFFFF#000000##000000
##BAC1421.001.9510.7910.79
#FFFFFF1.951.0021.0021.00
#00000010.7921.001.001.00
##00000010.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bac142;
/* rgb */ color: rgb(186, 193, 66);
/* oklch */ color: oklch(78.2% 0.147 112.4);
Tailwind
colors: {
  custom: {
    50: '#d2d37d',
    500: '#bac142',
    950: '#000000',
  },
}
SCSS
$custom: #bac142;
$custom-light: #d2d37d;
$custom-dark: #000000;
JSON
{
  "hex": "#bac142",
  "rgb": {
    "r": 186,
    "g": 193,
    "b": 66
  },
  "hsl": {
    "h": 63.307,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.78187,
    "c": 0.14744,
    "h": 112.4
  },
  "luminance": 0.48972
}

Semantic roles & 50–950 ramp

primary
#BAC142
secondary
#9693CC
accent
#4EDA55
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C

Preview Lab

Preview with #BAC142

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

Preview Lab → · Contrast checker → · Palette generator →

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