#B2D027#B2D027

#B2D027 is a light, vivid yellow-green. Relative luminance 0.547; OKLCH L 80.8% C 0.182 H 120.0°. Best body text is #000000 at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#B2D027
RGBrgb(178, 208, 39)
HSLhsl(71, 68%, 48%)
HSVhsv(71, 81%, 82%)
CMYKcmyk(14.4%, 0%, 81.3%, 18.4%)
CIE-LABlab(78.88, -30.31, 72.44)
CIE-LCHlch(78.88, 78.53, 112.71°)
OKLaboklab(80.76% -0.0908 0.1574)
OKLCHoklch(80.76% 0.182 120)
XYZxyz(41.2831, 54.7234, 10.3069)
Luminance0.5472 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2D027 #4527D0
analogous
#D09927 #B2D027 #5DD027
triadic
#B2D027 #27B2D0 #D027B2
tetradic
#B2D027 #27D099 #4527D0 #D0275D
square
#B2D027 #27D099 #4527D0 #D0275D
split-complementary
#B2D027 #275DD0 #9927D0
monochromatic
#5A6914 #869C1D #B2D027 #C7DF55 #D8E989

Accessibility & contrast

On white

1.76
#B2D027 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.94
#B2D027 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2D027
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2D027#FFFFFF#000000##000000
##B2D0271.001.7611.9411.94
#FFFFFF1.761.0021.0021.00
#00000011.9421.001.001.00
##00000011.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC400
Deuteranopia (green-blind)
#DAC439
Tritanopia (blue-blind)
#BDC5B2
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #b2d027;
/* rgb */ color: rgb(178, 208, 39);
/* oklch */ color: oklch(80.8% 0.182 120.0);
Tailwind
colors: {
  custom: {
    50: '#cdde72',
    500: '#b2d027',
    950: '#000000',
  },
}
SCSS
$custom: #b2d027;
$custom-light: #cdde72;
$custom-dark: #000000;
JSON
{
  "hex": "#b2d027",
  "rgb": {
    "r": 178,
    "g": 208,
    "b": 39
  },
  "hsl": {
    "h": 70.651,
    "s": 68.421,
    "l": 48.431
  },
  "oklch": {
    "l": 0.80763,
    "c": 0.18167,
    "h": 120
  },
  "luminance": 0.54723
}

Semantic roles & 50–950 ramp

primary
#B2D027
secondary
#362873
accent
#3DEB5C
background
#FEFEFB
surface
#FBFCF1
border
#D4D5CB
text
#141509
muted
#83847D

Preview Lab

Preview with #B2D027

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

Preview Lab → · Contrast checker → · Palette generator →

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