#B7D151#B7D151

#B7D151 is a light, vivid yellow-green. Relative luminance 0.563; OKLCH L 81.6% C 0.155 H 119.7°. Best body text is #000000 at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#B7D151
RGBrgb(183, 209, 81)
HSLhsl(72, 58%, 57%)
HSVhsv(72, 61%, 82%)
CMYKcmyk(12.4%, 0%, 61.2%, 18%)
CIE-LABlab(79.76, -26.53, 58.84)
CIE-LCHlch(79.76, 64.54, 114.27°)
OKLaboklab(81.64% -0.077 0.135)
OKLCHoklch(81.64% 0.155 119.7)
XYZxyz(43.8147, 56.2625, 16.3345)
Luminance0.5626 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7D151 #6B51D1
analogous
#D1AB51 #B7D151 #77D151
triadic
#B7D151 #51B7D1 #D151B7
tetradic
#B7D151 #51D1AB #6B51D1 #D15177
square
#B7D151 #51D1AB #6B51D1 #D15177
split-complementary
#B7D151 #5177D1 #AB51D1
monochromatic
#718523 #9AB530 #B7D151 #CBDE81 #DFEBB2

Accessibility & contrast

On white

1.71
#B7D151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.25
#B7D151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7D151
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7D151#FFFFFF#000000##000000
##B7D1511.001.7112.2512.25
#FFFFFF1.711.0021.0021.00
#00000012.2521.001.001.00
##00000012.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC642
Deuteranopia (green-blind)
#DAC65A
Tritanopia (blue-blind)
#C1C7B6
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #b7d151;
/* rgb */ color: rgb(183, 209, 81);
/* oklch */ color: oklch(81.6% 0.155 119.7);
Tailwind
colors: {
  custom: {
    50: '#cfdf87',
    500: '#b7d151',
    950: '#000000',
  },
}
SCSS
$custom: #b7d151;
$custom-light: #cfdf87;
$custom-dark: #000000;
JSON
{
  "hex": "#b7d151",
  "rgb": {
    "r": 183,
    "g": 209,
    "b": 81
  },
  "hsl": {
    "h": 72.188,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.81642,
    "c": 0.15545,
    "h": 119.7
  },
  "luminance": 0.56262
}

Semantic roles & 50–950 ramp

primary
#B7D151
secondary
#4B3B8B
accent
#46E166
background
#FEFEFC
surface
#FBFCF3
border
#D4D5CD
text
#14150C
muted
#83847F

Preview Lab

Preview with #B7D151

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

Preview Lab → · Contrast checker → · Palette generator →

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