#BAC835#BAC835

#BAC835 is a light, vivid yellow. Relative luminance 0.520; OKLCH L 79.6% C 0.163 H 115.0°. Best body text is #000000 at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#BAC835
RGBrgb(186, 200, 53)
HSLhsl(66, 58%, 50%)
HSVhsv(66, 74%, 78%)
CMYKcmyk(7%, 0%, 73.5%, 21.6%)
CIE-LABlab(77.28, -22.62, 67.08)
CIE-LCHlch(77.28, 70.79, 108.64°)
OKLaboklab(79.64% -0.0689 0.1481)
OKLCHoklch(79.64% 0.163 115)
XYZxyz(41.5477, 52.0054, 11.2168)
Luminance0.5201 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC835 #4335C8
analogous
#C88C35 #BAC835 #71C835
triadic
#BAC835 #35BAC8 #C835BA
tetradic
#BAC835 #35C88C #4335C8 #C83571
square
#BAC835 #35C88C #4335C8 #C83571
split-complementary
#BAC835 #3571C8 #8C35C8
monochromatic
#60671B #8D9828 #BAC835 #CBD664 #DBE395

Accessibility & contrast

On white

1.84
#BAC835 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.40
#BAC835 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC835
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC835#FFFFFF#000000##000000
##BAC8351.001.8411.4011.40
#FFFFFF1.841.0021.0021.00
#00000011.4021.001.001.00
##00000011.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE15
Deuteranopia (green-blind)
#D6C041
Tritanopia (blue-blind)
#C6BCAC
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #bac835;
/* rgb */ color: rgb(186, 200, 53);
/* oklch */ color: oklch(79.6% 0.163 115.0);
Tailwind
colors: {
  custom: {
    50: '#d2d877',
    500: '#bac835',
    950: '#000000',
  },
}
SCSS
$custom: #bac835;
$custom-light: #d2d877;
$custom-dark: #000000;
JSON
{
  "hex": "#bac835",
  "rgb": {
    "r": 186,
    "g": 200,
    "b": 53
  },
  "hsl": {
    "h": 65.714,
    "s": 58.103,
    "l": 49.608
  },
  "oklch": {
    "l": 0.79642,
    "c": 0.16334,
    "h": 115
  },
  "luminance": 0.52005
}

Semantic roles & 50–950 ramp

primary
#BAC835
secondary
#363071
accent
#46E155
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #BAC835

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

Preview Lab → · Contrast checker → · Palette generator →

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