#BAC635#BAC635

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

Color values

HEX#BAC635
RGBrgb(186, 198, 53)
HSLhsl(65, 58%, 49%)
HSVhsv(65, 73%, 78%)
CMYKcmyk(6.1%, 0%, 73.2%, 22.4%)
CIE-LABlab(76.73, -21.64, 66.55)
CIE-LCHlch(76.73, 69.98, 108.01°)
OKLaboklab(79.2% -0.0662 0.147)
OKLCHoklch(79.2% 0.161 114.3)
XYZxyz(41.0876, 51.0851, 11.0635)
Luminance0.5108 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC635 #4135C6
analogous
#C68A35 #BAC635 #71C635
triadic
#BAC635 #35BAC6 #C635BA
tetradic
#BAC635 #35C68A #4135C6 #C63571
square
#BAC635 #35C68A #4135C6 #C63571
split-complementary
#BAC635 #3571C6 #8A35C6
monochromatic
#5F651B #8D9628 #BAC635 #CCD563 #DCE293

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAC635#FFFFFF#000000##000000
##BAC6351.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)
#D5BC17
Deuteranopia (green-blind)
#D4BF41
Tritanopia (blue-blind)
#C6BAAA
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #bac635;
/* rgb */ color: rgb(186, 198, 53);
/* oklch */ color: oklch(79.2% 0.161 114.3);
Tailwind
colors: {
  custom: {
    50: '#d2d777',
    500: '#bac635',
    950: '#000000',
  },
}
SCSS
$custom: #bac635;
$custom-light: #d2d777;
$custom-dark: #000000;
JSON
{
  "hex": "#bac635",
  "rgb": {
    "r": 186,
    "g": 198,
    "b": 53
  },
  "hsl": {
    "h": 64.966,
    "s": 57.769,
    "l": 49.216
  },
  "oklch": {
    "l": 0.79198,
    "c": 0.16119,
    "h": 114.3
  },
  "luminance": 0.51084
}

Semantic roles & 50–950 ramp

primary
#BAC635
secondary
#352F70
accent
#47E154
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #BAC635

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

Preview Lab → · Contrast checker → · Palette generator →

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