#BAC18F#BAC18F

#BAC18F is a light, moderate yellow. Relative luminance 0.506; OKLCH L 79.3% C 0.068 H 114.4°. Best body text is #000000 at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#BAC18F
RGBrgb(186, 193, 143)
HSLhsl(68, 29%, 66%)
HSVhsv(68, 26%, 76%)
CMYKcmyk(3.6%, 0%, 25.9%, 24.3%)
CIE-LABlab(76.41, -10.73, 24.44)
CIE-LCHlch(76.41, 26.69, 113.71°)
OKLaboklab(79.29% -0.028 0.0617)
OKLCHoklch(79.29% 0.068 114.4)
XYZxyz(44.2774, 50.5625, 33.4083)
Luminance0.5056 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC18F #968FC1
analogous
#C1AF8F #BAC18F #A1C18F
triadic
#BAC18F #8FBAC1 #C18FBA
tetradic
#BAC18F #8FC1AF #968FC1 #C18FA1
square
#BAC18F #8FC1AF #968FC1 #C18FA1
split-complementary
#BAC18F #8FA1C1 #AF8FC1
monochromatic
#81894C #A2AB68 #BAC18F #D2D7B6 #EBEDDE

Accessibility & contrast

On white

1.89
#BAC18F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.11
#BAC18F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC18F
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC18F#FFFFFF#000000##000000
##BAC18F1.001.8911.1111.11
#FFFFFF1.891.0021.0021.00
#00000011.1121.001.001.00
##00000011.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8BC8C
Deuteranopia (green-blind)
#C8BD91
Tritanopia (blue-blind)
#C0BBB4
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #bac18f;
/* rgb */ color: rgb(186, 193, 143);
/* oklch */ color: oklch(79.3% 0.068 114.4);
Tailwind
colors: {
  custom: {
    50: '#cfd3b0',
    500: '#bac18f',
    950: '#000000',
  },
}
SCSS
$custom: #bac18f;
$custom-light: #cfd3b0;
$custom-dark: #000000;
JSON
{
  "hex": "#bac18f",
  "rgb": {
    "r": 186,
    "g": 193,
    "b": 143
  },
  "hsl": {
    "h": 68.4,
    "s": 28.736,
    "l": 65.882
  },
  "oklch": {
    "l": 0.79285,
    "c": 0.06773,
    "h": 114.4
  },
  "luminance": 0.50562
}

Semantic roles & 50–950 ramp

primary
#BAC18F
secondary
#686293
accent
#3EA74D
background
#FEFEFD
surface
#FBFBF7
border
#D4D4D0
text
#141410
muted
#838381

Preview Lab

Preview with #BAC18F

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

Preview Lab → · Contrast checker → · Palette generator →

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