#BAC45F#BAC45F

#BAC45F is a light, vivid yellow. Relative luminance 0.507; OKLCH L 79.1% C 0.126 H 114.0°. Best body text is #000000 at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#BAC45F
RGBrgb(186, 196, 95)
HSLhsl(66, 46%, 57%)
HSVhsv(66, 52%, 77%)
CMYKcmyk(5.1%, 0%, 51.5%, 23.1%)
CIE-LABlab(76.52, -17.81, 48.95)
CIE-LCHlch(76.52, 52.08, 109.99°)
OKLaboklab(79.14% -0.0513 0.1153)
OKLCHoklch(79.14% 0.126 114)
XYZxyz(42.0559, 50.7458, 18.4037)
Luminance0.5074 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC45F #695FC4
analogous
#C49C5F #BAC45F #87C45F
triadic
#BAC45F #5FBAC4 #C45FBA
tetradic
#BAC45F #5FC49C #695FC4 #C45F87
square
#BAC45F #5FC49C #695FC4 #C45F87
split-complementary
#BAC45F #5F87C4 #9C5FC4
monochromatic
#737B2D #9DA83E #BAC45F #CDD48C #E1E5B8

Accessibility & contrast

On white

1.88
#BAC45F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.15
#BAC45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC45F
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC45F#FFFFFF#000000##000000
##BAC45F1.001.8811.1511.15
#FFFFFF1.881.0021.0021.00
#00000011.1521.001.001.00
##00000011.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BC55
Deuteranopia (green-blind)
#D0BE64
Tritanopia (blue-blind)
#C4BAAD
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #bac45f;
/* rgb */ color: rgb(186, 196, 95);
/* oklch */ color: oklch(79.1% 0.126 114.0);
Tailwind
colors: {
  custom: {
    50: '#d1d58f',
    500: '#bac45f',
    950: '#000000',
  },
}
SCSS
$custom: #bac45f;
$custom-light: #d1d58f;
$custom-dark: #000000;
JSON
{
  "hex": "#bac45f",
  "rgb": {
    "r": 186,
    "g": 196,
    "b": 95
  },
  "hsl": {
    "h": 65.941,
    "s": 46.119,
    "l": 57.059
  },
  "oklch": {
    "l": 0.79144,
    "c": 0.12622,
    "h": 114
  },
  "luminance": 0.50745
}

Semantic roles & 50–950 ramp

primary
#BAC45F
secondary
#4A4384
accent
#52D65F
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14140D
muted
#83837F

Preview Lab

Preview with #BAC45F

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

Preview Lab → · Contrast checker → · Palette generator →

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