#BAC733#BAC733

#BAC733 is a light, vivid yellow. Relative luminance 0.515; OKLCH L 79.4% C 0.163 H 114.6°. Best body text is #000000 at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#BAC733
RGBrgb(186, 199, 51)
HSLhsl(65, 59%, 49%)
HSVhsv(65, 74%, 78%)
CMYKcmyk(6.5%, 0%, 74.4%, 22%)
CIE-LABlab(77.00, -22.22, 67.47)
CIE-LCHlch(77.00, 71.03, 108.23°)
OKLaboklab(79.41% -0.068 0.1485)
OKLCHoklch(79.41% 0.163 114.6)
XYZxyz(41.2719, 51.5257, 10.9026)
Luminance0.5152 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC733 #4033C7
analogous
#C78A33 #BAC733 #70C733
triadic
#BAC733 #33BAC7 #C733BA
tetradic
#BAC733 #33C78A #4033C7 #C73370
square
#BAC733 #33C78A #4033C7 #C73370
split-complementary
#BAC733 #3370C7 #8A33C7
monochromatic
#5F661A #8C9627 #BAC733 #CCD661 #DCE391

Accessibility & contrast

On white

1.86
#BAC733 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.31
#BAC733 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC733
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC733#FFFFFF#000000##000000
##BAC7331.001.8611.3111.31
#FFFFFF1.861.0021.0021.00
#00000011.3121.001.001.00
##00000011.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BD11
Deuteranopia (green-blind)
#D5BF40
Tritanopia (blue-blind)
#C6BBAB
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #bac733;
/* rgb */ color: rgb(186, 199, 51);
/* oklch */ color: oklch(79.4% 0.163 114.6);
Tailwind
colors: {
  custom: {
    50: '#d2d776',
    500: '#bac733',
    950: '#000000',
  },
}
SCSS
$custom: #bac733;
$custom-light: #d2d776;
$custom-dark: #000000;
JSON
{
  "hex": "#bac733",
  "rgb": {
    "r": 186,
    "g": 199,
    "b": 51
  },
  "hsl": {
    "h": 65.27,
    "s": 59.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.79408,
    "c": 0.16338,
    "h": 114.6
  },
  "luminance": 0.51525
}

Semantic roles & 50–950 ramp

primary
#BAC733
secondary
#342E70
accent
#45E253
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #BAC733

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

Preview Lab → · Contrast checker → · Palette generator →

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