#BAC140#BAC140

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

Color values

HEX#BAC140
RGBrgb(186, 193, 64)
HSLhsl(63, 51%, 50%)
HSVhsv(63, 67%, 76%)
CMYKcmyk(3.6%, 0%, 66.8%, 24.3%)
CIE-LABlab(75.42, -18.59, 61.26)
CIE-LCHlch(75.42, 64.02, 106.88°)
OKLaboklab(78.17% -0.0567 0.1376)
OKLCHoklch(78.17% 0.149 112.4)
XYZxyz(40.2463, 48.9501, 12.1777)
Luminance0.4895 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC140 #4740C1
analogous
#C18840 #BAC140 #79C140
triadic
#BAC140 #40BAC1 #C140BA
tetradic
#BAC140 #40C188 #4740C1 #C14079
square
#BAC140 #40C188 #4740C1 #C14079
split-complementary
#BAC140 #4079C1 #8840C1
monochromatic
#626621 #8E9430 #BAC140 #CBD06E #DBDF9C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAC140#FFFFFF#000000##000000
##BAC1401.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)
#CFB82D
Deuteranopia (green-blind)
#D0BB49
Tritanopia (blue-blind)
#C6B6A7
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #bac140;
/* rgb */ color: rgb(186, 193, 64);
/* oklch */ color: oklch(78.2% 0.149 112.4);
Tailwind
colors: {
  custom: {
    50: '#d2d37c',
    500: '#bac140',
    950: '#000000',
  },
}
SCSS
$custom: #bac140;
$custom-light: #d2d37c;
$custom-dark: #000000;
JSON
{
  "hex": "#bac140",
  "rgb": {
    "r": 186,
    "g": 193,
    "b": 64
  },
  "hsl": {
    "h": 63.256,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.78171,
    "c": 0.14886,
    "h": 112.4
  },
  "luminance": 0.48949
}

Semantic roles & 50–950 ramp

primary
#BAC140
secondary
#9592CB
accent
#4DDA55
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C

Preview Lab

Preview with #BAC140

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

Preview Lab → · Contrast checker → · Palette generator →

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