#B2D150#B2D150

#B2D150 is a light, vivid yellow-green. Relative luminance 0.556; OKLCH L 81.3% C 0.158 H 121.5°. Best body text is #000000 at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#B2D150
RGBrgb(178, 209, 80)
HSLhsl(74, 58%, 57%)
HSVhsv(74, 62%, 82%)
CMYKcmyk(14.8%, 0%, 61.7%, 18%)
CIE-LABlab(79.41, -28.59, 58.78)
CIE-LCHlch(79.41, 65.36, 115.94°)
OKLaboklab(81.27% -0.0826 0.1349)
OKLCHoklch(81.27% 0.158 121.5)
XYZxyz(42.6090, 55.6451, 16.0837)
Luminance0.5565 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2D150 #6F50D1
analogous
#D1B050 #B2D150 #72D150
triadic
#B2D150 #50B2D1 #D150B2
tetradic
#B2D150 #50D1B0 #6F50D1 #D15072
square
#B2D150 #50D1B0 #6F50D1 #D15072
split-complementary
#B2D150 #5072D1 #B050D1
monochromatic
#6D8423 #94B42F #B2D150 #C7DE80 #DDEAB1

Accessibility & contrast

On white

1.73
#B2D150 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.13
#B2D150 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2D150
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2D150#FFFFFF#000000##000000
##B2D1501.001.7312.1312.13
#FFFFFF1.731.0021.0021.00
#00000012.1321.001.001.00
##00000012.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC540
Deuteranopia (green-blind)
#D9C559
Tritanopia (blue-blind)
#BBC7B6
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #b2d150;
/* rgb */ color: rgb(178, 209, 80);
/* oklch */ color: oklch(81.3% 0.158 121.5);
Tailwind
colors: {
  custom: {
    50: '#ccdf86',
    500: '#b2d150',
    950: '#000000',
  },
}
SCSS
$custom: #b2d150;
$custom-light: #ccdf86;
$custom-dark: #000000;
JSON
{
  "hex": "#b2d150",
  "rgb": {
    "r": 178,
    "g": 209,
    "b": 80
  },
  "hsl": {
    "h": 74.419,
    "s": 58.371,
    "l": 56.667
  },
  "oklch": {
    "l": 0.81269,
    "c": 0.15813,
    "h": 121.5
  },
  "luminance": 0.55645
}

Semantic roles & 50–950 ramp

primary
#B2D150
secondary
#4E3A8B
accent
#46E26C
background
#FEFEFC
surface
#FBFCF3
border
#D4D5CD
text
#14150C
muted
#83847F

Preview Lab

Preview with #B2D150

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

Preview Lab → · Contrast checker → · Palette generator →

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