#B2BC51#B2BC51

#B2BC51 is a light, vivid yellow. Relative luminance 0.460; OKLCH L 76.6% C 0.132 H 114.0°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#B2BC51
RGBrgb(178, 188, 81)
HSLhsl(66, 44%, 53%)
HSVhsv(66, 57%, 74%)
CMYKcmyk(5.3%, 0%, 56.9%, 26.3%)
CIE-LABlab(73.56, -18.26, 51.88)
CIE-LCHlch(73.56, 55.00, 109.39°)
OKLaboklab(76.58% -0.0535 0.1203)
OKLCHoklch(76.58% 0.132 114)
XYZxyz(37.8293, 46.0261, 14.6741)
Luminance0.4602 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BC51 #5B51BC
analogous
#BC9051 #B2BC51 #7DBC51
triadic
#B2BC51 #51B2BC #BC51B2
tetradic
#B2BC51 #51BC90 #5B51BC #BC517D
square
#B2BC51 #51BC90 #5B51BC #BC517D
split-complementary
#B2BC51 #517DBC #9051BC
monochromatic
#646A29 #8D963A #B2BC51 #C6CD7D #D9DEA9

Accessibility & contrast

On white

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

On black

10.20
#B2BC51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2BC51
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2BC51#FFFFFF#000000##000000
##B2BC511.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B446
Deuteranopia (green-blind)
#C8B657
Tritanopia (blue-blind)
#BCB2A5
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b2bc51;
/* rgb */ color: rgb(178, 188, 81);
/* oklch */ color: oklch(76.6% 0.132 114.0);
Tailwind
colors: {
  custom: {
    50: '#cbd086',
    500: '#b2bc51',
    950: '#000000',
  },
}
SCSS
$custom: #b2bc51;
$custom-light: #cbd086;
$custom-dark: #000000;
JSON
{
  "hex": "#b2bc51",
  "rgb": {
    "r": 178,
    "g": 188,
    "b": 81
  },
  "hsl": {
    "h": 65.607,
    "s": 44.398,
    "l": 52.745
  },
  "oklch": {
    "l": 0.76577,
    "c": 0.13168,
    "h": 114
  },
  "luminance": 0.46025
}

Semantic roles & 50–950 ramp

primary
#B2BC51
secondary
#A29DCC
accent
#54D460
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#14130B
muted
#82827C

Preview Lab

Preview with #B2BC51

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

Preview Lab → · Contrast checker → · Palette generator →

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