#BAC035#BAC035

#BAC035 is a light, vivid yellow. Relative luminance 0.484; OKLCH L 77.9% C 0.155 H 112.0°. Best body text is #000000 at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#BAC035
RGBrgb(186, 192, 53)
HSLhsl(63, 57%, 48%)
HSVhsv(63, 72%, 75%)
CMYKcmyk(3.1%, 0%, 72.4%, 24.7%)
CIE-LABlab(75.07, -18.67, 64.98)
CIE-LCHlch(75.07, 67.60, 106.03°)
OKLaboklab(77.87% -0.058 0.1436)
OKLCHoklch(77.87% 0.155 112)
XYZxyz(39.7432, 48.3964, 10.6153)
Luminance0.4839 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC035 #3B35C0
analogous
#C08035 #BAC035 #74C035
triadic
#BAC035 #35BAC0 #C035BA
tetradic
#BAC035 #35C080 #3B35C0 #C03574
square
#BAC035 #35C080 #3B35C0 #C03574
split-complementary
#BAC035 #3574C0 #8035C0
monochromatic
#5D601B #8C9028 #BAC035 #CED35F #DDE08F

Accessibility & contrast

On white

1.97
#BAC035 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.68
#BAC035 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC035
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC035#FFFFFF#000000##000000
##BAC0351.001.9710.6810.68
#FFFFFF1.971.0021.0021.00
#00000010.6821.001.001.00
##00000010.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB71A
Deuteranopia (green-blind)
#CFBA40
Tritanopia (blue-blind)
#C7B4A5
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #bac035;
/* rgb */ color: rgb(186, 192, 53);
/* oklch */ color: oklch(77.9% 0.155 112.0);
Tailwind
colors: {
  custom: {
    50: '#d2d276',
    500: '#bac035',
    950: '#000000',
  },
}
SCSS
$custom: #bac035;
$custom-light: #d2d276;
$custom-dark: #000000;
JSON
{
  "hex": "#bac035",
  "rgb": {
    "r": 186,
    "g": 192,
    "b": 53
  },
  "hsl": {
    "h": 62.59,
    "s": 56.735,
    "l": 48.039
  },
  "oklch": {
    "l": 0.77871,
    "c": 0.15489,
    "h": 112
  },
  "luminance": 0.48395
}

Semantic roles & 50–950 ramp

primary
#BAC035
secondary
#8986CB
accent
#48E04E
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#151409
muted
#83827B

Preview Lab

Preview with #BAC035

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

Preview Lab → · Contrast checker → · Palette generator →

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