#B1D542#B1D542

#B1D542 is a light, vivid yellow-green. Relative luminance 0.573; OKLCH L 82.0% C 0.173 H 122.3°. Best body text is #000000 at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#B1D542
RGBrgb(177, 213, 66)
HSLhsl(75, 64%, 55%)
HSVhsv(75, 69%, 84%)
CMYKcmyk(16.9%, 0%, 69%, 16.5%)
CIE-LABlab(80.36, -31.80, 65.30)
CIE-LCHlch(80.36, 72.63, 115.96°)
OKLaboklab(81.99% -0.0927 0.1467)
OKLCHoklch(81.99% 0.174 122.3)
XYZxyz(42.9096, 57.3288, 13.9582)
Luminance0.5733 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1D542 #6642D5
analogous
#D5B042 #B1D542 #68D542
triadic
#B1D542 #42B1D5 #D542B1
tetradic
#B1D542 #42D5B0 #6642D5 #D54268
square
#B1D542 #42D5B0 #6642D5 #D54268
split-complementary
#B1D542 #4268D5 #B042D5
monochromatic
#68801C #90B228 #B1D542 #C6E074 #DAEBA6

Accessibility & contrast

On white

1.68
#B1D542 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.47
#B1D542 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1D542
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1D542#FFFFFF#000000##000000
##B1D5421.001.6812.4712.47
#FFFFFF1.681.0021.0021.00
#00000012.4721.001.001.00
##00000012.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C82A
Deuteranopia (green-blind)
#DDC74E
Tritanopia (blue-blind)
#BACAB8
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #b1d542;
/* rgb */ color: rgb(177, 213, 66);
/* oklch */ color: oklch(82.0% 0.173 122.3);
Tailwind
colors: {
  custom: {
    50: '#cce27f',
    500: '#b1d542',
    950: '#000000',
  },
}
SCSS
$custom: #b1d542;
$custom-light: #cce27f;
$custom-dark: #000000;
JSON
{
  "hex": "#b1d542",
  "rgb": {
    "r": 177,
    "g": 213,
    "b": 66
  },
  "hsl": {
    "h": 74.694,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.81987,
    "c": 0.1735,
    "h": 122.3
  },
  "luminance": 0.57329
}

Semantic roles & 50–950 ramp

primary
#B1D542
secondary
#483487
accent
#41E76A
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #B1D542

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

Preview Lab → · Contrast checker → · Palette generator →

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