#B2D250#B2D250

#B2D250 is a light, vivid yellow-green. Relative luminance 0.561; OKLCH L 81.5% C 0.159 H 121.8°. Best body text is #000000 at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#B2D250
RGBrgb(178, 210, 80)
HSLhsl(75, 59%, 57%)
HSVhsv(75, 62%, 82%)
CMYKcmyk(15.2%, 0%, 61.9%, 17.6%)
CIE-LABlab(79.69, -29.06, 59.08)
CIE-LCHlch(79.69, 65.84, 116.19°)
OKLaboklab(81.49% -0.0839 0.1355)
OKLCHoklch(81.49% 0.159 121.8)
XYZxyz(42.8551, 56.1373, 16.1658)
Luminance0.5614 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2D250 #7050D2
analogous
#D2B150 #B2D250 #71D250
triadic
#B2D250 #50B2D2 #D250B2
tetradic
#B2D250 #50D2B1 #7050D2 #D25071
square
#B2D250 #50D2B1 #7050D2 #D25071
split-complementary
#B2D250 #5071D2 #B150D2
monochromatic
#6D8522 #95B62F #B2D250 #C7DF81 #DDEBB1

Accessibility & contrast

On white

1.72
#B2D250 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.23
#B2D250 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2D250
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2D250#FFFFFF#000000##000000
##B2D2501.001.7212.2312.23
#FFFFFF1.721.0021.0021.00
#00000012.2321.001.001.00
##00000012.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC640
Deuteranopia (green-blind)
#DAC659
Tritanopia (blue-blind)
#BBC8B7
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #b2d250;
/* rgb */ color: rgb(178, 210, 80);
/* oklch */ color: oklch(81.5% 0.159 121.8);
Tailwind
colors: {
  custom: {
    50: '#ccdf87',
    500: '#b2d250',
    950: '#000000',
  },
}
SCSS
$custom: #b2d250;
$custom-light: #ccdf87;
$custom-dark: #000000;
JSON
{
  "hex": "#b2d250",
  "rgb": {
    "r": 178,
    "g": 210,
    "b": 80
  },
  "hsl": {
    "h": 74.769,
    "s": 59.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.81495,
    "c": 0.15938,
    "h": 121.8
  },
  "luminance": 0.56137
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B2D250

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

Preview Lab → · Contrast checker → · Palette generator →

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