#BAC330#BAC330

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

Color values

HEX#BAC330
RGBrgb(186, 195, 48)
HSLhsl(64, 60%, 48%)
HSVhsv(64, 75%, 76%)
CMYKcmyk(4.6%, 0%, 75.4%, 23.5%)
CIE-LABlab(75.87, -20.38, 67.39)
CIE-LCHlch(75.87, 70.40, 106.83°)
OKLaboklab(78.5% -0.0632 0.1479)
OKLCHoklch(78.5% 0.161 113.1)
XYZxyz(40.2996, 49.6836, 10.2627)
Luminance0.4968 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC330 #3930C3
analogous
#C38230 #BAC330 #71C330
triadic
#BAC330 #30BAC3 #C330BA
tetradic
#BAC330 #30C382 #3930C3 #C33071
square
#BAC330 #30C382 #3930C3 #C33071
split-complementary
#BAC330 #3071C3 #8230C3
monochromatic
#5C6118 #8B9224 #BAC330 #CFD65A #DDE28B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAC330#FFFFFF#000000##000000
##BAC3301.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)
#D2BA0A
Deuteranopia (green-blind)
#D2BD3D
Tritanopia (blue-blind)
#C7B7A7
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #bac330;
/* rgb */ color: rgb(186, 195, 48);
/* oklch */ color: oklch(78.5% 0.161 113.1);
Tailwind
colors: {
  custom: {
    50: '#d2d574',
    500: '#bac330',
    950: '#000000',
  },
}
SCSS
$custom: #bac330;
$custom-light: #d2d574;
$custom-dark: #000000;
JSON
{
  "hex": "#bac330",
  "rgb": {
    "r": 186,
    "g": 195,
    "b": 48
  },
  "hsl": {
    "h": 63.673,
    "s": 60.494,
    "l": 47.647
  },
  "oklch": {
    "l": 0.78504,
    "c": 0.16078,
    "h": 113.1
  },
  "luminance": 0.49683
}

Semantic roles & 50–950 ramp

primary
#BAC330
secondary
#8782CC
accent
#44E44E
background
#FDFDF7
surface
#FAFAED
border
#D3D3C8
text
#151409
muted
#83837B

Preview Lab

Preview with #BAC330

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

Preview Lab → · Contrast checker → · Palette generator →

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