#B4C916#B4C916

#B4C916 is a light, vivid yellow. Relative luminance 0.515; OKLCH L 79.3% C 0.179 H 117.2°. Best body text is #000000 at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#B4C916
RGBrgb(180, 201, 22)
HSLhsl(67, 80%, 44%)
HSVhsv(67, 89%, 79%)
CMYKcmyk(10.4%, 0%, 89.1%, 21.2%)
CIE-LABlab(77.00, -26.63, 74.52)
CIE-LCHlch(77.00, 79.13, 109.67°)
OKLaboklab(79.27% -0.0817 0.1593)
OKLCHoklch(79.27% 0.179 117.2)
XYZxyz(39.8550, 51.5350, 8.6066)
Luminance0.5153 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C916 #2B16C9
analogous
#C98416 #B4C916 #5AC916
triadic
#B4C916 #16B4C9 #C916B4
tetradic
#B4C916 #16C984 #2B16C9 #C9165A
square
#B4C916 #16C984 #2B16C9 #C9165A
split-complementary
#B4C916 #165AC9 #8416C9
monochromatic
#515B0A #839210 #B4C916 #D3E933 #DFEF6B

Accessibility & contrast

On white

1.86
#B4C916 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.31
#B4C916 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4C916
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4C916#FFFFFF#000000##000000
##B4C9161.001.8611.3111.31
#FFFFFF1.861.0021.0021.00
#00000011.3121.001.001.00
##00000011.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE00
Deuteranopia (green-blind)
#D5BF2E
Tritanopia (blue-blind)
#C0BDAB
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #b4c916;
/* rgb */ color: rgb(180, 201, 22);
/* oklch */ color: oklch(79.3% 0.179 117.2);
Tailwind
colors: {
  custom: {
    50: '#cfd96b',
    500: '#b4c916',
    950: '#000000',
  },
}
SCSS
$custom: #b4c916;
$custom-light: #cfd96b;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c916",
  "rgb": {
    "r": 180,
    "g": 201,
    "b": 22
  },
  "hsl": {
    "h": 67.039,
    "s": 80.269,
    "l": 43.725
  },
  "oklch": {
    "l": 0.79267,
    "c": 0.179,
    "h": 117.2
  },
  "luminance": 0.51535
}

Semantic roles & 50–950 ramp

primary
#B4C916
secondary
#251D66
accent
#31F748
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141408
muted
#83837D

Preview Lab

Preview with #B4C916

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

Preview Lab → · Contrast checker → · Palette generator →

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