#BAC626#BAC626

#BAC626 is a light, vivid yellow. Relative luminance 0.510; OKLCH L 79.1% C 0.169 H 114.2°. Best body text is #000000 at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#BAC626
RGBrgb(186, 198, 38)
HSLhsl(65, 68%, 46%)
HSVhsv(65, 81%, 78%)
CMYKcmyk(6.1%, 0%, 80.8%, 22.4%)
CIE-LABlab(76.66, -22.23, 70.98)
CIE-LCHlch(76.66, 74.38, 107.39°)
OKLaboklab(79.12% -0.069 0.1538)
OKLCHoklch(79.12% 0.169 114.2)
XYZxyz(40.7949, 50.9680, 9.5222)
Luminance0.5097 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC626 #3226C6
analogous
#C68226 #BAC626 #6AC626
triadic
#BAC626 #26BAC6 #C626BA
tetradic
#BAC626 #26C682 #3226C6 #C6266A
square
#BAC626 #26C682 #3226C6 #C6266A
split-complementary
#BAC626 #266AC6 #8226C6
monochromatic
#5A5F12 #8A931C #BAC626 #D2DD4C #DFE780

Accessibility & contrast

On white

1.88
#BAC626 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.19
#BAC626 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC626
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC626#FFFFFF#000000##000000
##BAC6261.001.8811.1911.19
#FFFFFF1.881.0021.0021.00
#00000011.1921.001.001.00
##00000011.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BC00
Deuteranopia (green-blind)
#D5BF36
Tritanopia (blue-blind)
#C7BAA9
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #bac626;
/* rgb */ color: rgb(186, 198, 38);
/* oklch */ color: oklch(79.1% 0.169 114.2);
Tailwind
colors: {
  custom: {
    50: '#d3d770',
    500: '#bac626',
    950: '#000000',
  },
}
SCSS
$custom: #bac626;
$custom-light: #d3d770;
$custom-dark: #000000;
JSON
{
  "hex": "#bac626",
  "rgb": {
    "r": 186,
    "g": 198,
    "b": 38
  },
  "hsl": {
    "h": 64.5,
    "s": 67.797,
    "l": 46.275
  },
  "oklch": {
    "l": 0.79119,
    "c": 0.16858,
    "h": 114.2
  },
  "luminance": 0.50967
}

Semantic roles & 50–950 ramp

primary
#BAC626
secondary
#2B266A
accent
#3DEB4A
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151408
muted
#84837D

Preview Lab

Preview with #BAC626

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

Preview Lab → · Contrast checker → · Palette generator →

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