#B2D538#B2D538

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

Color values

HEX#B2D538
RGBrgb(178, 213, 56)
HSLhsl(73, 65%, 53%)
HSVhsv(73, 74%, 84%)
CMYKcmyk(16.4%, 0%, 73.7%, 16.5%)
CIE-LABlab(80.37, -31.94, 68.82)
CIE-LCHlch(80.37, 75.87, 114.90°)
OKLaboklab(81.99% -0.094 0.1525)
OKLCHoklch(81.99% 0.179 121.6)
XYZxyz(42.8688, 57.3390, 12.5497)
Luminance0.5734 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2D538 #5B38D5
analogous
#D5AA38 #B2D538 #63D538
triadic
#B2D538 #38B2D5 #D538B2
tetradic
#B2D538 #38D5AA #5B38D5 #D53863
square
#B2D538 #38D5AA #5B38D5 #D53863
split-complementary
#B2D538 #3863D5 #AA38D5
monochromatic
#64791A #8DAC24 #B2D538 #C6E06B #D9EA9D

Accessibility & contrast

On white

1.68
#B2D538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.47
#B2D538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2D538
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2D538#FFFFFF#000000##000000
##B2D5381.001.6812.4712.47
#FFFFFF1.681.0021.0021.00
#00000012.4721.001.001.00
##00000012.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2d538;
/* rgb */ color: rgb(178, 213, 56);
/* oklch */ color: oklch(82.0% 0.179 121.6);
Tailwind
colors: {
  custom: {
    50: '#cde27a',
    500: '#b2d538',
    950: '#000000',
  },
}
SCSS
$custom: #b2d538;
$custom-light: #cde27a;
$custom-dark: #000000;
JSON
{
  "hex": "#b2d538",
  "rgb": {
    "r": 178,
    "g": 213,
    "b": 56
  },
  "hsl": {
    "h": 73.376,
    "s": 65.145,
    "l": 52.745
  },
  "oklch": {
    "l": 0.81989,
    "c": 0.17913,
    "h": 121.6
  },
  "luminance": 0.57339
}

Semantic roles & 50–950 ramp

primary
#B2D538
secondary
#423081
accent
#40E865
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B2D538

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

Preview Lab → · Contrast checker → · Palette generator →

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