#B1D540#B1D540

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

Color values

HEX#B1D540
RGBrgb(177, 213, 64)
HSLhsl(74, 64%, 54%)
HSVhsv(74, 70%, 84%)
CMYKcmyk(16.9%, 0%, 70%, 16.5%)
CIE-LABlab(80.35, -31.91, 66.02)
CIE-LCHlch(80.35, 73.33, 115.80°)
OKLaboklab(81.97% -0.0932 0.1479)
OKLCHoklch(81.97% 0.175 122.2)
XYZxyz(42.8517, 57.3057, 13.6531)
Luminance0.5731 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1D540 #6440D5
analogous
#D5AF40 #B1D540 #67D540
triadic
#B1D540 #40B1D5 #D540B1
tetradic
#B1D540 #40D5AF #6440D5 #D54067
square
#B1D540 #40D5AF #6440D5 #D54067
split-complementary
#B1D540 #4067D5 #AF40D5
monochromatic
#677F1C #90B127 #B1D540 #C5E072 #DAEBA4

Accessibility & contrast

On white

1.69
#B1D540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.46
#B1D540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1D540
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1D540#FFFFFF#000000##000000
##B1D5401.001.6912.4612.46
#FFFFFF1.691.0021.0021.00
#00000012.4621.001.001.00
##00000012.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b1d540;
/* rgb */ color: rgb(177, 213, 64);
/* oklch */ color: oklch(82.0% 0.175 122.2);
Tailwind
colors: {
  custom: {
    50: '#cce27e',
    500: '#b1d540',
    950: '#000000',
  },
}
SCSS
$custom: #b1d540;
$custom-light: #cce27e;
$custom-dark: #000000;
JSON
{
  "hex": "#b1d540",
  "rgb": {
    "r": 177,
    "g": 213,
    "b": 64
  },
  "hsl": {
    "h": 74.497,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.81972,
    "c": 0.17479,
    "h": 122.2
  },
  "luminance": 0.57306
}

Semantic roles & 50–950 ramp

primary
#B1D540
secondary
#473386
accent
#41E769
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B1D540

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

Preview Lab → · Contrast checker → · Palette generator →

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