#BAC63A#BAC63A

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

Color values

HEX#BAC63A
RGBrgb(186, 198, 58)
HSLhsl(65, 55%, 50%)
HSVhsv(65, 71%, 78%)
CMYKcmyk(6.1%, 0%, 70.7%, 22.4%)
CIE-LABlab(76.76, -21.40, 64.84)
CIE-LCHlch(76.76, 68.28, 108.26°)
OKLaboklab(79.23% -0.0651 0.1442)
OKLCHoklch(79.23% 0.158 114.3)
XYZxyz(41.2087, 51.1335, 11.7011)
Luminance0.5113 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC63A #463AC6
analogous
#C68C3A #BAC63A #74C63A
triadic
#BAC63A #3ABAC6 #C63ABA
tetradic
#BAC63A #3AC68C #463AC6 #C63A74
square
#BAC63A #3AC68C #463AC6 #C63A74
split-complementary
#BAC63A #3A74C6 #8C3AC6
monochromatic
#61681E #8E972C #BAC63A #CBD469 #DBE199

Accessibility & contrast

On white

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

On black

11.23
#BAC63A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC63A
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC63A#FFFFFF#000000##000000
##BAC63A1.001.8711.2311.23
#FFFFFF1.871.0021.0021.00
#00000011.2321.001.001.00
##00000011.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC21
Deuteranopia (green-blind)
#D4BF45
Tritanopia (blue-blind)
#C6BAAB
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #bac63a;
/* rgb */ color: rgb(186, 198, 58);
/* oklch */ color: oklch(79.2% 0.158 114.3);
Tailwind
colors: {
  custom: {
    50: '#d2d779',
    500: '#bac63a',
    950: '#000000',
  },
}
SCSS
$custom: #bac63a;
$custom-light: #d2d779;
$custom-dark: #000000;
JSON
{
  "hex": "#bac63a",
  "rgb": {
    "r": 186,
    "g": 198,
    "b": 58
  },
  "hsl": {
    "h": 65.143,
    "s": 55.118,
    "l": 50.196
  },
  "oklch": {
    "l": 0.79231,
    "c": 0.15822,
    "h": 114.3
  },
  "luminance": 0.51133
}

Semantic roles & 50–950 ramp

primary
#BAC63A
secondary
#383272
accent
#49DE56
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #BAC63A

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

Preview Lab → · Contrast checker → · Palette generator →

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