#B2D451#B2D451

#B2D451 is a light, vivid yellow-green. Relative luminance 0.571; OKLCH L 82.0% C 0.161 H 122.4°. Best body text is #000000 at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#B2D451
RGBrgb(178, 212, 81)
HSLhsl(76, 60%, 57%)
HSVhsv(76, 62%, 83%)
CMYKcmyk(16%, 0%, 61.8%, 16.9%)
CIE-LABlab(80.26, -29.93, 59.28)
CIE-LCHlch(80.26, 66.41, 116.79°)
OKLaboklab(81.96% -0.0862 0.1361)
OKLCHoklch(81.96% 0.161 122.4)
XYZxyz(43.3892, 57.1459, 16.5274)
Luminance0.5715 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2D451 #7351D4
analogous
#D4B551 #B2D451 #70D451
triadic
#B2D451 #51B2D4 #D451B2
tetradic
#B2D451 #51D4B5 #7351D4 #D45170
square
#B2D451 #51D4B5 #7351D4 #D45170
split-complementary
#B2D451 #5170D4 #B551D4
monochromatic
#6E8922 #96BA2E #B2D451 #C8E082 #DDECB3

Accessibility & contrast

On white

1.69
#B2D451 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.43
#B2D451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2D451
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2D451#FFFFFF#000000##000000
##B2D4511.001.6912.4312.43
#FFFFFF1.691.0021.0021.00
#00000012.4321.001.001.00
##00000012.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C841
Deuteranopia (green-blind)
#DBC75A
Tritanopia (blue-blind)
#BACAB9
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #b2d451;
/* rgb */ color: rgb(178, 212, 81);
/* oklch */ color: oklch(82.0% 0.161 122.4);
Tailwind
colors: {
  custom: {
    50: '#cce187',
    500: '#b2d451',
    950: '#000000',
  },
}
SCSS
$custom: #b2d451;
$custom-light: #cce187;
$custom-dark: #000000;
JSON
{
  "hex": "#b2d451",
  "rgb": {
    "r": 178,
    "g": 212,
    "b": 81
  },
  "hsl": {
    "h": 75.573,
    "s": 60.369,
    "l": 57.451
  },
  "oklch": {
    "l": 0.81957,
    "c": 0.16107,
    "h": 122.4
  },
  "luminance": 0.57146
}

Semantic roles & 50–950 ramp

primary
#B2D451
secondary
#503A8F
accent
#44E46E
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #B2D451

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

Preview Lab → · Contrast checker → · Palette generator →

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