#B2D952#B2D952

#B2D952 is a very light, vivid yellow-green. Relative luminance 0.597; OKLCH L 83.1% C 0.167 H 123.7°. Best body text is #000000 at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#B2D952
RGBrgb(178, 217, 82)
HSLhsl(77, 64%, 59%)
HSVhsv(77, 62%, 85%)
CMYKcmyk(18%, 0%, 62.2%, 14.9%)
CIE-LABlab(81.67, -32.19, 60.40)
CIE-LCHlch(81.67, 68.44, 118.06°)
OKLaboklab(83.1% -0.0924 0.1385)
OKLCHoklch(83.1% 0.167 123.7)
XYZxyz(44.6963, 59.6996, 17.1494)
Luminance0.5970 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2D952 #7952D9
analogous
#D9BC52 #B2D952 #6ED952
triadic
#B2D952 #52B2D9 #D952B2
tetradic
#B2D952 #52D9BC #7952D9 #D9526E
square
#B2D952 #52D9BC #7952D9 #D9526E
split-complementary
#B2D952 #526ED9 #BC52D9
monochromatic
#709120 #97C32B #B2D952 #C8E484 #DFEFB6

Accessibility & contrast

On white

1.62
#B2D952 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.94
#B2D952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2D952
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2D952#FFFFFF#000000##000000
##B2D9521.001.6212.9412.94
#FFFFFF1.621.0021.0021.00
#00000012.9421.001.001.00
##00000012.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CC41
Deuteranopia (green-blind)
#DFCB5C
Tritanopia (blue-blind)
#BACFBD
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #b2d952;
/* rgb */ color: rgb(178, 217, 82);
/* oklch */ color: oklch(83.1% 0.167 123.7);
Tailwind
colors: {
  custom: {
    50: '#cce488',
    500: '#b2d952',
    950: '#000000',
  },
}
SCSS
$custom: #b2d952;
$custom-light: #cce488;
$custom-dark: #000000;
JSON
{
  "hex": "#b2d952",
  "rgb": {
    "r": 178,
    "g": 217,
    "b": 82
  },
  "hsl": {
    "h": 77.333,
    "s": 63.981,
    "l": 58.627
  },
  "oklch": {
    "l": 0.83099,
    "c": 0.16653,
    "h": 123.7
  },
  "luminance": 0.597
}

Semantic roles & 50–950 ramp

primary
#B2D952
secondary
#543996
accent
#41E771
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #B2D952

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

Preview Lab → · Contrast checker → · Palette generator →

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