#B2D251#B2D251

#B2D251 is a light, vivid yellow-green. Relative luminance 0.562; 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#B2D251
RGBrgb(178, 210, 81)
HSLhsl(75, 59%, 57%)
HSVhsv(75, 61%, 82%)
CMYKcmyk(15.2%, 0%, 61.4%, 17.6%)
CIE-LABlab(79.70, -28.99, 58.67)
CIE-LCHlch(79.70, 65.44, 116.29°)
OKLaboklab(81.51% -0.0836 0.1348)
OKLCHoklch(81.51% 0.159 121.8)
XYZxyz(42.8923, 56.1522, 16.3618)
Luminance0.5615 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2D251 #7151D2
analogous
#D2B251 #B2D251 #72D251
triadic
#B2D251 #51B2D2 #D251B2
tetradic
#B2D251 #51D2B2 #7151D2 #D25172
square
#B2D251 #51D2B2 #7151D2 #D25172
split-complementary
#B2D251 #5172D2 #B251D2
monochromatic
#6D8623 #95B72F #B2D251 #C8DF82 #DDEBB2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2D251#FFFFFF#000000##000000
##B2D2511.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)
#DEC642
Deuteranopia (green-blind)
#DAC65A
Tritanopia (blue-blind)
#BBC8B7
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #b2d251;
/* rgb */ color: rgb(178, 210, 81);
/* oklch */ color: oklch(81.5% 0.159 121.8);
Tailwind
colors: {
  custom: {
    50: '#ccdf87',
    500: '#b2d251',
    950: '#000000',
  },
}
SCSS
$custom: #b2d251;
$custom-light: #ccdf87;
$custom-dark: #000000;
JSON
{
  "hex": "#b2d251",
  "rgb": {
    "r": 178,
    "g": 210,
    "b": 81
  },
  "hsl": {
    "h": 74.884,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.81505,
    "c": 0.15858,
    "h": 121.8
  },
  "luminance": 0.56152
}

Semantic roles & 50–950 ramp

primary
#B2D251
secondary
#4F3B8D
accent
#46E26C
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #B2D251

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

Preview Lab → · Contrast checker → · Palette generator →

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