#BAC130#BAC130

#BAC130 is a light, vivid yellow. Relative luminance 0.488; OKLCH L 78.1% C 0.159 H 112.4°. Best body text is #000000 at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#BAC130
RGBrgb(186, 193, 48)
HSLhsl(63, 60%, 47%)
HSVhsv(63, 75%, 76%)
CMYKcmyk(3.6%, 0%, 75.1%, 24.3%)
CIE-LABlab(75.32, -19.39, 66.87)
CIE-LCHlch(75.32, 69.63, 106.17°)
OKLaboklab(78.06% -0.0604 0.1468)
OKLCHoklch(78.06% 0.159 112.4)
XYZxyz(39.8545, 48.7934, 10.1144)
Luminance0.4879 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC130 #3730C1
analogous
#C18030 #BAC130 #71C130
triadic
#BAC130 #30BAC1 #C130BA
tetradic
#BAC130 #30C180 #3730C1 #C13071
square
#BAC130 #30C180 #3730C1 #C13071
split-complementary
#BAC130 #3071C1 #8030C1
monochromatic
#5C5F18 #8B9024 #BAC130 #D0D659 #DEE28A

Accessibility & contrast

On white

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

On black

10.76
#BAC130 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC130
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC130#FFFFFF#000000##000000
##BAC1301.001.9510.7610.76
#FFFFFF1.951.0021.0021.00
#00000010.7621.001.001.00
##00000010.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B80C
Deuteranopia (green-blind)
#D0BB3C
Tritanopia (blue-blind)
#C7B5A6
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #bac130;
/* rgb */ color: rgb(186, 193, 48);
/* oklch */ color: oklch(78.1% 0.159 112.4);
Tailwind
colors: {
  custom: {
    50: '#d2d374',
    500: '#bac130',
    950: '#000000',
  },
}
SCSS
$custom: #bac130;
$custom-light: #d2d374;
$custom-dark: #000000;
JSON
{
  "hex": "#bac130",
  "rgb": {
    "r": 186,
    "g": 193,
    "b": 48
  },
  "hsl": {
    "h": 62.897,
    "s": 60.166,
    "l": 47.255
  },
  "oklch": {
    "l": 0.78062,
    "c": 0.15872,
    "h": 112.4
  },
  "luminance": 0.48792
}

Semantic roles & 50–950 ramp

primary
#BAC130
secondary
#8581CC
accent
#44E34C
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151409
muted
#83827B

Preview Lab

Preview with #BAC130

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

Preview Lab → · Contrast checker → · Palette generator →

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