#B1D538#B1D538

#B1D538 is a light, vivid yellow-green. Relative luminance 0.572; OKLCH L 81.9% C 0.180 H 122.0°. Best body text is #000000 at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#B1D538
RGBrgb(177, 213, 56)
HSLhsl(74, 65%, 53%)
HSVhsv(74, 74%, 84%)
CMYKcmyk(16.9%, 0%, 73.7%, 16.5%)
CIE-LABlab(80.30, -32.34, 68.74)
CIE-LCHlch(80.30, 75.96, 115.20°)
OKLaboklab(81.92% -0.095 0.1523)
OKLCHoklch(81.92% 0.18 122)
XYZxyz(42.6402, 57.2211, 12.5390)
Luminance0.5722 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1D538 #5C38D5
analogous
#D5AA38 #B1D538 #62D538
triadic
#B1D538 #38B1D5 #D538B1
tetradic
#B1D538 #38D5AA #5C38D5 #D53862
square
#B1D538 #38D5AA #5C38D5 #D53862
split-complementary
#B1D538 #3862D5 #AA38D5
monochromatic
#63791A #8DAC24 #B1D538 #C5E06B #D9EA9D

Accessibility & contrast

On white

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

On black

12.44
#B1D538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1D538
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1D538#FFFFFF#000000##000000
##B1D5381.001.6912.4412.44
#FFFFFF1.691.0021.0021.00
#00000012.4421.001.001.00
##00000012.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C816
Deuteranopia (green-blind)
#DDC746
Tritanopia (blue-blind)
#BACAB7
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #b1d538;
/* rgb */ color: rgb(177, 213, 56);
/* oklch */ color: oklch(81.9% 0.180 122.0);
Tailwind
colors: {
  custom: {
    50: '#cce27a',
    500: '#b1d538',
    950: '#000000',
  },
}
SCSS
$custom: #b1d538;
$custom-light: #cce27a;
$custom-dark: #000000;
JSON
{
  "hex": "#b1d538",
  "rgb": {
    "r": 177,
    "g": 213,
    "b": 56
  },
  "hsl": {
    "h": 73.758,
    "s": 65.145,
    "l": 52.745
  },
  "oklch": {
    "l": 0.81919,
    "c": 0.17954,
    "h": 122
  },
  "luminance": 0.57221
}

Semantic roles & 50–950 ramp

primary
#B1D538
secondary
#433081
accent
#40E866
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B1D538

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

Preview Lab → · Contrast checker → · Palette generator →

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