#BAC84F#BAC84F

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

Color values

HEX#BAC84F
RGBrgb(186, 200, 79)
HSLhsl(67, 52%, 55%)
HSVhsv(67, 61%, 78%)
CMYKcmyk(7%, 0%, 60.5%, 21.6%)
CIE-LABlab(77.47, -21.09, 57.26)
CIE-LCHlch(77.47, 61.01, 110.22°)
OKLaboklab(79.85% -0.0622 0.1314)
OKLCHoklch(79.85% 0.145 115.3)
XYZxyz(42.3162, 52.3128, 15.2638)
Luminance0.5231 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC84F #5D4FC8
analogous
#C8994F #BAC84F #7EC84F
triadic
#BAC84F #4FBAC8 #C84FBA
tetradic
#BAC84F #4FC899 #5D4FC8 #C84F7E
square
#BAC84F #4FC899 #5D4FC8 #C84F7E
split-complementary
#BAC84F #4F7EC8 #994FC8
monochromatic
#6E7725 #99A634 #BAC84F #CCD77E #DFE5AC

Accessibility & contrast

On white

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

On black

11.46
#BAC84F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC84F
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC84F#FFFFFF#000000##000000
##BAC84F1.001.8311.4611.46
#FFFFFF1.831.0021.0021.00
#00000011.4621.001.001.00
##00000011.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bac84f;
/* rgb */ color: rgb(186, 200, 79);
/* oklch */ color: oklch(79.8% 0.145 115.3);
Tailwind
colors: {
  custom: {
    50: '#d1d885',
    500: '#bac84f',
    950: '#000000',
  },
}
SCSS
$custom: #bac84f;
$custom-light: #d1d885;
$custom-dark: #000000;
JSON
{
  "hex": "#bac84f",
  "rgb": {
    "r": 186,
    "g": 200,
    "b": 79
  },
  "hsl": {
    "h": 66.942,
    "s": 52.381,
    "l": 54.706
  },
  "oklch": {
    "l": 0.79848,
    "c": 0.14532,
    "h": 115.3
  },
  "luminance": 0.52312
}

Semantic roles & 50–950 ramp

primary
#BAC84F
secondary
#433B80
accent
#4CDC5D
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #BAC84F

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

Preview Lab → · Contrast checker → · Palette generator →

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