#B2D852#B2D852

#B2D852 is a very light, vivid yellow-green. Relative luminance 0.592; OKLCH L 82.9% C 0.165 H 123.5°. Best body text is #000000 at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#B2D852
RGBrgb(178, 216, 82)
HSLhsl(77, 63%, 58%)
HSVhsv(77, 62%, 85%)
CMYKcmyk(17.6%, 0%, 62%, 15.3%)
CIE-LABlab(81.39, -31.73, 60.09)
CIE-LCHlch(81.39, 67.95, 117.83°)
OKLaboklab(82.87% -0.0911 0.1379)
OKLCHoklch(82.87% 0.165 123.5)
XYZxyz(44.4393, 59.1857, 17.0638)
Luminance0.5919 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2D852 #7852D8
analogous
#D8BB52 #B2D852 #6FD852
triadic
#B2D852 #52B2D8 #D852B2
tetradic
#B2D852 #52D8BB #7852D8 #D8526F
square
#B2D852 #52D8BB #7852D8 #D8526F
split-complementary
#B2D852 #526FD8 #BB52D8
monochromatic
#708F20 #97C12C #B2D852 #C8E384 #DEEFB6

Accessibility & contrast

On white

1.64
#B2D852 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.84
#B2D852 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2D852
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2D852#FFFFFF#000000##000000
##B2D8521.001.6412.8412.84
#FFFFFF1.641.0021.0021.00
#00000012.8421.001.001.00
##00000012.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB42
Deuteranopia (green-blind)
#DFCA5C
Tritanopia (blue-blind)
#BACEBC
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #b2d852;
/* rgb */ color: rgb(178, 216, 82);
/* oklch */ color: oklch(82.9% 0.165 123.5);
Tailwind
colors: {
  custom: {
    50: '#cce488',
    500: '#b2d852',
    950: '#000000',
  },
}
SCSS
$custom: #b2d852;
$custom-light: #cce488;
$custom-dark: #000000;
JSON
{
  "hex": "#b2d852",
  "rgb": {
    "r": 178,
    "g": 216,
    "b": 82
  },
  "hsl": {
    "h": 77.015,
    "s": 63.208,
    "l": 58.431
  },
  "oklch": {
    "l": 0.82872,
    "c": 0.16528,
    "h": 123.5
  },
  "luminance": 0.59186
}

Semantic roles & 50–950 ramp

primary
#B2D852
secondary
#533995
accent
#42E670
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #B2D852

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

Preview Lab → · Contrast checker → · Palette generator →

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