#BACC38#BACC38

#BACC38 is a light, vivid yellow. Relative luminance 0.539; OKLCH L 80.6% C 0.166 H 116.4°. Best body text is #000000 at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#BACC38
RGBrgb(186, 204, 56)
HSLhsl(67, 59%, 51%)
HSVhsv(67, 73%, 80%)
CMYKcmyk(8.8%, 0%, 72.5%, 20%)
CIE-LABlab(78.41, -24.42, 67.14)
CIE-LCHlch(78.41, 71.45, 109.99°)
OKLaboklab(80.55% -0.0737 0.1487)
OKLCHoklch(80.55% 0.166 116.4)
XYZxyz(42.5575, 53.9110, 11.9046)
Luminance0.5391 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BACC38 #4A38CC
analogous
#CC9438 #BACC38 #70CC38
triadic
#BACC38 #38BACC #CC38BA
tetradic
#BACC38 #38CC94 #4A38CC #CC3870
square
#BACC38 #38CC94 #4A38CC #CC3870
split-complementary
#BACC38 #3870CC #9438CC
monochromatic
#646E1C #909E29 #BACC38 #CBD869 #DCE599

Accessibility & contrast

On white

1.78
#BACC38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.78
#BACC38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BACC38
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BACC38#FFFFFF#000000##000000
##BACC381.001.7811.7811.78
#FFFFFF1.781.0021.0021.00
#00000011.7821.001.001.00
##00000011.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC11B
Deuteranopia (green-blind)
#D9C344
Tritanopia (blue-blind)
#C6C0B0
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #bacc38;
/* rgb */ color: rgb(186, 204, 56);
/* oklch */ color: oklch(80.6% 0.166 116.4);
Tailwind
colors: {
  custom: {
    50: '#d2db79',
    500: '#bacc38',
    950: '#000000',
  },
}
SCSS
$custom: #bacc38;
$custom-light: #d2db79;
$custom-dark: #000000;
JSON
{
  "hex": "#bacc38",
  "rgb": {
    "r": 186,
    "g": 204,
    "b": 56
  },
  "hsl": {
    "h": 67.297,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.80551,
    "c": 0.16597,
    "h": 116.4
  },
  "luminance": 0.5391
}

Semantic roles & 50–950 ramp

primary
#BACC38
secondary
#3A3177
accent
#45E259
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #BACC38

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

Preview Lab → · Contrast checker → · Palette generator →

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