#B2BC42#B2BC42

#B2BC42 is a light, vivid yellow. Relative luminance 0.458; OKLCH L 76.4% C 0.144 H 113.8°. Best body text is #000000 at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#B2BC42
RGBrgb(178, 188, 66)
HSLhsl(65, 48%, 50%)
HSVhsv(65, 65%, 74%)
CMYKcmyk(5.3%, 0%, 64.9%, 26.3%)
CIE-LABlab(73.43, -19.33, 58.22)
CIE-LCHlch(73.43, 61.34, 108.36°)
OKLaboklab(76.43% -0.0581 0.1318)
OKLCHoklch(76.43% 0.144 113.8)
XYZxyz(37.3277, 45.8255, 12.0320)
Luminance0.4582 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BC42 #4C42BC
analogous
#BC8942 #B2BC42 #75BC42
triadic
#B2BC42 #42B2BC #BC42B2
tetradic
#B2BC42 #42BC89 #4C42BC #BC4275
square
#B2BC42 #42BC89 #4C42BC #BC4275
split-complementary
#B2BC42 #4275BC #8942BC
monochromatic
#5C6122 #878F32 #B2BC42 #C5CC6F #D7DC9C

Accessibility & contrast

On white

2.07
#B2BC42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.16
#B2BC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2BC42
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2BC42#FFFFFF#000000##000000
##B2BC421.002.0710.1610.16
#FFFFFF2.071.0021.0021.00
#00000010.1621.001.001.00
##00000010.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2bc42;
/* rgb */ color: rgb(178, 188, 66);
/* oklch */ color: oklch(76.4% 0.144 113.8);
Tailwind
colors: {
  custom: {
    50: '#ccd07d',
    500: '#b2bc42',
    950: '#000000',
  },
}
SCSS
$custom: #b2bc42;
$custom-light: #ccd07d;
$custom-dark: #000000;
JSON
{
  "hex": "#b2bc42",
  "rgb": {
    "r": 178,
    "g": 188,
    "b": 66
  },
  "hsl": {
    "h": 64.918,
    "s": 48.031,
    "l": 49.804
  },
  "oklch": {
    "l": 0.76431,
    "c": 0.14399,
    "h": 113.8
  },
  "luminance": 0.45825
}

Semantic roles & 50–950 ramp

primary
#B2BC42
secondary
#9691C9
accent
#50D85B
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #B2BC42

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

Preview Lab → · Contrast checker → · Palette generator →

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