#BAC131#BAC131

#BAC131 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#BAC131
RGBrgb(186, 193, 49)
HSLhsl(63, 60%, 47%)
HSVhsv(63, 75%, 76%)
CMYKcmyk(3.6%, 0%, 74.6%, 24.3%)
CIE-LABlab(75.33, -19.35, 66.56)
CIE-LCHlch(75.33, 69.31, 106.21°)
OKLaboklab(78.07% -0.0602 0.1463)
OKLCHoklch(78.07% 0.158 112.4)
XYZxyz(39.8753, 48.8017, 10.2243)
Luminance0.4880 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC131 #3831C1
analogous
#C18031 #BAC131 #72C131
triadic
#BAC131 #31BAC1 #C131BA
tetradic
#BAC131 #31C180 #3831C1 #C13172
square
#BAC131 #31C180 #3831C1 #C13172
split-complementary
#BAC131 #3172C1 #8031C1
monochromatic
#5C5F18 #8B9025 #BAC131 #CFD55A #DDE28B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAC131#FFFFFF#000000##000000
##BAC1311.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)
#D0B80F
Deuteranopia (green-blind)
#D0BB3D
Tritanopia (blue-blind)
#C7B5A6
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #bac131;
/* rgb */ color: rgb(186, 193, 49);
/* oklch */ color: oklch(78.1% 0.158 112.4);
Tailwind
colors: {
  custom: {
    50: '#d2d374',
    500: '#bac131',
    950: '#000000',
  },
}
SCSS
$custom: #bac131;
$custom-light: #d2d374;
$custom-dark: #000000;
JSON
{
  "hex": "#bac131",
  "rgb": {
    "r": 186,
    "g": 193,
    "b": 49
  },
  "hsl": {
    "h": 62.917,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.78067,
    "c": 0.15818,
    "h": 112.4
  },
  "luminance": 0.48801
}

Semantic roles & 50–950 ramp

primary
#BAC131
secondary
#8682CC
accent
#45E34D
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151409
muted
#83827B

Preview Lab

Preview with #BAC131

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

Preview Lab → · Contrast checker → · Palette generator →

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