#BAC241#BAC241

#BAC241 is a light, vivid yellow. Relative luminance 0.494; OKLCH L 78.4% C 0.149 H 112.8°. Best body text is #000000 at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#BAC241
RGBrgb(186, 194, 65)
HSLhsl(64, 51%, 51%)
HSVhsv(64, 66%, 76%)
CMYKcmyk(4.1%, 0%, 66.5%, 23.9%)
CIE-LABlab(75.70, -19.03, 61.16)
CIE-LCHlch(75.70, 64.05, 107.29°)
OKLaboklab(78.4% -0.0578 0.1376)
OKLCHoklch(78.4% 0.149 112.8)
XYZxyz(40.4968, 49.4052, 12.4029)
Luminance0.4940 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC241 #4941C2
analogous
#C28941 #BAC241 #79C241
triadic
#BAC241 #41BAC2 #C241BA
tetradic
#BAC241 #41C289 #4941C2 #C24179
square
#BAC241 #41C289 #4941C2 #C24179
split-complementary
#BAC241 #4179C2 #8941C2
monochromatic
#636721 #8F9630 #BAC241 #CBD16F #DCE09E

Accessibility & contrast

On white

1.93
#BAC241 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.88
#BAC241 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC241
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC241#FFFFFF#000000##000000
##BAC2411.001.9310.8810.88
#FFFFFF1.931.0021.0021.00
#00000010.8821.001.001.00
##00000010.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B92E
Deuteranopia (green-blind)
#D0BC4A
Tritanopia (blue-blind)
#C6B7A8
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #bac241;
/* rgb */ color: rgb(186, 194, 65);
/* oklch */ color: oklch(78.4% 0.149 112.8);
Tailwind
colors: {
  custom: {
    50: '#d2d47d',
    500: '#bac241',
    950: '#000000',
  },
}
SCSS
$custom: #bac241;
$custom-light: #d2d47d;
$custom-dark: #000000;
JSON
{
  "hex": "#bac241",
  "rgb": {
    "r": 186,
    "g": 194,
    "b": 65
  },
  "hsl": {
    "h": 63.721,
    "s": 51.394,
    "l": 50.784
  },
  "oklch": {
    "l": 0.78399,
    "c": 0.14924,
    "h": 112.8
  },
  "luminance": 0.49404
}

Semantic roles & 50–950 ramp

primary
#BAC241
secondary
#9693CC
accent
#4DDB56
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C

Preview Lab

Preview with #BAC241

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

Preview Lab → · Contrast checker → · Palette generator →

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