#BAC271#BAC271

#BAC271 is a light, moderate yellow. Relative luminance 0.502; OKLCH L 79.0% C 0.105 H 113.4°. Best body text is #000000 at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#BAC271
RGBrgb(186, 194, 113)
HSLhsl(66, 40%, 60%)
HSVhsv(66, 42%, 76%)
CMYKcmyk(4.1%, 0%, 41.8%, 23.9%)
CIE-LABlab(76.20, -15.01, 39.73)
CIE-LCHlch(76.20, 42.47, 110.69°)
OKLaboklab(78.96% -0.0417 0.0963)
OKLCHoklch(78.96% 0.105 113.4)
XYZxyz(42.5226, 50.2155, 23.0721)
Luminance0.5021 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC271 #7971C2
analogous
#C2A171 #BAC271 #91C271
triadic
#BAC271 #71BAC2 #C271BA
tetradic
#BAC271 #71C2A1 #7971C2 #C27191
square
#BAC271 #71C2A1 #7971C2 #C27191
split-complementary
#BAC271 #7191C2 #A171C2
monochromatic
#7A8137 #A2AC4A #BAC271 #CFD49C #E4E7C7

Accessibility & contrast

On white

1.90
#BAC271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.04
#BAC271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC271
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC271#FFFFFF#000000##000000
##BAC2711.001.9011.0411.04
#FFFFFF1.901.0021.0021.00
#00000011.0421.001.001.00
##00000011.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBB6B
Deuteranopia (green-blind)
#CCBD75
Tritanopia (blue-blind)
#C3B9AE
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #bac271;
/* rgb */ color: rgb(186, 194, 113);
/* oklch */ color: oklch(79.0% 0.105 113.4);
Tailwind
colors: {
  custom: {
    50: '#d0d49b',
    500: '#bac271',
    950: '#000000',
  },
}
SCSS
$custom: #bac271;
$custom-light: #d0d49b;
$custom-dark: #000000;
JSON
{
  "hex": "#bac271",
  "rgb": {
    "r": 186,
    "g": 194,
    "b": 113
  },
  "hsl": {
    "h": 65.926,
    "s": 39.901,
    "l": 60.196
  },
  "oklch": {
    "l": 0.78959,
    "c": 0.10494,
    "h": 113.4
  },
  "luminance": 0.50215
}

Semantic roles & 50–950 ramp

primary
#BAC271
secondary
#534E8A
accent
#33B33F
background
#FEFEFC
surface
#FBFBF5
border
#D4D4CF
text
#14140E
muted
#83837F

Preview Lab

Preview with #BAC271

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

Preview Lab → · Contrast checker → · Palette generator →

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