#BAC347#BAC347

#BAC347 is a light, vivid yellow. Relative luminance 0.499; OKLCH L 78.7% C 0.146 H 113.2°. Best body text is #000000 at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#BAC347
RGBrgb(186, 195, 71)
HSLhsl(64, 51%, 52%)
HSVhsv(64, 64%, 76%)
CMYKcmyk(4.6%, 0%, 63.6%, 23.5%)
CIE-LABlab(76.02, -19.16, 59.08)
CIE-LCHlch(76.02, 62.10, 107.97°)
OKLaboklab(78.67% -0.0576 0.1341)
OKLCHoklch(78.67% 0.146 113.2)
XYZxyz(40.9032, 49.9251, 13.4418)
Luminance0.4992 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC347 #5047C3
analogous
#C38E47 #BAC347 #7CC347
triadic
#BAC347 #47BAC3 #C347BA
tetradic
#BAC347 #47C38E #5047C3 #C3477C
square
#BAC347 #47C38E #5047C3 #C3477C
split-complementary
#BAC347 #477CC3 #8E47C3
monochromatic
#676C23 #939A32 #BAC347 #CBD275 #DDE1A3

Accessibility & contrast

On white

1.91
#BAC347 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.98
#BAC347 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC347
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC347#FFFFFF#000000##000000
##BAC3471.001.9110.9810.98
#FFFFFF1.911.0021.0021.00
#00000010.9821.001.001.00
##00000010.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA37
Deuteranopia (green-blind)
#D1BD4F
Tritanopia (blue-blind)
#C6B8A9
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #bac347;
/* rgb */ color: rgb(186, 195, 71);
/* oklch */ color: oklch(78.7% 0.146 113.2);
Tailwind
colors: {
  custom: {
    50: '#d2d580',
    500: '#bac347',
    950: '#000000',
  },
}
SCSS
$custom: #bac347;
$custom-light: #d2d580;
$custom-dark: #000000;
JSON
{
  "hex": "#bac347",
  "rgb": {
    "r": 186,
    "g": 195,
    "b": 71
  },
  "hsl": {
    "h": 64.355,
    "s": 50.82,
    "l": 52.157
  },
  "oklch": {
    "l": 0.7867,
    "c": 0.14594,
    "h": 113.2
  },
  "luminance": 0.49924
}

Semantic roles & 50–950 ramp

primary
#BAC347
secondary
#9C98CE
accent
#4DDA58
background
#FDFDF8
surface
#FAFAEF
border
#D3D3CA
text
#14140B
muted
#83837C

Preview Lab

Preview with #BAC347

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

Preview Lab → · Contrast checker → · Palette generator →

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