#BACF38#BACF38

#BACF38 is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.2% C 0.169 H 117.3°. Best body text is #000000 at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#BACF38
RGBrgb(186, 207, 56)
HSLhsl(68, 61%, 52%)
HSVhsv(68, 73%, 81%)
CMYKcmyk(10.1%, 0%, 72.9%, 18.8%)
CIE-LABlab(79.24, -25.87, 67.94)
CIE-LCHlch(79.24, 72.70, 110.85°)
OKLaboklab(81.22% -0.0777 0.1504)
OKLCHoklch(81.22% 0.169 117.3)
XYZxyz(43.2774, 55.3508, 12.1445)
Luminance0.5535 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BACF38 #4D38CF
analogous
#CF9838 #BACF38 #6FCF38
triadic
#BACF38 #38BACF #CF38BA
tetradic
#BACF38 #38CF98 #4D38CF #CF386F
square
#BACF38 #38CF98 #4D38CF #CF386F
split-complementary
#BACF38 #386FCF #9838CF
monochromatic
#65711B #91A327 #BACF38 #CBDB69 #DCE79B

Accessibility & contrast

On white

1.74
#BACF38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.07
#BACF38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BACF38
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BACF38#FFFFFF#000000##000000
##BACF381.001.7412.0712.07
#FFFFFF1.741.0021.0021.00
#00000012.0721.001.001.00
##00000012.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC419
Deuteranopia (green-blind)
#DBC545
Tritanopia (blue-blind)
#C6C3B2
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #bacf38;
/* rgb */ color: rgb(186, 207, 56);
/* oklch */ color: oklch(81.2% 0.169 117.3);
Tailwind
colors: {
  custom: {
    50: '#d2dd79',
    500: '#bacf38',
    950: '#000000',
  },
}
SCSS
$custom: #bacf38;
$custom-light: #d2dd79;
$custom-dark: #000000;
JSON
{
  "hex": "#bacf38",
  "rgb": {
    "r": 186,
    "g": 207,
    "b": 56
  },
  "hsl": {
    "h": 68.344,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.81221,
    "c": 0.16928,
    "h": 117.3
  },
  "luminance": 0.5535
}

Semantic roles & 50–950 ramp

primary
#BACF38
secondary
#3B317A
accent
#44E45A
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #BACF38

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

Preview Lab → · Contrast checker → · Palette generator →

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