#BAC04E#BAC04E

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

Color values

HEX#BAC04E
RGBrgb(186, 192, 78)
HSLhsl(63, 48%, 53%)
HSVhsv(63, 59%, 75%)
CMYKcmyk(3.1%, 0%, 59.4%, 24.7%)
CIE-LABlab(75.26, -17.18, 55.27)
CIE-LCHlch(75.26, 57.88, 107.26°)
OKLaboklab(78.08% -0.0513 0.127)
OKLCHoklch(78.08% 0.137 112)
XYZxyz(40.4755, 48.6893, 14.4721)
Luminance0.4869 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC04E #544EC0
analogous
#C08D4E #BAC04E #81C04E
triadic
#BAC04E #4EBAC0 #C04EBA
tetradic
#BAC04E #4EC08D #544EC0 #C04E81
square
#BAC04E #4EC08D #544EC0 #C04E81
split-complementary
#BAC04E #4E81C0 #8D4EC0
monochromatic
#696D27 #959A37 #BAC04E #CCD07B #DDE0A8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAC04E#FFFFFF#000000##000000
##BAC04E1.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)
#CEB841
Deuteranopia (green-blind)
#CEBB55
Tritanopia (blue-blind)
#C6B5A8
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #bac04e;
/* rgb */ color: rgb(186, 192, 78);
/* oklch */ color: oklch(78.1% 0.137 112.0);
Tailwind
colors: {
  custom: {
    50: '#d1d284',
    500: '#bac04e',
    950: '#000000',
  },
}
SCSS
$custom: #bac04e;
$custom-light: #d1d284;
$custom-dark: #000000;
JSON
{
  "hex": "#bac04e",
  "rgb": {
    "r": 186,
    "g": 192,
    "b": 78
  },
  "hsl": {
    "h": 63.158,
    "s": 47.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.78077,
    "c": 0.13697,
    "h": 112
  },
  "luminance": 0.48688
}

Semantic roles & 50–950 ramp

primary
#BAC04E
secondary
#9F9CCE
accent
#51D758
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14140B
muted
#83827C

Preview Lab

Preview with #BAC04E

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

Preview Lab → · Contrast checker → · Palette generator →

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