#BAC247#BAC247

#BAC247 is a light, vivid yellow. Relative luminance 0.495; OKLCH L 78.5% C 0.145 H 112.8°. Best body text is #000000 at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#BAC247
RGBrgb(186, 194, 71)
HSLhsl(64, 50%, 52%)
HSVhsv(64, 63%, 76%)
CMYKcmyk(4.1%, 0%, 63.4%, 23.9%)
CIE-LABlab(75.75, -18.66, 58.78)
CIE-LCHlch(75.75, 61.68, 107.61°)
OKLaboklab(78.45% -0.0562 0.1335)
OKLCHoklch(78.45% 0.145 112.8)
XYZxyz(40.6799, 49.4785, 13.3674)
Luminance0.4948 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC247 #4F47C2
analogous
#C28C47 #BAC247 #7DC247
triadic
#BAC247 #47BAC2 #C247BA
tetradic
#BAC247 #47C28C #4F47C2 #C2477D
square
#BAC247 #47C28C #4F47C2 #C2477D
split-complementary
#BAC247 #477DC2 #8C47C2
monochromatic
#666B24 #929933 #BAC247 #CBD175 #DCE0A3

Accessibility & contrast

On white

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

On black

10.90
#BAC247 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC247
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC247#FFFFFF#000000##000000
##BAC2471.001.9310.9010.90
#FFFFFF1.931.0021.0021.00
#00000010.9021.001.001.00
##00000010.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B937
Deuteranopia (green-blind)
#D0BC4F
Tritanopia (blue-blind)
#C6B7A9
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #bac247;
/* rgb */ color: rgb(186, 194, 71);
/* oklch */ color: oklch(78.5% 0.145 112.8);
Tailwind
colors: {
  custom: {
    50: '#d2d480',
    500: '#bac247',
    950: '#000000',
  },
}
SCSS
$custom: #bac247;
$custom-light: #d2d480;
$custom-dark: #000000;
JSON
{
  "hex": "#bac247",
  "rgb": {
    "r": 186,
    "g": 194,
    "b": 71
  },
  "hsl": {
    "h": 63.902,
    "s": 50.204,
    "l": 51.961
  },
  "oklch": {
    "l": 0.7845,
    "c": 0.14483,
    "h": 112.8
  },
  "luminance": 0.49478
}

Semantic roles & 50–950 ramp

primary
#BAC247
secondary
#9B97CD
accent
#4EDA57
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14140B
muted
#83827C

Preview Lab

Preview with #BAC247

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

Preview Lab → · Contrast checker → · Palette generator →

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