#BAC233#BAC233

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

Color values

HEX#BAC233
RGBrgb(186, 194, 51)
HSLhsl(63, 58%, 48%)
HSVhsv(63, 74%, 76%)
CMYKcmyk(4.1%, 0%, 73.7%, 23.9%)
CIE-LABlab(75.61, -19.76, 66.17)
CIE-LCHlch(75.61, 69.05, 106.63°)
OKLaboklab(78.3% -0.0612 0.1458)
OKLCHoklch(78.3% 0.158 112.8)
XYZxyz(40.1403, 49.2626, 10.5255)
Luminance0.4926 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC233 #3B33C2
analogous
#C28333 #BAC233 #72C233
triadic
#BAC233 #33BAC2 #C233BA
tetradic
#BAC233 #33C283 #3B33C2 #C23372
square
#BAC233 #33C283 #3B33C2 #C23372
split-complementary
#BAC233 #3372C2 #8333C2
monochromatic
#5D611A #8C9226 #BAC233 #CED55E #DDE18E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAC233#FFFFFF#000000##000000
##BAC2331.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)
#D1B914
Deuteranopia (green-blind)
#D1BC3F
Tritanopia (blue-blind)
#C7B6A7
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #bac233;
/* rgb */ color: rgb(186, 194, 51);
/* oklch */ color: oklch(78.3% 0.158 112.8);
Tailwind
colors: {
  custom: {
    50: '#d2d475',
    500: '#bac233',
    950: '#000000',
  },
}
SCSS
$custom: #bac233;
$custom-light: #d2d475;
$custom-dark: #000000;
JSON
{
  "hex": "#bac233",
  "rgb": {
    "r": 186,
    "g": 194,
    "b": 51
  },
  "hsl": {
    "h": 63.357,
    "s": 58.367,
    "l": 48.039
  },
  "oklch": {
    "l": 0.783,
    "c": 0.15812,
    "h": 112.8
  },
  "luminance": 0.49262
}

Semantic roles & 50–950 ramp

primary
#BAC233
secondary
#8985CC
accent
#46E24F
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151409
muted
#83827B

Preview Lab

Preview with #BAC233

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

Preview Lab → · Contrast checker → · Palette generator →

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