#B2D052#B2D052

#B2D052 is a light, vivid yellow-green. Relative luminance 0.552; OKLCH L 81.1% C 0.155 H 121.3°. Best body text is #000000 at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#B2D052
RGBrgb(178, 208, 82)
HSLhsl(74, 57%, 57%)
HSVhsv(74, 61%, 82%)
CMYKcmyk(14.4%, 0%, 60.6%, 18.4%)
CIE-LABlab(79.15, -27.96, 57.64)
CIE-LCHlch(79.15, 64.07, 115.88°)
OKLaboklab(81.06% -0.0806 0.1327)
OKLCHoklch(81.06% 0.155 121.3)
XYZxyz(42.4394, 55.1859, 16.3972)
Luminance0.5519 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2D052 #7052D0
analogous
#D0AF52 #B2D052 #73D052
triadic
#B2D052 #52B2D0 #D052B2
tetradic
#B2D052 #52D0AF #7052D0 #D05273
square
#B2D052 #52D0AF #7052D0 #D05273
split-complementary
#B2D052 #5273D0 #AF52D0
monochromatic
#6D8424 #95B431 #B2D052 #C7DD82 #DDEAB2

Accessibility & contrast

On white

1.74
#B2D052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.04
#B2D052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2D052
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2D052#FFFFFF#000000##000000
##B2D0521.001.7412.0412.04
#FFFFFF1.741.0021.0021.00
#00000012.0421.001.001.00
##00000012.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC543
Deuteranopia (green-blind)
#D8C45B
Tritanopia (blue-blind)
#BBC6B5
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #b2d052;
/* rgb */ color: rgb(178, 208, 82);
/* oklch */ color: oklch(81.1% 0.155 121.3);
Tailwind
colors: {
  custom: {
    50: '#ccde88',
    500: '#b2d052',
    950: '#000000',
  },
}
SCSS
$custom: #b2d052;
$custom-light: #ccde88;
$custom-dark: #000000;
JSON
{
  "hex": "#b2d052",
  "rgb": {
    "r": 178,
    "g": 208,
    "b": 82
  },
  "hsl": {
    "h": 74.286,
    "s": 57.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.81063,
    "c": 0.15528,
    "h": 121.3
  },
  "luminance": 0.55186
}

Semantic roles & 50–950 ramp

primary
#B2D052
secondary
#4E3B8B
accent
#47E16C
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #B2D052

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

Preview Lab → · Contrast checker → · Palette generator →

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