#BAC254#BAC254

#BAC254 is a light, vivid yellow. Relative luminance 0.497; OKLCH L 78.6% C 0.134 H 112.9°. Best body text is #000000 at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#BAC254
RGBrgb(186, 194, 84)
HSLhsl(64, 47%, 55%)
HSVhsv(64, 57%, 76%)
CMYKcmyk(4.1%, 0%, 56.7%, 23.9%)
CIE-LABlab(75.86, -17.73, 53.27)
CIE-LCHlch(75.86, 56.15, 108.41°)
OKLaboklab(78.58% -0.0522 0.1235)
OKLCHoklch(78.58% 0.134 112.9)
XYZxyz(41.1426, 49.6635, 15.8045)
Luminance0.4966 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC254 #5C54C2
analogous
#C29354 #BAC254 #83C254
triadic
#BAC254 #54BAC2 #C254BA
tetradic
#BAC254 #54C293 #5C54C2 #C25483
square
#BAC254 #54C293 #5C54C2 #C25483
split-complementary
#BAC254 #5483C2 #9354C2
monochromatic
#6D7329 #98A039 #BAC254 #CCD281 #DEE2AE

Accessibility & contrast

On white

1.92
#BAC254 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.93
#BAC254 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC254
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC254#FFFFFF#000000##000000
##BAC2541.001.9210.9310.93
#FFFFFF1.921.0021.0021.00
#00000010.9321.001.001.00
##00000010.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBA48
Deuteranopia (green-blind)
#CFBC5A
Tritanopia (blue-blind)
#C5B8AA
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #bac254;
/* rgb */ color: rgb(186, 194, 84);
/* oklch */ color: oklch(78.6% 0.134 112.9);
Tailwind
colors: {
  custom: {
    50: '#d1d488',
    500: '#bac254',
    950: '#000000',
  },
}
SCSS
$custom: #bac254;
$custom-light: #d1d488;
$custom-dark: #000000;
JSON
{
  "hex": "#bac254",
  "rgb": {
    "r": 186,
    "g": 194,
    "b": 84
  },
  "hsl": {
    "h": 64.364,
    "s": 47.414,
    "l": 54.51
  },
  "oklch": {
    "l": 0.78578,
    "c": 0.13408,
    "h": 112.9
  },
  "luminance": 0.49663
}

Semantic roles & 50–950 ramp

primary
#BAC254
secondary
#A5A2D0
accent
#51D75B
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#14140C
muted
#83827D

Preview Lab

Preview with #BAC254

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

Preview Lab → · Contrast checker → · Palette generator →

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