#BAC435#BAC435

#BAC435 is a light, vivid yellow. Relative luminance 0.502; OKLCH L 78.8% C 0.159 H 113.5°. Best body text is #000000 at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#BAC435
RGBrgb(186, 196, 53)
HSLhsl(64, 57%, 49%)
HSVhsv(64, 73%, 77%)
CMYKcmyk(5.1%, 0%, 73%, 23.1%)
CIE-LABlab(76.18, -20.66, 66.03)
CIE-LCHlch(76.18, 69.18, 107.37°)
OKLaboklab(78.76% -0.0635 0.1459)
OKLCHoklch(78.76% 0.159 113.5)
XYZxyz(40.6335, 50.1769, 10.9121)
Luminance0.5018 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC435 #3F35C4
analogous
#C48735 #BAC435 #73C435
triadic
#BAC435 #35BAC4 #C435BA
tetradic
#BAC435 #35C487 #3F35C4 #C43573
square
#BAC435 #35C487 #3F35C4 #C43573
split-complementary
#BAC435 #3573C4 #8735C4
monochromatic
#5F641B #8C9428 #BAC435 #CCD462 #DCE192

Accessibility & contrast

On white

1.90
#BAC435 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.04
#BAC435 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC435
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC435#FFFFFF#000000##000000
##BAC4351.001.9011.0411.04
#FFFFFF1.901.0021.0021.00
#00000011.0421.001.001.00
##00000011.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BA18
Deuteranopia (green-blind)
#D2BD41
Tritanopia (blue-blind)
#C6B8A9
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #bac435;
/* rgb */ color: rgb(186, 196, 53);
/* oklch */ color: oklch(78.8% 0.159 113.5);
Tailwind
colors: {
  custom: {
    50: '#d2d577',
    500: '#bac435',
    950: '#000000',
  },
}
SCSS
$custom: #bac435;
$custom-light: #d2d577;
$custom-dark: #000000;
JSON
{
  "hex": "#bac435",
  "rgb": {
    "r": 186,
    "g": 196,
    "b": 53
  },
  "hsl": {
    "h": 64.196,
    "s": 57.43,
    "l": 48.824
  },
  "oklch": {
    "l": 0.78755,
    "c": 0.15907,
    "h": 113.5
  },
  "luminance": 0.50176
}

Semantic roles & 50–950 ramp

primary
#BAC435
secondary
#332F6E
accent
#47E152
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #BAC435

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

Preview Lab → · Contrast checker → · Palette generator →

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