#B2D438#B2D438

#B2D438 is a light, vivid yellow-green. Relative luminance 0.568; OKLCH L 81.8% C 0.178 H 121.4°. Best body text is #000000 at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#B2D438
RGBrgb(178, 212, 56)
HSLhsl(73, 64%, 53%)
HSVhsv(73, 74%, 83%)
CMYKcmyk(16%, 0%, 73.6%, 16.9%)
CIE-LABlab(80.09, -31.48, 68.55)
CIE-LCHlch(80.09, 75.43, 114.66°)
OKLaboklab(81.76% -0.0927 0.1519)
OKLCHoklch(81.76% 0.178 121.4)
XYZxyz(42.6181, 56.8375, 12.4661)
Luminance0.5684 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2D438 #5A38D4
analogous
#D4A838 #B2D438 #64D438
triadic
#B2D438 #38B2D4 #D438B2
tetradic
#B2D438 #38D4A8 #5A38D4 #D43864
square
#B2D438 #38D4A8 #5A38D4 #D43864
split-complementary
#B2D438 #3864D4 #A838D4
monochromatic
#63781A #8DAA25 #B2D438 #C5DF6A #D9EA9D

Accessibility & contrast

On white

1.70
#B2D438 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.37
#B2D438 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2D438
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2D438#FFFFFF#000000##000000
##B2D4381.001.7012.3712.37
#FFFFFF1.701.0021.0021.00
#00000012.3721.001.001.00
##00000012.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2d438;
/* rgb */ color: rgb(178, 212, 56);
/* oklch */ color: oklch(81.8% 0.178 121.4);
Tailwind
colors: {
  custom: {
    50: '#cde17a',
    500: '#b2d438',
    950: '#000000',
  },
}
SCSS
$custom: #b2d438;
$custom-light: #cde17a;
$custom-dark: #000000;
JSON
{
  "hex": "#b2d438",
  "rgb": {
    "r": 178,
    "g": 212,
    "b": 56
  },
  "hsl": {
    "h": 73.077,
    "s": 64.463,
    "l": 52.549
  },
  "oklch": {
    "l": 0.81761,
    "c": 0.17797,
    "h": 121.4
  },
  "luminance": 0.56837
}

Semantic roles & 50–950 ramp

primary
#B2D438
secondary
#423080
accent
#40E765
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B2D438

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

Preview Lab → · Contrast checker → · Palette generator →

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