#BAC132#BAC132

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

Color values

HEX#BAC132
RGBrgb(186, 193, 50)
HSLhsl(63, 59%, 48%)
HSVhsv(63, 74%, 76%)
CMYKcmyk(3.6%, 0%, 74.1%, 24.3%)
CIE-LABlab(75.33, -19.31, 66.23)
CIE-LCHlch(75.33, 68.99, 106.25°)
OKLaboklab(78.07% -0.06 0.1458)
OKLCHoklch(78.07% 0.158 112.4)
XYZxyz(39.8967, 48.8103, 10.3367)
Luminance0.4881 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC132 #3932C1
analogous
#C18032 #BAC132 #72C132
triadic
#BAC132 #32BAC1 #C132BA
tetradic
#BAC132 #32C180 #3932C1 #C13272
square
#BAC132 #32C180 #3932C1 #C13272
split-complementary
#BAC132 #3272C1 #8032C1
monochromatic
#5C6019 #8B9025 #BAC132 #CFD55C #DDE18C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAC132#FFFFFF#000000##000000
##BAC1321.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)
#D0B812
Deuteranopia (green-blind)
#D0BB3E
Tritanopia (blue-blind)
#C7B5A6
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #bac132;
/* rgb */ color: rgb(186, 193, 50);
/* oklch */ color: oklch(78.1% 0.158 112.4);
Tailwind
colors: {
  custom: {
    50: '#d2d375',
    500: '#bac132',
    950: '#000000',
  },
}
SCSS
$custom: #bac132;
$custom-light: #d2d375;
$custom-dark: #000000;
JSON
{
  "hex": "#bac132",
  "rgb": {
    "r": 186,
    "g": 193,
    "b": 50
  },
  "hsl": {
    "h": 62.937,
    "s": 58.848,
    "l": 47.647
  },
  "oklch": {
    "l": 0.78073,
    "c": 0.15763,
    "h": 112.4
  },
  "luminance": 0.48809
}

Semantic roles & 50–950 ramp

primary
#BAC132
secondary
#8783CB
accent
#46E24D
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151409
muted
#83827B

Preview Lab

Preview with #BAC132

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

Preview Lab → · Contrast checker → · Palette generator →

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