#B7CC51#B7CC51

#B7CC51 is a light, vivid yellow-green. Relative luminance 0.538; OKLCH L 80.5% C 0.149 H 118.1°. Best body text is #000000 at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#B7CC51
RGBrgb(183, 204, 81)
HSLhsl(70, 55%, 56%)
HSVhsv(70, 60%, 80%)
CMYKcmyk(10.3%, 0%, 60.3%, 20%)
CIE-LABlab(78.37, -24.11, 57.32)
CIE-LCHlch(78.37, 62.19, 112.82°)
OKLaboklab(80.53% -0.0703 0.1318)
OKLCHoklch(80.53% 0.149 118.1)
XYZxyz(42.6072, 53.8475, 15.9320)
Luminance0.5385 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7CC51 #6651CC
analogous
#CCA351 #B7CC51 #79CC51
triadic
#B7CC51 #51B7CC #CC51B7
tetradic
#B7CC51 #51CCA3 #6651CC #CC5179
square
#B7CC51 #51CCA3 #6651CC #CC5179
split-complementary
#B7CC51 #5179CC #A351CC
monochromatic
#6F7E25 #98AD33 #B7CC51 #CBDA80 #DEE8B0

Accessibility & contrast

On white

1.78
#B7CC51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.77
#B7CC51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7CC51
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7CC51#FFFFFF#000000##000000
##B7CC511.001.7811.7711.77
#FFFFFF1.781.0021.0021.00
#00000011.7721.001.001.00
##00000011.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C243
Deuteranopia (green-blind)
#D6C359
Tritanopia (blue-blind)
#C1C2B2
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #b7cc51;
/* rgb */ color: rgb(183, 204, 81);
/* oklch */ color: oklch(80.5% 0.149 118.1);
Tailwind
colors: {
  custom: {
    50: '#cfdb87',
    500: '#b7cc51',
    950: '#000000',
  },
}
SCSS
$custom: #b7cc51;
$custom-light: #cfdb87;
$custom-dark: #000000;
JSON
{
  "hex": "#b7cc51",
  "rgb": {
    "r": 183,
    "g": 204,
    "b": 81
  },
  "hsl": {
    "h": 70.244,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.80525,
    "c": 0.14938,
    "h": 118.1
  },
  "luminance": 0.53847
}

Semantic roles & 50–950 ramp

primary
#B7CC51
secondary
#483C86
accent
#4ADE63
background
#FEFEFC
surface
#FBFBF3
border
#D4D4CD
text
#14150C
muted
#83847F

Preview Lab

Preview with #B7CC51

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

Preview Lab → · Contrast checker → · Palette generator →

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