#BAC237#BAC237

#BAC237 is a light, vivid yellow. Relative luminance 0.493; OKLCH L 78.3% C 0.156 H 112.8°. Best body text is #000000 at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#BAC237
RGBrgb(186, 194, 55)
HSLhsl(63, 56%, 49%)
HSVhsv(63, 72%, 76%)
CMYKcmyk(4.1%, 0%, 71.6%, 23.9%)
CIE-LABlab(75.64, -19.57, 64.82)
CIE-LCHlch(75.64, 67.71, 106.80°)
OKLaboklab(78.33% -0.0603 0.1436)
OKLCHoklch(78.33% 0.156 112.8)
XYZxyz(40.2323, 49.2994, 11.0101)
Luminance0.4930 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC237 #3F37C2
analogous
#C28537 #BAC237 #75C237
triadic
#BAC237 #37BAC2 #C237BA
tetradic
#BAC237 #37C285 #3F37C2 #C23775
square
#BAC237 #37C285 #3F37C2 #C23775
split-complementary
#BAC237 #3775C2 #8537C2
monochromatic
#5F631C #8C9229 #BAC237 #CCD363 #DCE093

Accessibility & contrast

On white

1.93
#BAC237 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.86
#BAC237 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC237
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC237#FFFFFF#000000##000000
##BAC2371.001.9310.8610.86
#FFFFFF1.931.0021.0021.00
#00000010.8621.001.001.00
##00000010.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B91D
Deuteranopia (green-blind)
#D1BC42
Tritanopia (blue-blind)
#C7B6A7
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #bac237;
/* rgb */ color: rgb(186, 194, 55);
/* oklch */ color: oklch(78.3% 0.156 112.8);
Tailwind
colors: {
  custom: {
    50: '#d2d477',
    500: '#bac237',
    950: '#000000',
  },
}
SCSS
$custom: #bac237;
$custom-light: #d2d477;
$custom-dark: #000000;
JSON
{
  "hex": "#bac237",
  "rgb": {
    "r": 186,
    "g": 194,
    "b": 55
  },
  "hsl": {
    "h": 63.453,
    "s": 55.823,
    "l": 48.824
  },
  "oklch": {
    "l": 0.78326,
    "c": 0.15578,
    "h": 112.8
  },
  "luminance": 0.49299
}

Semantic roles & 50–950 ramp

primary
#BAC237
secondary
#8D89CB
accent
#49DF51
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#151409
muted
#83827B

Preview Lab

Preview with #BAC237

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

Preview Lab → · Contrast checker → · Palette generator →

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