#BAC24F#BAC24F

#BAC24F is a light, vivid yellow. Relative luminance 0.496; OKLCH L 78.5% C 0.138 H 112.9°. Best body text is #000000 at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#BAC24F
RGBrgb(186, 194, 79)
HSLhsl(64, 49%, 54%)
HSVhsv(64, 59%, 76%)
CMYKcmyk(4.1%, 0%, 59.3%, 23.9%)
CIE-LABlab(75.82, -18.11, 55.45)
CIE-LCHlch(75.82, 58.33, 108.09°)
OKLaboklab(78.53% -0.0538 0.1275)
OKLCHoklch(78.53% 0.138 112.9)
XYZxyz(40.9538, 49.5880, 14.8097)
Luminance0.4959 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC24F #574FC2
analogous
#C2904F #BAC24F #80C24F
triadic
#BAC24F #4FBAC2 #C24FBA
tetradic
#BAC24F #4FC290 #574FC2 #C24F80
square
#BAC24F #4FC290 #574FC2 #C24F80
split-complementary
#BAC24F #4F80C2 #904FC2
monochromatic
#6B7027 #969D37 #BAC24F #CCD27C #DEE2AA

Accessibility & contrast

On white

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

On black

10.92
#BAC24F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC24F
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC24F#FFFFFF#000000##000000
##BAC24F1.001.9210.9210.92
#FFFFFF1.921.0021.0021.00
#00000010.9221.001.001.00
##00000010.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBA42
Deuteranopia (green-blind)
#CFBC56
Tritanopia (blue-blind)
#C5B7A9
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #bac24f;
/* rgb */ color: rgb(186, 194, 79);
/* oklch */ color: oklch(78.5% 0.138 112.9);
Tailwind
colors: {
  custom: {
    50: '#d1d485',
    500: '#bac24f',
    950: '#000000',
  },
}
SCSS
$custom: #bac24f;
$custom-light: #d1d485;
$custom-dark: #000000;
JSON
{
  "hex": "#bac24f",
  "rgb": {
    "r": 186,
    "g": 194,
    "b": 79
  },
  "hsl": {
    "h": 64.174,
    "s": 48.523,
    "l": 53.529
  },
  "oklch": {
    "l": 0.78526,
    "c": 0.13839,
    "h": 112.9
  },
  "luminance": 0.49587
}

Semantic roles & 50–950 ramp

primary
#BAC24F
secondary
#A19ECF
accent
#50D859
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14140B
muted
#83827C

Preview Lab

Preview with #BAC24F

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

Preview Lab → · Contrast checker → · Palette generator →

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