#BAC638#BAC638

#BAC638 is a light, vivid yellow. Relative luminance 0.511; OKLCH L 79.2% C 0.159 H 114.3°. Best body text is #000000 at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#BAC638
RGBrgb(186, 198, 56)
HSLhsl(65, 56%, 50%)
HSVhsv(65, 72%, 78%)
CMYKcmyk(6.1%, 0%, 71.7%, 22.4%)
CIE-LABlab(76.75, -21.50, 65.54)
CIE-LCHlch(76.75, 68.98, 108.16°)
OKLaboklab(79.22% -0.0656 0.1453)
OKLCHoklch(79.22% 0.159 114.3)
XYZxyz(41.1588, 51.1136, 11.4383)
Luminance0.5111 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC638 #4438C6
analogous
#C68B38 #BAC638 #73C638
triadic
#BAC638 #38BAC6 #C638BA
tetradic
#BAC638 #38C68B #4438C6 #C63873
square
#BAC638 #38C68B #4438C6 #C63873
split-complementary
#BAC638 #3873C6 #8B38C6
monochromatic
#60671D #8D962B #BAC638 #CBD467 #DBE297

Accessibility & contrast

On white

1.87
#BAC638 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.22
#BAC638 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC638
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC638#FFFFFF#000000##000000
##BAC6381.001.8711.2211.22
#FFFFFF1.871.0021.0021.00
#00000011.2221.001.001.00
##00000011.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC1D
Deuteranopia (green-blind)
#D4BF43
Tritanopia (blue-blind)
#C6BAAB
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #bac638;
/* rgb */ color: rgb(186, 198, 56);
/* oklch */ color: oklch(79.2% 0.159 114.3);
Tailwind
colors: {
  custom: {
    50: '#d2d778',
    500: '#bac638',
    950: '#000000',
  },
}
SCSS
$custom: #bac638;
$custom-light: #d2d778;
$custom-dark: #000000;
JSON
{
  "hex": "#bac638",
  "rgb": {
    "r": 186,
    "g": 198,
    "b": 56
  },
  "hsl": {
    "h": 65.07,
    "s": 55.906,
    "l": 49.804
  },
  "oklch": {
    "l": 0.79218,
    "c": 0.15945,
    "h": 114.3
  },
  "luminance": 0.51113
}

Semantic roles & 50–950 ramp

primary
#BAC638
secondary
#373171
accent
#49DF55
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#15140A
muted
#84837D

Preview Lab

Preview with #BAC638

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

Preview Lab → · Contrast checker → · Palette generator →

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