#B1D842#B1D842

#B1D842 is a very light, vivid yellow-green. Relative luminance 0.589; OKLCH L 82.7% C 0.177 H 123.0°. Best body text is #000000 at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#B1D842
RGBrgb(177, 216, 66)
HSLhsl(76, 66%, 55%)
HSVhsv(76, 69%, 85%)
CMYKcmyk(18.1%, 0%, 69.4%, 15.3%)
CIE-LABlab(81.21, -33.19, 66.15)
CIE-LCHlch(81.21, 74.01, 116.64°)
OKLaboklab(82.67% -0.0965 0.1485)
OKLCHoklch(82.67% 0.177 123)
XYZxyz(43.6712, 58.8520, 14.2121)
Luminance0.5885 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1D842 #6942D8
analogous
#D8B442 #B1D842 #66D842
triadic
#B1D842 #42B1D8 #D842B1
tetradic
#B1D842 #42D8B4 #6942D8 #D84266
square
#B1D842 #42D8B4 #6942D8 #D84266
split-complementary
#B1D842 #4266D8 #B442D8
monochromatic
#69841B #91B726 #B1D842 #C6E275 #DBEDA7

Accessibility & contrast

On white

1.64
#B1D842 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.77
#B1D842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1D842
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1D842#FFFFFF#000000##000000
##B1D8421.001.6412.7712.77
#FFFFFF1.641.0021.0021.00
#00000012.7721.001.001.00
##00000012.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB29
Deuteranopia (green-blind)
#DFCA4E
Tritanopia (blue-blind)
#BACDBA
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #b1d842;
/* rgb */ color: rgb(177, 216, 66);
/* oklch */ color: oklch(82.7% 0.177 123.0);
Tailwind
colors: {
  custom: {
    50: '#cce47f',
    500: '#b1d842',
    950: '#000000',
  },
}
SCSS
$custom: #b1d842;
$custom-light: #cce47f;
$custom-dark: #000000;
JSON
{
  "hex": "#b1d842",
  "rgb": {
    "r": 177,
    "g": 216,
    "b": 66
  },
  "hsl": {
    "h": 75.6,
    "s": 65.789,
    "l": 55.294
  },
  "oklch": {
    "l": 0.8267,
    "c": 0.17708,
    "h": 123
  },
  "luminance": 0.58852
}

Semantic roles & 50–950 ramp

primary
#B1D842
secondary
#4A338B
accent
#3FE96B
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #B1D842

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

Preview Lab → · Contrast checker → · Palette generator →

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