#BAC135#BAC135

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

Color values

HEX#BAC135
RGBrgb(186, 193, 53)
HSLhsl(63, 57%, 48%)
HSVhsv(63, 73%, 76%)
CMYKcmyk(3.6%, 0%, 72.5%, 24.3%)
CIE-LABlab(75.35, -19.17, 65.24)
CIE-LCHlch(75.35, 68.00, 106.37°)
OKLaboklab(78.09% -0.0594 0.1442)
OKLCHoklch(78.09% 0.156 112.4)
XYZxyz(39.9635, 48.8370, 10.6888)
Luminance0.4884 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC135 #3C35C1
analogous
#C18235 #BAC135 #74C135
triadic
#BAC135 #35BAC1 #C135BA
tetradic
#BAC135 #35C182 #3C35C1 #C13574
square
#BAC135 #35C182 #3C35C1 #C13574
split-complementary
#BAC135 #3574C1 #8235C1
monochromatic
#5D611B #8C9128 #BAC135 #CED360 #DCE090

Accessibility & contrast

On white

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

On black

10.77
#BAC135 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC135
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC135#FFFFFF#000000##000000
##BAC1351.001.9510.7710.77
#FFFFFF1.951.0021.0021.00
#00000010.7721.001.001.00
##00000010.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B819
Deuteranopia (green-blind)
#D0BB40
Tritanopia (blue-blind)
#C7B5A6
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #bac135;
/* rgb */ color: rgb(186, 193, 53);
/* oklch */ color: oklch(78.1% 0.156 112.4);
Tailwind
colors: {
  custom: {
    50: '#d2d376',
    500: '#bac135',
    950: '#000000',
  },
}
SCSS
$custom: #bac135;
$custom-light: #d2d376;
$custom-dark: #000000;
JSON
{
  "hex": "#bac135",
  "rgb": {
    "r": 186,
    "g": 193,
    "b": 53
  },
  "hsl": {
    "h": 63,
    "s": 56.911,
    "l": 48.235
  },
  "oklch": {
    "l": 0.78092,
    "c": 0.15593,
    "h": 112.4
  },
  "luminance": 0.48836
}

Semantic roles & 50–950 ramp

primary
#BAC135
secondary
#8A87CB
accent
#48E04F
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#151409
muted
#83827B

Preview Lab

Preview with #BAC135

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

Preview Lab → · Contrast checker → · Palette generator →

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