#BAC258#BAC258

#BAC258 is a light, vivid yellow. Relative luminance 0.497; OKLCH L 78.6% C 0.130 H 113.0°. Best body text is #000000 at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#BAC258
RGBrgb(186, 194, 88)
HSLhsl(65, 46%, 55%)
HSVhsv(65, 55%, 76%)
CMYKcmyk(4.1%, 0%, 54.6%, 23.9%)
CIE-LABlab(75.90, -17.41, 51.49)
CIE-LCHlch(75.90, 54.36, 108.68°)
OKLaboklab(78.62% -0.0509 0.1201)
OKLCHoklch(78.62% 0.13 113)
XYZxyz(41.3038, 49.7280, 16.6533)
Luminance0.4973 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC258 #6058C2
analogous
#C29558 #BAC258 #85C258
triadic
#BAC258 #58BAC2 #C258BA
tetradic
#BAC258 #58C295 #6058C2 #C25885
square
#BAC258 #58C295 #6058C2 #C25885
split-complementary
#BAC258 #5885C2 #9558C2
monochromatic
#6F752B #9AA23B #BAC258 #CDD285 #DFE3B2

Accessibility & contrast

On white

1.92
#BAC258 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.95
#BAC258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC258
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC258#FFFFFF#000000##000000
##BAC2581.001.9210.9510.95
#FFFFFF1.921.0021.0021.00
#00000010.9521.001.001.00
##00000010.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBA4D
Deuteranopia (green-blind)
#CFBC5E
Tritanopia (blue-blind)
#C5B8AB
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #bac258;
/* rgb */ color: rgb(186, 194, 88);
/* oklch */ color: oklch(78.6% 0.130 113.0);
Tailwind
colors: {
  custom: {
    50: '#d1d48a',
    500: '#bac258',
    950: '#000000',
  },
}
SCSS
$custom: #bac258;
$custom-light: #d1d48a;
$custom-dark: #000000;
JSON
{
  "hex": "#bac258",
  "rgb": {
    "r": 186,
    "g": 194,
    "b": 88
  },
  "hsl": {
    "h": 64.528,
    "s": 46.491,
    "l": 55.294
  },
  "oklch": {
    "l": 0.78623,
    "c": 0.13046,
    "h": 113
  },
  "luminance": 0.49727
}

Semantic roles & 50–950 ramp

primary
#BAC258
secondary
#A8A5D1
accent
#52D65C
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#14140C
muted
#83827D

Preview Lab

Preview with #BAC258

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

Preview Lab → · Contrast checker → · Palette generator →

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