#BAC935#BAC935

#BAC935 is a light, vivid yellow. Relative luminance 0.525; OKLCH L 79.9% C 0.164 H 115.3°. Best body text is #000000 at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#BAC935
RGBrgb(186, 201, 53)
HSLhsl(66, 58%, 50%)
HSVhsv(66, 74%, 79%)
CMYKcmyk(7.5%, 0%, 73.6%, 21.2%)
CIE-LABlab(77.56, -23.11, 67.34)
CIE-LCHlch(77.56, 71.20, 108.94°)
OKLaboklab(79.86% -0.0703 0.1486)
OKLCHoklch(79.86% 0.164 115.3)
XYZxyz(41.7801, 52.4701, 11.2943)
Luminance0.5247 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC935 #4435C9
analogous
#C98E35 #BAC935 #70C935
triadic
#BAC935 #35BAC9 #C935BA
tetradic
#BAC935 #35C98E #4435C9 #C93570
square
#BAC935 #35C98E #4435C9 #C93570
split-complementary
#BAC935 #3570C9 #8E35C9
monochromatic
#60681B #8D9928 #BAC935 #CBD665 #DBE395

Accessibility & contrast

On white

1.83
#BAC935 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.49
#BAC935 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC935
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC935#FFFFFF#000000##000000
##BAC9351.001.8311.4911.49
#FFFFFF1.831.0021.0021.00
#00000011.4921.001.001.00
##00000011.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF15
Deuteranopia (green-blind)
#D6C142
Tritanopia (blue-blind)
#C6BDAD
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #bac935;
/* rgb */ color: rgb(186, 201, 53);
/* oklch */ color: oklch(79.9% 0.164 115.3);
Tailwind
colors: {
  custom: {
    50: '#d2d977',
    500: '#bac935',
    950: '#000000',
  },
}
SCSS
$custom: #bac935;
$custom-light: #d2d977;
$custom-dark: #000000;
JSON
{
  "hex": "#bac935",
  "rgb": {
    "r": 186,
    "g": 201,
    "b": 53
  },
  "hsl": {
    "h": 66.081,
    "s": 58.268,
    "l": 49.804
  },
  "oklch": {
    "l": 0.79865,
    "c": 0.16442,
    "h": 115.3
  },
  "luminance": 0.52469
}

Semantic roles & 50–950 ramp

primary
#BAC935
secondary
#373072
accent
#46E156
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #BAC935

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

Preview Lab → · Contrast checker → · Palette generator →

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