#BAC334#BAC334

#BAC334 is a light, vivid yellow. Relative luminance 0.497; OKLCH L 78.5% C 0.159 H 113.1°. Best body text is #000000 at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#BAC334
RGBrgb(186, 195, 52)
HSLhsl(64, 58%, 48%)
HSVhsv(64, 73%, 76%)
CMYKcmyk(4.6%, 0%, 73.3%, 23.5%)
CIE-LABlab(75.90, -20.21, 66.10)
CIE-LCHlch(75.90, 69.12, 107.00°)
OKLaboklab(78.53% -0.0623 0.1458)
OKLCHoklch(78.53% 0.159 113.1)
XYZxyz(40.3859, 49.7181, 10.7173)
Luminance0.4972 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC334 #3D34C3
analogous
#C38434 #BAC334 #72C334
triadic
#BAC334 #34BAC3 #C334BA
tetradic
#BAC334 #34C384 #3D34C3 #C33472
square
#BAC334 #34C384 #3D34C3 #C33472
split-complementary
#BAC334 #3472C3 #8434C3
monochromatic
#5E621A #8C9327 #BAC334 #CDD560 #DCE190

Accessibility & contrast

On white

1.92
#BAC334 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.94
#BAC334 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC334
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC334#FFFFFF#000000##000000
##BAC3341.001.9210.9410.94
#FFFFFF1.921.0021.0021.00
#00000010.9421.001.001.00
##00000010.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA16
Deuteranopia (green-blind)
#D2BD40
Tritanopia (blue-blind)
#C7B7A8
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #bac334;
/* rgb */ color: rgb(186, 195, 52);
/* oklch */ color: oklch(78.5% 0.159 113.1);
Tailwind
colors: {
  custom: {
    50: '#d2d576',
    500: '#bac334',
    950: '#000000',
  },
}
SCSS
$custom: #bac334;
$custom-light: #d2d576;
$custom-dark: #000000;
JSON
{
  "hex": "#bac334",
  "rgb": {
    "r": 186,
    "g": 195,
    "b": 52
  },
  "hsl": {
    "h": 63.776,
    "s": 57.895,
    "l": 48.431
  },
  "oklch": {
    "l": 0.78528,
    "c": 0.1586,
    "h": 113.1
  },
  "luminance": 0.49717
}

Semantic roles & 50–950 ramp

primary
#BAC334
secondary
#8B87CC
accent
#47E150
background
#FDFDF7
surface
#FAFAEE
border
#D3D3C9
text
#151409
muted
#83837B

Preview Lab

Preview with #BAC334

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

Preview Lab → · Contrast checker → · Palette generator →

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