#B7C916#B7C916

#B7C916 is a light, vivid yellow. Relative luminance 0.519; OKLCH L 79.5% C 0.178 H 116.1°. Best body text is #000000 at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#B7C916
RGBrgb(183, 201, 22)
HSLhsl(66, 80%, 44%)
HSVhsv(66, 89%, 79%)
CMYKcmyk(9%, 0%, 89.1%, 21.2%)
CIE-LABlab(77.22, -25.37, 74.78)
CIE-LCHlch(77.22, 78.97, 108.74°)
OKLaboklab(79.5% -0.0784 0.1597)
OKLCHoklch(79.5% 0.178 116.1)
XYZxyz(40.5611, 51.8991, 8.6397)
Luminance0.5190 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C916 #2816C9
analogous
#C98116 #B7C916 #5DC916
triadic
#B7C916 #16B7C9 #C916B7
tetradic
#B7C916 #16C981 #2816C9 #C9165D
square
#B7C916 #16C981 #2816C9 #C9165D
split-complementary
#B7C916 #165DC9 #8116C9
monochromatic
#535B0A #859210 #B7C916 #D6E933 #E1EF6B

Accessibility & contrast

On white

1.85
#B7C916 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.38
#B7C916 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C916
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C916#FFFFFF#000000##000000
##B7C9161.001.8511.3811.38
#FFFFFF1.851.0021.0021.00
#00000011.3821.001.001.00
##00000011.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BE00
Deuteranopia (green-blind)
#D6C02E
Tritanopia (blue-blind)
#C3BDAB
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #b7c916;
/* rgb */ color: rgb(183, 201, 22);
/* oklch */ color: oklch(79.5% 0.178 116.1);
Tailwind
colors: {
  custom: {
    50: '#d1d96c',
    500: '#b7c916',
    950: '#000000',
  },
}
SCSS
$custom: #b7c916;
$custom-light: #d1d96c;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c916",
  "rgb": {
    "r": 183,
    "g": 201,
    "b": 22
  },
  "hsl": {
    "h": 66.034,
    "s": 80.269,
    "l": 43.725
  },
  "oklch": {
    "l": 0.79498,
    "c": 0.17793,
    "h": 116.1
  },
  "luminance": 0.51898
}

Semantic roles & 50–950 ramp

primary
#B7C916
secondary
#241D66
accent
#31F745
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151408
muted
#84837D

Preview Lab

Preview with #B7C916

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

Preview Lab → · Contrast checker → · Palette generator →

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