#B2C916#B2C916

#B2C916 is a light, vivid yellow. Relative luminance 0.513; OKLCH L 79.1% C 0.180 H 117.8°. Best body text is #000000 at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#B2C916
RGBrgb(178, 201, 22)
HSLhsl(68, 80%, 44%)
HSVhsv(68, 89%, 79%)
CMYKcmyk(11.4%, 0%, 89.1%, 21.2%)
CIE-LABlab(76.86, -27.46, 74.34)
CIE-LCHlch(76.86, 79.25, 110.28°)
OKLaboklab(79.12% -0.0839 0.159)
OKLCHoklch(79.12% 0.18 117.8)
XYZxyz(39.3926, 51.2966, 8.5849)
Luminance0.5130 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C916 #2D16C9
analogous
#C98616 #B2C916 #59C916
triadic
#B2C916 #16B2C9 #C916B2
tetradic
#B2C916 #16C986 #2D16C9 #C91659
square
#B2C916 #16C986 #2D16C9 #C91659
split-complementary
#B2C916 #1659C9 #8616C9
monochromatic
#505B0A #819210 #B2C916 #D1E933 #DEEF6B

Accessibility & contrast

On white

1.87
#B2C916 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.26
#B2C916 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C916
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C916#FFFFFF#000000##000000
##B2C9161.001.8711.2611.26
#FFFFFF1.871.0021.0021.00
#00000011.2621.001.001.00
##00000011.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BD00
Deuteranopia (green-blind)
#D5BE2E
Tritanopia (blue-blind)
#BEBDAB
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #b2c916;
/* rgb */ color: rgb(178, 201, 22);
/* oklch */ color: oklch(79.1% 0.180 117.8);
Tailwind
colors: {
  custom: {
    50: '#cdd96b',
    500: '#b2c916',
    950: '#000000',
  },
}
SCSS
$custom: #b2c916;
$custom-light: #cdd96b;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c916",
  "rgb": {
    "r": 178,
    "g": 201,
    "b": 22
  },
  "hsl": {
    "h": 67.709,
    "s": 80.269,
    "l": 43.725
  },
  "oklch": {
    "l": 0.79116,
    "c": 0.17974,
    "h": 117.8
  },
  "luminance": 0.51296
}

Semantic roles & 50–950 ramp

primary
#B2C916
secondary
#261D66
accent
#31F74A
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141408
muted
#83837D

Preview Lab

Preview with #B2C916

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

Preview Lab → · Contrast checker → · Palette generator →

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