#BAC633#BAC633

#BAC633 is a light, vivid yellow. Relative luminance 0.511; OKLCH L 79.2% C 0.162 H 114.2°. Best body text is #000000 at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#BAC633
RGBrgb(186, 198, 51)
HSLhsl(65, 59%, 49%)
HSVhsv(65, 74%, 78%)
CMYKcmyk(6.1%, 0%, 74.2%, 22.4%)
CIE-LABlab(76.72, -21.73, 67.21)
CIE-LCHlch(76.72, 70.63, 107.92°)
OKLaboklab(79.19% -0.0667 0.148)
OKLCHoklch(79.19% 0.162 114.2)
XYZxyz(41.0425, 51.0671, 10.8262)
Luminance0.5107 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC633 #3F33C6
analogous
#C68933 #BAC633 #71C633
triadic
#BAC633 #33BAC6 #C633BA
tetradic
#BAC633 #33C689 #3F33C6 #C63371
square
#BAC633 #33C689 #3F33C6 #C63371
split-complementary
#BAC633 #3371C6 #8933C6
monochromatic
#5F651A #8C9526 #BAC633 #CCD660 #DCE391

Accessibility & contrast

On white

1.87
#BAC633 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.21
#BAC633 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC633
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC633#FFFFFF#000000##000000
##BAC6331.001.8711.2111.21
#FFFFFF1.871.0021.0021.00
#00000011.2121.001.001.00
##00000011.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BC11
Deuteranopia (green-blind)
#D4BF40
Tritanopia (blue-blind)
#C6BAAA
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #bac633;
/* rgb */ color: rgb(186, 198, 51);
/* oklch */ color: oklch(79.2% 0.162 114.2);
Tailwind
colors: {
  custom: {
    50: '#d2d776',
    500: '#bac633',
    950: '#000000',
  },
}
SCSS
$custom: #bac633;
$custom-light: #d2d776;
$custom-dark: #000000;
JSON
{
  "hex": "#bac633",
  "rgb": {
    "r": 186,
    "g": 198,
    "b": 51
  },
  "hsl": {
    "h": 64.898,
    "s": 59.036,
    "l": 48.824
  },
  "oklch": {
    "l": 0.79186,
    "c": 0.16232,
    "h": 114.2
  },
  "luminance": 0.51066
}

Semantic roles & 50–950 ramp

primary
#BAC633
secondary
#332E6F
accent
#46E252
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #BAC633

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

Preview Lab → · Contrast checker → · Palette generator →

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