#BAC952#BAC952

#BAC952 is a light, vivid yellow. Relative luminance 0.528; OKLCH L 80.1% C 0.144 H 115.8°. Best body text is #000000 at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#BAC952
RGBrgb(186, 201, 82)
HSLhsl(68, 52%, 55%)
HSVhsv(68, 59%, 79%)
CMYKcmyk(7.5%, 0%, 59.2%, 21.2%)
CIE-LABlab(77.77, -21.36, 56.29)
CIE-LCHlch(77.77, 60.20, 110.78°)
OKLaboklab(80.1% -0.0626 0.1297)
OKLCHoklch(80.1% 0.144 115.8)
XYZxyz(42.6602, 52.8222, 15.9294)
Luminance0.5282 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC952 #6152C9
analogous
#C99C52 #BAC952 #7EC952
triadic
#BAC952 #52BAC9 #C952BA
tetradic
#BAC952 #52C99C #6152C9 #C9527E
square
#BAC952 #52C99C #6152C9 #C9527E
split-complementary
#BAC952 #527EC9 #9C52C9
monochromatic
#707A26 #9AA935 #BAC952 #CDD881 #DFE6AF

Accessibility & contrast

On white

1.82
#BAC952 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.56
#BAC952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC952
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC952#FFFFFF#000000##000000
##BAC9521.001.8211.5611.56
#FFFFFF1.821.0021.0021.00
#00000011.5621.001.001.00
##00000011.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF45
Deuteranopia (green-blind)
#D5C159
Tritanopia (blue-blind)
#C5BEB0
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #bac952;
/* rgb */ color: rgb(186, 201, 82);
/* oklch */ color: oklch(80.1% 0.144 115.8);
Tailwind
colors: {
  custom: {
    50: '#d1d987',
    500: '#bac952',
    950: '#000000',
  },
}
SCSS
$custom: #bac952;
$custom-light: #d1d987;
$custom-dark: #000000;
JSON
{
  "hex": "#bac952",
  "rgb": {
    "r": 186,
    "g": 201,
    "b": 82
  },
  "hsl": {
    "h": 67.563,
    "s": 52.423,
    "l": 55.49
  },
  "oklch": {
    "l": 0.80099,
    "c": 0.14401,
    "h": 115.8
  },
  "luminance": 0.52822
}

Semantic roles & 50–950 ramp

primary
#BAC952
secondary
#453D83
accent
#4CDC5E
background
#FEFEFC
surface
#FBFBF3
border
#D4D4CD
text
#14140C
muted
#83837F

Preview Lab

Preview with #BAC952

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

Preview Lab → · Contrast checker → · Palette generator →

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