#BAC954#BAC954

#BAC954 is a light, vivid yellow. Relative luminance 0.529; OKLCH L 80.1% C 0.142 H 115.8°. Best body text is #000000 at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#BAC954
RGBrgb(186, 201, 84)
HSLhsl(68, 52%, 56%)
HSVhsv(68, 58%, 79%)
CMYKcmyk(7.5%, 0%, 58.2%, 21.2%)
CIE-LABlab(77.79, -21.21, 55.43)
CIE-LCHlch(77.79, 59.35, 110.94°)
OKLaboklab(80.12% -0.062 0.1281)
OKLCHoklch(80.12% 0.142 115.8)
XYZxyz(42.7374, 52.8531, 16.3361)
Luminance0.5285 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC954 #6354C9
analogous
#C99D54 #BAC954 #7FC954
triadic
#BAC954 #54BAC9 #C954BA
tetradic
#BAC954 #54C99D #6354C9 #C9547F
square
#BAC954 #54C99D #6354C9 #C9547F
split-complementary
#BAC954 #547FC9 #9D54C9
monochromatic
#717C27 #9BAA36 #BAC954 #CDD883 #E0E6B1

Accessibility & contrast

On white

1.81
#BAC954 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.57
#BAC954 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC954
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC954#FFFFFF#000000##000000
##BAC9541.001.8111.5711.57
#FFFFFF1.811.0021.0021.00
#00000011.5721.001.001.00
##00000011.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C047
Deuteranopia (green-blind)
#D5C15B
Tritanopia (blue-blind)
#C5BFB0
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #bac954;
/* rgb */ color: rgb(186, 201, 84);
/* oklch */ color: oklch(80.1% 0.142 115.8);
Tailwind
colors: {
  custom: {
    50: '#d1d988',
    500: '#bac954',
    950: '#000000',
  },
}
SCSS
$custom: #bac954;
$custom-light: #d1d988;
$custom-dark: #000000;
JSON
{
  "hex": "#bac954",
  "rgb": {
    "r": 186,
    "g": 201,
    "b": 84
  },
  "hsl": {
    "h": 67.692,
    "s": 52,
    "l": 55.882
  },
  "oklch": {
    "l": 0.80119,
    "c": 0.14231,
    "h": 115.8
  },
  "luminance": 0.52852
}

Semantic roles & 50–950 ramp

primary
#BAC954
secondary
#463D84
accent
#4CDB5F
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14140C
muted
#83837F

Preview Lab

Preview with #BAC954

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

Preview Lab → · Contrast checker → · Palette generator →

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