#BAC038#BAC038

#BAC038 is a light, vivid yellow. Relative luminance 0.484; OKLCH L 77.9% C 0.153 H 112.0°. Best body text is #000000 at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#BAC038
RGBrgb(186, 192, 56)
HSLhsl(63, 55%, 49%)
HSVhsv(63, 71%, 75%)
CMYKcmyk(3.1%, 0%, 70.8%, 24.7%)
CIE-LABlab(75.09, -18.52, 63.93)
CIE-LCHlch(75.09, 66.56, 106.16°)
OKLaboklab(77.89% -0.0573 0.142)
OKLCHoklch(77.89% 0.153 112)
XYZxyz(39.8144, 48.4249, 10.9902)
Luminance0.4842 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC038 #3E38C0
analogous
#C08238 #BAC038 #76C038
triadic
#BAC038 #38BAC0 #C038BA
tetradic
#BAC038 #38C082 #3E38C0 #C03876
square
#BAC038 #38C082 #3E38C0 #C03876
split-complementary
#BAC038 #3876C0 #8238C0
monochromatic
#5E611C #8C912A #BAC038 #CDD264 #DCDF93

Accessibility & contrast

On white

1.97
#BAC038 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.68
#BAC038 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC038
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC038#FFFFFF#000000##000000
##BAC0381.001.9710.6810.68
#FFFFFF1.971.0021.0021.00
#00000010.6821.001.001.00
##00000010.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB720
Deuteranopia (green-blind)
#CFBA42
Tritanopia (blue-blind)
#C7B4A5
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #bac038;
/* rgb */ color: rgb(186, 192, 56);
/* oklch */ color: oklch(77.9% 0.153 112.0);
Tailwind
colors: {
  custom: {
    50: '#d2d278',
    500: '#bac038',
    950: '#000000',
  },
}
SCSS
$custom: #bac038;
$custom-light: #d2d278;
$custom-dark: #000000;
JSON
{
  "hex": "#bac038",
  "rgb": {
    "r": 186,
    "g": 192,
    "b": 56
  },
  "hsl": {
    "h": 62.647,
    "s": 54.839,
    "l": 48.627
  },
  "oklch": {
    "l": 0.77891,
    "c": 0.15307,
    "h": 112
  },
  "luminance": 0.48424
}

Semantic roles & 50–950 ramp

primary
#BAC038
secondary
#8C89CB
accent
#4ADE50
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#151409
muted
#83827B

Preview Lab

Preview with #BAC038

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

Preview Lab → · Contrast checker → · Palette generator →

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