#B2D048#B2D048

#B2D048 is a light, vivid yellow-green. Relative luminance 0.550; OKLCH L 81.0% C 0.163 H 120.8°. Best body text is #000000 at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#B2D048
RGBrgb(178, 208, 72)
HSLhsl(73, 59%, 55%)
HSVhsv(73, 65%, 82%)
CMYKcmyk(14.4%, 0%, 65.4%, 18.4%)
CIE-LABlab(79.07, -28.67, 61.69)
CIE-LCHlch(79.07, 68.03, 114.93°)
OKLaboklab(80.97% -0.0836 0.1399)
OKLCHoklch(80.97% 0.163 120.8)
XYZxyz(42.0863, 55.0447, 14.5371)
Luminance0.5504 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2D048 #6648D0
analogous
#D0AA48 #B2D048 #6ED048
triadic
#B2D048 #48B2D0 #D048B2
tetradic
#B2D048 #48D0AA #6648D0 #D0486E
square
#B2D048 #48D0AA #6648D0 #D0486E
split-complementary
#B2D048 #486ED0 #AA48D0
monochromatic
#697D20 #92AE2D #B2D048 #C6DD79 #DBE9A9

Accessibility & contrast

On white

1.75
#B2D048 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.01
#B2D048 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2D048
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2D048#FFFFFF#000000##000000
##B2D0481.001.7512.0112.01
#FFFFFF1.751.0021.0021.00
#00000012.0121.001.001.00
##00000012.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC435
Deuteranopia (green-blind)
#D9C452
Tritanopia (blue-blind)
#BBC6B4
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #b2d048;
/* rgb */ color: rgb(178, 208, 72);
/* oklch */ color: oklch(81.0% 0.163 120.8);
Tailwind
colors: {
  custom: {
    50: '#ccde82',
    500: '#b2d048',
    950: '#000000',
  },
}
SCSS
$custom: #b2d048;
$custom-light: #ccde82;
$custom-dark: #000000;
JSON
{
  "hex": "#b2d048",
  "rgb": {
    "r": 178,
    "g": 208,
    "b": 72
  },
  "hsl": {
    "h": 73.235,
    "s": 59.13,
    "l": 54.902
  },
  "oklch": {
    "l": 0.80971,
    "c": 0.16299,
    "h": 120.8
  },
  "luminance": 0.55045
}

Semantic roles & 50–950 ramp

primary
#B2D048
secondary
#483785
accent
#45E268
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #B2D048

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

Preview Lab → · Contrast checker → · Palette generator →

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