#B1D752#B1D752

#B1D752 is a very light, vivid yellow-green. Relative luminance 0.586; OKLCH L 82.6% C 0.164 H 123.5°. Best body text is #000000 at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#B1D752
RGBrgb(177, 215, 82)
HSLhsl(77, 62%, 58%)
HSVhsv(77, 62%, 84%)
CMYKcmyk(17.7%, 0%, 61.9%, 15.7%)
CIE-LABlab(81.05, -31.65, 59.70)
CIE-LCHlch(81.05, 67.57, 117.93°)
OKLaboklab(82.58% -0.0908 0.1371)
OKLCHoklch(82.58% 0.164 123.5)
XYZxyz(43.9552, 58.5569, 16.9679)
Luminance0.5856 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1D752 #7852D7
analogous
#D7BA52 #B1D752 #6ED752
triadic
#B1D752 #52B1D7 #D752B1
tetradic
#B1D752 #52D7BA #7852D7 #D7526E
square
#B1D752 #52D7BA #7852D7 #D7526E
split-complementary
#B1D752 #526ED7 #BA52D7
monochromatic
#6F8E21 #95C02C #B1D752 #C7E284 #DEEEB5

Accessibility & contrast

On white

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

On black

12.71
#B1D752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1D752
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1D752#FFFFFF#000000##000000
##B1D7521.001.6512.7112.71
#FFFFFF1.651.0021.0021.00
#00000012.7121.001.001.00
##00000012.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b1d752;
/* rgb */ color: rgb(177, 215, 82);
/* oklch */ color: oklch(82.6% 0.164 123.5);
Tailwind
colors: {
  custom: {
    50: '#cbe388',
    500: '#b1d752',
    950: '#000000',
  },
}
SCSS
$custom: #b1d752;
$custom-light: #cbe388;
$custom-dark: #000000;
JSON
{
  "hex": "#b1d752",
  "rgb": {
    "r": 177,
    "g": 215,
    "b": 82
  },
  "hsl": {
    "h": 77.143,
    "s": 62.441,
    "l": 58.235
  },
  "oklch": {
    "l": 0.82576,
    "c": 0.16444,
    "h": 123.5
  },
  "luminance": 0.58557
}

Semantic roles & 50–950 ramp

primary
#B1D752
secondary
#533A93
accent
#42E671
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #B1D752

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

Preview Lab → · Contrast checker → · Palette generator →

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