#B2BC45#B2BC45

#B2BC45 is a light, vivid yellow. Relative luminance 0.459; OKLCH L 76.5% C 0.142 H 113.8°. Best body text is #000000 at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#B2BC45
RGBrgb(178, 188, 69)
HSLhsl(65, 47%, 50%)
HSVhsv(65, 63%, 74%)
CMYKcmyk(5.3%, 0%, 63.3%, 26.3%)
CIE-LABlab(73.46, -19.13, 57.00)
CIE-LCHlch(73.46, 60.13, 108.55°)
OKLaboklab(76.46% -0.0572 0.1296)
OKLCHoklch(76.46% 0.142 113.8)
XYZxyz(37.4184, 45.8618, 12.5101)
Luminance0.4586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BC45 #4F45BC
analogous
#BC8A45 #B2BC45 #76BC45
triadic
#B2BC45 #45B2BC #BC45B2
tetradic
#B2BC45 #45BC8A #4F45BC #BC4576
square
#B2BC45 #45BC8A #4F45BC #BC4576
split-complementary
#B2BC45 #4576BC #8A45BC
monochromatic
#5E6324 #889034 #B2BC45 #C5CC72 #D7DC9F

Accessibility & contrast

On white

2.06
#B2BC45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.17
#B2BC45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2BC45
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2BC45#FFFFFF#000000##000000
##B2BC451.002.0610.1710.17
#FFFFFF2.061.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B336
Deuteranopia (green-blind)
#C9B64D
Tritanopia (blue-blind)
#BDB1A3
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b2bc45;
/* rgb */ color: rgb(178, 188, 69);
/* oklch */ color: oklch(76.5% 0.142 113.8);
Tailwind
colors: {
  custom: {
    50: '#ccd07e',
    500: '#b2bc45',
    950: '#000000',
  },
}
SCSS
$custom: #b2bc45;
$custom-light: #ccd07e;
$custom-dark: #000000;
JSON
{
  "hex": "#b2bc45",
  "rgb": {
    "r": 178,
    "g": 188,
    "b": 69
  },
  "hsl": {
    "h": 65.042,
    "s": 47.036,
    "l": 50.392
  },
  "oklch": {
    "l": 0.76458,
    "c": 0.1417,
    "h": 113.8
  },
  "luminance": 0.45861
}

Semantic roles & 50–950 ramp

primary
#B2BC45
secondary
#9894C9
accent
#51D75C
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #B2BC45

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

Preview Lab → · Contrast checker → · Palette generator →

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