#B1D342#B1D342

#B1D342 is a light, vivid yellow-green. Relative luminance 0.563; OKLCH L 81.5% C 0.171 H 121.8°. Best body text is #000000 at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#B1D342
RGBrgb(177, 211, 66)
HSLhsl(74, 62%, 54%)
HSVhsv(74, 69%, 83%)
CMYKcmyk(16.1%, 0%, 68.7%, 17.3%)
CIE-LABlab(79.80, -30.86, 64.73)
CIE-LCHlch(79.80, 71.71, 115.49°)
OKLaboklab(81.53% -0.0901 0.1455)
OKLCHoklch(81.53% 0.171 121.8)
XYZxyz(42.4097, 56.3289, 13.7915)
Luminance0.5633 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1D342 #6442D3
analogous
#D3AD42 #B1D342 #69D342
triadic
#B1D342 #42B1D3 #D342B1
tetradic
#B1D342 #42D3AD #6442D3 #D34269
square
#B1D342 #42D3AD #6442D3 #D34269
split-complementary
#B1D342 #4269D3 #AD42D3
monochromatic
#677D1D #90AF29 #B1D342 #C5DF74 #DAEAA5

Accessibility & contrast

On white

1.71
#B1D342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.27
#B1D342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1D342
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1D342#FFFFFF#000000##000000
##B1D3421.001.7112.2712.27
#FFFFFF1.711.0021.0021.00
#00000012.2721.001.001.00
##00000012.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC72B
Deuteranopia (green-blind)
#DBC64E
Tritanopia (blue-blind)
#BAC8B6
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #b1d342;
/* rgb */ color: rgb(177, 211, 66);
/* oklch */ color: oklch(81.5% 0.171 121.8);
Tailwind
colors: {
  custom: {
    50: '#cce07f',
    500: '#b1d342',
    950: '#000000',
  },
}
SCSS
$custom: #b1d342;
$custom-light: #cce07f;
$custom-dark: #000000;
JSON
{
  "hex": "#b1d342",
  "rgb": {
    "r": 177,
    "g": 211,
    "b": 66
  },
  "hsl": {
    "h": 74.069,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.81532,
    "c": 0.17113,
    "h": 121.8
  },
  "luminance": 0.56329
}

Semantic roles & 50–950 ramp

primary
#B1D342
secondary
#473485
accent
#42E569
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #B1D342

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

Preview Lab → · Contrast checker → · Palette generator →

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