#B2D754#B2D754

#B2D754 is a very light, vivid yellow-green. Relative luminance 0.587; OKLCH L 82.7% C 0.162 H 123.3°. Best body text is #000000 at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#B2D754
RGBrgb(178, 215, 84)
HSLhsl(77, 62%, 59%)
HSVhsv(77, 61%, 84%)
CMYKcmyk(17.2%, 0%, 60.9%, 15.7%)
CIE-LABlab(81.13, -31.11, 58.96)
CIE-LCHlch(81.13, 66.67, 117.82°)
OKLaboklab(82.67% -0.0892 0.1358)
OKLCHoklch(82.67% 0.162 123.3)
XYZxyz(44.2611, 58.7057, 17.3853)
Luminance0.5871 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2D754 #7954D7
analogous
#D7BB54 #B2D754 #70D754
triadic
#B2D754 #54B2D7 #D754B2
tetradic
#B2D754 #54D7BB #7954D7 #D75470
square
#B2D754 #54D7BB #7954D7 #D75470
split-complementary
#B2D754 #5470D7 #BB54D7
monochromatic
#708F21 #97C12D #B2D754 #C8E386 #DFEEB7

Accessibility & contrast

On white

1.65
#B2D754 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.74
#B2D754 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2D754
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2D754#FFFFFF#000000##000000
##B2D7541.001.6512.7412.74
#FFFFFF1.651.0021.0021.00
#00000012.7421.001.001.00
##00000012.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB45
Deuteranopia (green-blind)
#DEC95D
Tritanopia (blue-blind)
#BACDBB
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #b2d754;
/* rgb */ color: rgb(178, 215, 84);
/* oklch */ color: oklch(82.7% 0.162 123.3);
Tailwind
colors: {
  custom: {
    50: '#cce389',
    500: '#b2d754',
    950: '#000000',
  },
}
SCSS
$custom: #b2d754;
$custom-light: #cce389;
$custom-dark: #000000;
JSON
{
  "hex": "#b2d754",
  "rgb": {
    "r": 178,
    "g": 215,
    "b": 84
  },
  "hsl": {
    "h": 76.947,
    "s": 62.085,
    "l": 58.627
  },
  "oklch": {
    "l": 0.82665,
    "c": 0.16244,
    "h": 123.3
  },
  "luminance": 0.58706
}

Semantic roles & 50–950 ramp

primary
#B2D754
secondary
#543B95
accent
#43E571
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #B2D754

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

Preview Lab → · Contrast checker → · Palette generator →

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