#BAC958#BAC958

#BAC958 is a light, vivid yellow. Relative luminance 0.529; OKLCH L 80.2% C 0.139 H 115.9°. Best body text is #000000 at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#BAC958
RGBrgb(186, 201, 88)
HSLhsl(68, 51%, 57%)
HSVhsv(68, 56%, 79%)
CMYKcmyk(7.5%, 0%, 56.2%, 21.2%)
CIE-LABlab(77.83, -20.89, 53.69)
CIE-LCHlch(77.83, 57.61, 111.26°)
OKLaboklab(80.16% -0.0607 0.1248)
OKLCHoklch(80.16% 0.139 115.9)
XYZxyz(42.8986, 52.9175, 17.1848)
Luminance0.5292 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC958 #6758C9
analogous
#C9A058 #BAC958 #82C958
triadic
#BAC958 #58BAC9 #C958BA
tetradic
#BAC958 #58C9A0 #6758C9 #C95882
square
#BAC958 #58C9A0 #6758C9 #C95882
split-complementary
#BAC958 #5882C9 #A058C9
monochromatic
#737E29 #9DAC38 #BAC958 #CDD886 #E0E7B4

Accessibility & contrast

On white

1.81
#BAC958 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.58
#BAC958 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC958
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC958#FFFFFF#000000##000000
##BAC9581.001.8111.5811.58
#FFFFFF1.811.0021.0021.00
#00000011.5821.001.001.00
##00000011.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C04C
Deuteranopia (green-blind)
#D4C15F
Tritanopia (blue-blind)
#C4BFB0
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #bac958;
/* rgb */ color: rgb(186, 201, 88);
/* oklch */ color: oklch(80.2% 0.139 115.9);
Tailwind
colors: {
  custom: {
    50: '#d1d98b',
    500: '#bac958',
    950: '#000000',
  },
}
SCSS
$custom: #bac958;
$custom-light: #d1d98b;
$custom-dark: #000000;
JSON
{
  "hex": "#bac958",
  "rgb": {
    "r": 186,
    "g": 201,
    "b": 88
  },
  "hsl": {
    "h": 67.965,
    "s": 51.131,
    "l": 56.667
  },
  "oklch": {
    "l": 0.80162,
    "c": 0.13881,
    "h": 115.9
  },
  "luminance": 0.52917
}

Semantic roles & 50–950 ramp

primary
#BAC958
secondary
#493F86
accent
#4DDB60
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14140C
muted
#83837F

Preview Lab

Preview with #BAC958

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

Preview Lab → · Contrast checker → · Palette generator →

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