#B7D751#B7D751

#B7D751 is a very light, vivid yellow-green. Relative luminance 0.593; OKLCH L 83.0% C 0.163 H 121.5°. Best body text is #000000 at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#B7D751
RGBrgb(183, 215, 81)
HSLhsl(74, 63%, 58%)
HSVhsv(74, 62%, 84%)
CMYKcmyk(14.9%, 0%, 62.3%, 15.7%)
CIE-LABlab(81.44, -29.38, 60.65)
CIE-LCHlch(81.44, 67.39, 115.84°)
OKLaboklab(82.99% -0.085 0.1389)
OKLCHoklch(82.99% 0.163 121.5)
XYZxyz(45.3146, 59.2622, 16.8345)
Luminance0.5926 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7D751 #7151D7
analogous
#D7B451 #B7D751 #74D751
triadic
#B7D751 #51B7D7 #D751B7
tetradic
#B7D751 #51D7B4 #7151D7 #D75174
square
#B7D751 #51D7B4 #7151D7 #D75174
split-complementary
#B7D751 #5174D7 #B451D7
monochromatic
#738D20 #9CBF2C #B7D751 #CCE283 #E0EEB5

Accessibility & contrast

On white

1.63
#B7D751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.85
#B7D751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7D751
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7D751#FFFFFF#000000##000000
##B7D7511.001.6312.8512.85
#FFFFFF1.631.0021.0021.00
#00000012.8521.001.001.00
##00000012.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB40
Deuteranopia (green-blind)
#DFCA5A
Tritanopia (blue-blind)
#C0CDBB
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #b7d751;
/* rgb */ color: rgb(183, 215, 81);
/* oklch */ color: oklch(83.0% 0.163 121.5);
Tailwind
colors: {
  custom: {
    50: '#cfe388',
    500: '#b7d751',
    950: '#000000',
  },
}
SCSS
$custom: #b7d751;
$custom-light: #cfe388;
$custom-dark: #000000;
JSON
{
  "hex": "#b7d751",
  "rgb": {
    "r": 183,
    "g": 215,
    "b": 81
  },
  "hsl": {
    "h": 74.328,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.82988,
    "c": 0.16279,
    "h": 121.5
  },
  "luminance": 0.59262
}

Semantic roles & 50–950 ramp

primary
#B7D751
secondary
#4F3993
accent
#42E669
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #B7D751

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

Preview Lab → · Contrast checker → · Palette generator →

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