#B2D751#B2D751

#B2D751 is a very light, vivid yellow-green. Relative luminance 0.587; OKLCH L 82.6% C 0.165 H 123.2°. Best body text is #000000 at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#B2D751
RGBrgb(178, 215, 81)
HSLhsl(77, 63%, 58%)
HSVhsv(77, 62%, 84%)
CMYKcmyk(17.2%, 0%, 62.3%, 15.7%)
CIE-LABlab(81.10, -31.34, 60.19)
CIE-LCHlch(81.10, 67.86, 117.50°)
OKLaboklab(82.64% -0.0901 0.138)
OKLCHoklch(82.64% 0.165 123.2)
XYZxyz(44.1461, 58.6597, 16.7797)
Luminance0.5866 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2D751 #7651D7
analogous
#D7B951 #B2D751 #6FD751
triadic
#B2D751 #51B2D7 #D751B2
tetradic
#B2D751 #51D7B9 #7651D7 #D7516F
square
#B2D751 #51D7B9 #7651D7 #D7516F
split-complementary
#B2D751 #516FD7 #B951D7
monochromatic
#6F8D20 #96BF2C #B2D751 #C8E283 #DEEEB5

Accessibility & contrast

On white

1.65
#B2D751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.73
#B2D751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2D751
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2D751#FFFFFF#000000##000000
##B2D7511.001.6512.7312.73
#FFFFFF1.651.0021.0021.00
#00000012.7321.001.001.00
##00000012.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CA41
Deuteranopia (green-blind)
#DEC95B
Tritanopia (blue-blind)
#BACDBB
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #b2d751;
/* rgb */ color: rgb(178, 215, 81);
/* oklch */ color: oklch(82.6% 0.165 123.2);
Tailwind
colors: {
  custom: {
    50: '#cce387',
    500: '#b2d751',
    950: '#000000',
  },
}
SCSS
$custom: #b2d751;
$custom-light: #cce387;
$custom-dark: #000000;
JSON
{
  "hex": "#b2d751",
  "rgb": {
    "r": 178,
    "g": 215,
    "b": 81
  },
  "hsl": {
    "h": 76.567,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.82636,
    "c": 0.1648,
    "h": 123.2
  },
  "luminance": 0.5866
}

Semantic roles & 50–950 ramp

primary
#B2D751
secondary
#523993
accent
#42E66F
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #B2D751

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

Preview Lab → · Contrast checker → · Palette generator →

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