#B1D42D#B1D42D

#B1D42D is a light, vivid yellow-green. Relative luminance 0.566; OKLCH L 81.6% C 0.184 H 121.4°. Best body text is #000000 at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#B1D42D
RGBrgb(177, 212, 45)
HSLhsl(73, 66%, 50%)
HSVhsv(73, 79%, 83%)
CMYKcmyk(16.5%, 0%, 78.8%, 16.9%)
CIE-LABlab(79.97, -32.36, 71.78)
CIE-LCHlch(79.97, 78.74, 114.27°)
OKLaboklab(81.63% -0.0959 0.157)
OKLCHoklch(81.63% 0.184 121.4)
XYZxyz(42.1493, 56.6235, 11.1910)
Luminance0.5662 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1D42D #502DD4
analogous
#D4A42D #B1D42D #5DD42D
triadic
#B1D42D #2DB1D4 #D42DB1
tetradic
#B1D42D #2DD4A4 #502DD4 #D42D5D
square
#B1D42D #2DD4A4 #502DD4 #D42D5D
split-complementary
#B1D42D #2D5DD4 #A42DD4
monochromatic
#5D7017 #87A321 #B1D42D #C4DE60 #D7E993

Accessibility & contrast

On white

1.70
#B1D42D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.32
#B1D42D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1D42D
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1D42D#FFFFFF#000000##000000
##B1D42D1.001.7012.3212.32
#FFFFFF1.701.0021.0021.00
#00000012.3221.001.001.00
##00000012.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C700
Deuteranopia (green-blind)
#DDC63E
Tritanopia (blue-blind)
#BBC9B6
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #b1d42d;
/* rgb */ color: rgb(177, 212, 45);
/* oklch */ color: oklch(81.6% 0.184 121.4);
Tailwind
colors: {
  custom: {
    50: '#cce175',
    500: '#b1d42d',
    950: '#000000',
  },
}
SCSS
$custom: #b1d42d;
$custom-light: #cce175;
$custom-dark: #000000;
JSON
{
  "hex": "#b1d42d",
  "rgb": {
    "r": 177,
    "g": 212,
    "b": 45
  },
  "hsl": {
    "h": 72.575,
    "s": 66.008,
    "l": 50.392
  },
  "oklch": {
    "l": 0.8163,
    "c": 0.18396,
    "h": 121.4
  },
  "luminance": 0.56624
}

Semantic roles & 50–950 ramp

primary
#B1D42D
secondary
#3C2C79
accent
#3FE963
background
#FEFEFB
surface
#FBFCF1
border
#D4D5CB
text
#141509
muted
#83847D

Preview Lab

Preview with #B1D42D

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

Preview Lab → · Contrast checker → · Palette generator →

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