#BAC04F#BAC04F

#BAC04F is a light, vivid yellow. Relative luminance 0.487; OKLCH L 78.1% C 0.136 H 112.0°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#BAC04F
RGBrgb(186, 192, 79)
HSLhsl(63, 47%, 53%)
HSVhsv(63, 59%, 75%)
CMYKcmyk(3.1%, 0%, 58.9%, 24.7%)
CIE-LABlab(75.27, -17.11, 54.84)
CIE-LCHlch(75.27, 57.45, 107.32°)
OKLaboklab(78.09% -0.051 0.1262)
OKLCHoklch(78.09% 0.136 112)
XYZxyz(40.5116, 48.7038, 14.6623)
Luminance0.4870 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC04F #554FC0
analogous
#C08D4F #BAC04F #81C04F
triadic
#BAC04F #4FBAC0 #C04FBA
tetradic
#BAC04F #4FC08D #554FC0 #C04F81
square
#BAC04F #4FC08D #554FC0 #C04F81
split-complementary
#BAC04F #4F81C0 #8D4FC0
monochromatic
#6A6D27 #959A37 #BAC04F #CCD07C #DDE0A9

Accessibility & contrast

On white

1.96
#BAC04F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.74
#BAC04F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC04F
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC04F#FFFFFF#000000##000000
##BAC04F1.001.9610.7410.74
#FFFFFF1.961.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB842
Deuteranopia (green-blind)
#CEBB56
Tritanopia (blue-blind)
#C6B5A8
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #bac04f;
/* rgb */ color: rgb(186, 192, 79);
/* oklch */ color: oklch(78.1% 0.136 112.0);
Tailwind
colors: {
  custom: {
    50: '#d1d285',
    500: '#bac04f',
    950: '#000000',
  },
}
SCSS
$custom: #bac04f;
$custom-light: #d1d285;
$custom-dark: #000000;
JSON
{
  "hex": "#bac04f",
  "rgb": {
    "r": 186,
    "g": 192,
    "b": 79
  },
  "hsl": {
    "h": 63.186,
    "s": 47.28,
    "l": 53.137
  },
  "oklch": {
    "l": 0.78087,
    "c": 0.13613,
    "h": 112
  },
  "luminance": 0.48703
}

Semantic roles & 50–950 ramp

primary
#BAC04F
secondary
#A09DCE
accent
#51D758
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14140B
muted
#83827C

Preview Lab

Preview with #BAC04F

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

Preview Lab → · Contrast checker → · Palette generator →

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