#BAC84C#BAC84C

#BAC84C is a light, vivid yellow. Relative luminance 0.523; OKLCH L 79.8% C 0.148 H 115.3°. Best body text is #000000 at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#BAC84C
RGBrgb(186, 200, 76)
HSLhsl(67, 53%, 54%)
HSVhsv(67, 62%, 78%)
CMYKcmyk(7%, 0%, 62%, 21.6%)
CIE-LABlab(77.44, -21.30, 58.50)
CIE-LCHlch(77.44, 62.26, 110.00°)
OKLaboklab(79.82% -0.0631 0.1336)
OKLCHoklch(79.82% 0.148 115.3)
XYZxyz(42.2094, 52.2701, 14.7017)
Luminance0.5227 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC84C #5A4CC8
analogous
#C8984C #BAC84C #7CC84C
triadic
#BAC84C #4CBAC8 #C84CBA
tetradic
#BAC84C #4CC898 #5A4CC8 #C84C7C
square
#BAC84C #4CC898 #5A4CC8 #C84C7C
split-complementary
#BAC84C #4C7CC8 #984CC8
monochromatic
#6C7524 #97A432 #BAC84C #CCD67B #DEE5AA

Accessibility & contrast

On white

1.83
#BAC84C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.45
#BAC84C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC84C
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC84C#FFFFFF#000000##000000
##BAC84C1.001.8311.4511.45
#FFFFFF1.831.0021.0021.00
#00000011.4521.001.001.00
##00000011.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE3D
Deuteranopia (green-blind)
#D4C054
Tritanopia (blue-blind)
#C5BDAE
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #bac84c;
/* rgb */ color: rgb(186, 200, 76);
/* oklch */ color: oklch(79.8% 0.148 115.3);
Tailwind
colors: {
  custom: {
    50: '#d1d883',
    500: '#bac84c',
    950: '#000000',
  },
}
SCSS
$custom: #bac84c;
$custom-light: #d1d883;
$custom-dark: #000000;
JSON
{
  "hex": "#bac84c",
  "rgb": {
    "r": 186,
    "g": 200,
    "b": 76
  },
  "hsl": {
    "h": 66.774,
    "s": 52.991,
    "l": 54.118
  },
  "oklch": {
    "l": 0.79819,
    "c": 0.14773,
    "h": 115.3
  },
  "luminance": 0.52269
}

Semantic roles & 50–950 ramp

primary
#BAC84C
secondary
#423A7E
accent
#4BDC5C
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #BAC84C

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

Preview Lab → · Contrast checker → · Palette generator →

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