#B2D351#B2D351

#B2D351 is a light, vivid yellow-green. Relative luminance 0.566; OKLCH L 81.7% C 0.160 H 122.1°. Best body text is #000000 at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#B2D351
RGBrgb(178, 211, 81)
HSLhsl(75, 60%, 57%)
HSVhsv(75, 62%, 83%)
CMYKcmyk(15.6%, 0%, 61.6%, 17.3%)
CIE-LABlab(79.98, -29.46, 58.98)
CIE-LCHlch(79.98, 65.92, 116.54°)
OKLaboklab(81.73% -0.0849 0.1354)
OKLCHoklch(81.73% 0.16 122.1)
XYZxyz(43.1400, 56.6475, 16.4443)
Luminance0.5665 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2D351 #7251D3
analogous
#D3B351 #B2D351 #71D351
triadic
#B2D351 #51B2D3 #D351B2
tetradic
#B2D351 #51D3B3 #7251D3 #D35171
square
#B2D351 #51D3B3 #7251D3 #D35171
split-complementary
#B2D351 #5171D3 #B351D3
monochromatic
#6E8722 #95B82F #B2D351 #C8DF82 #DDECB3

Accessibility & contrast

On white

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

On black

12.33
#B2D351 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2D351
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2D351#FFFFFF#000000##000000
##B2D3511.001.7012.3312.33
#FFFFFF1.701.0021.0021.00
#00000012.3321.001.001.00
##00000012.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC741
Deuteranopia (green-blind)
#DBC65A
Tritanopia (blue-blind)
#BBC9B8
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #b2d351;
/* rgb */ color: rgb(178, 211, 81);
/* oklch */ color: oklch(81.7% 0.160 122.1);
Tailwind
colors: {
  custom: {
    50: '#cce087',
    500: '#b2d351',
    950: '#000000',
  },
}
SCSS
$custom: #b2d351;
$custom-light: #cce087;
$custom-dark: #000000;
JSON
{
  "hex": "#b2d351",
  "rgb": {
    "r": 178,
    "g": 211,
    "b": 81
  },
  "hsl": {
    "h": 75.231,
    "s": 59.633,
    "l": 57.255
  },
  "oklch": {
    "l": 0.81731,
    "c": 0.15982,
    "h": 122.1
  },
  "luminance": 0.56648
}

Semantic roles & 50–950 ramp

primary
#B2D351
secondary
#503A8E
accent
#45E36D
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #B2D351

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

Preview Lab → · Contrast checker → · Palette generator →

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