#BAC232#BAC232

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

Color values

HEX#BAC232
RGBrgb(186, 194, 50)
HSLhsl(63, 59%, 48%)
HSVhsv(63, 74%, 76%)
CMYKcmyk(4.1%, 0%, 74.2%, 23.9%)
CIE-LABlab(75.61, -19.80, 66.49)
CIE-LCHlch(75.61, 69.38, 106.58°)
OKLaboklab(78.29% -0.0614 0.1463)
OKLCHoklch(78.29% 0.159 112.8)
XYZxyz(40.1185, 49.2539, 10.4106)
Luminance0.4925 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC232 #3A32C2
analogous
#C28232 #BAC232 #72C232
triadic
#BAC232 #32BAC2 #C232BA
tetradic
#BAC232 #32C282 #3A32C2 #C23272
square
#BAC232 #32C282 #3A32C2 #C23272
split-complementary
#BAC232 #3272C2 #8232C2
monochromatic
#5D6119 #8B9125 #BAC232 #CED55C #DDE28D

Accessibility & contrast

On white

1.94
#BAC232 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.85
#BAC232 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC232
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC232#FFFFFF#000000##000000
##BAC2321.001.9410.8510.85
#FFFFFF1.941.0021.0021.00
#00000010.8521.001.001.00
##00000010.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bac232;
/* rgb */ color: rgb(186, 194, 50);
/* oklch */ color: oklch(78.3% 0.159 112.8);
Tailwind
colors: {
  custom: {
    50: '#d2d475',
    500: '#bac232',
    950: '#000000',
  },
}
SCSS
$custom: #bac232;
$custom-light: #d2d475;
$custom-dark: #000000;
JSON
{
  "hex": "#bac232",
  "rgb": {
    "r": 186,
    "g": 194,
    "b": 50
  },
  "hsl": {
    "h": 63.333,
    "s": 59.016,
    "l": 47.843
  },
  "oklch": {
    "l": 0.78294,
    "c": 0.15867,
    "h": 112.8
  },
  "luminance": 0.49253
}

Semantic roles & 50–950 ramp

primary
#BAC232
secondary
#8884CC
accent
#46E24E
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151409
muted
#83827B

Preview Lab

Preview with #BAC232

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

Preview Lab → · Contrast checker → · Palette generator →

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