#BAC050#BAC050

#BAC050 is a light, vivid yellow. Relative luminance 0.487; OKLCH L 78.1% C 0.135 H 112.0°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#BAC050
RGBrgb(186, 192, 80)
HSLhsl(63, 47%, 53%)
HSVhsv(63, 58%, 75%)
CMYKcmyk(3.1%, 0%, 58.3%, 24.7%)
CIE-LABlab(75.28, -17.03, 54.41)
CIE-LCHlch(75.28, 57.01, 107.38°)
OKLaboklab(78.1% -0.0506 0.1254)
OKLCHoklch(78.1% 0.135 112)
XYZxyz(40.5483, 48.7184, 14.8554)
Luminance0.4872 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC050 #5650C0
analogous
#C08E50 #BAC050 #82C050
triadic
#BAC050 #50BAC0 #C050BA
tetradic
#BAC050 #50C08E #5650C0 #C05082
square
#BAC050 #50C08E #5650C0 #C05082
split-complementary
#BAC050 #5082C0 #8E50C0
monochromatic
#6A6E28 #969B38 #BAC050 #CCD07D #DDE0AA

Accessibility & contrast

On white

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

On black

10.74
#BAC050 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC050
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC050#FFFFFF#000000##000000
##BAC0501.001.9510.7410.74
#FFFFFF1.951.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB844
Deuteranopia (green-blind)
#CEBB57
Tritanopia (blue-blind)
#C6B5A8
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #bac050;
/* rgb */ color: rgb(186, 192, 80);
/* oklch */ color: oklch(78.1% 0.135 112.0);
Tailwind
colors: {
  custom: {
    50: '#d1d285',
    500: '#bac050',
    950: '#000000',
  },
}
SCSS
$custom: #bac050;
$custom-light: #d1d285;
$custom-dark: #000000;
JSON
{
  "hex": "#bac050",
  "rgb": {
    "r": 186,
    "g": 192,
    "b": 80
  },
  "hsl": {
    "h": 63.214,
    "s": 47.059,
    "l": 53.333
  },
  "oklch": {
    "l": 0.78097,
    "c": 0.13528,
    "h": 112
  },
  "luminance": 0.48718
}

Semantic roles & 50–950 ramp

primary
#BAC050
secondary
#A09ECE
accent
#51D758
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#14140B
muted
#83827C

Preview Lab

Preview with #BAC050

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

Preview Lab → · Contrast checker → · Palette generator →

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