#B2D948#B2D948

#B2D948 is a very light, vivid yellow-green. Relative luminance 0.596; OKLCH L 83.0% C 0.174 H 123.2°. Best body text is #000000 at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#B2D948
RGBrgb(178, 217, 72)
HSLhsl(76, 66%, 57%)
HSVhsv(76, 67%, 85%)
CMYKcmyk(18%, 0%, 66.8%, 14.9%)
CIE-LABlab(81.60, -32.89, 64.32)
CIE-LCHlch(81.60, 72.24, 117.08°)
OKLaboklab(83.01% -0.0952 0.1455)
OKLCHoklch(83.01% 0.174 123.2)
XYZxyz(44.3431, 59.5583, 15.2894)
Luminance0.5956 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2D948 #6F48D9
analogous
#D9B848 #B2D948 #6AD948
triadic
#B2D948 #48B2D9 #D948B2
tetradic
#B2D948 #48D9B8 #6F48D9 #D9486A
square
#B2D948 #48D9B8 #6F48D9 #D9486A
split-complementary
#B2D948 #486AD9 #B848D9
monochromatic
#6D8A1D #94BD27 #B2D948 #C7E47B #DDEEAD

Accessibility & contrast

On white

1.63
#B2D948 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.91
#B2D948 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2D948
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2D948#FFFFFF#000000##000000
##B2D9481.001.6312.9112.91
#FFFFFF1.631.0021.0021.00
#00000012.9121.001.001.00
##00000012.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CC33
Deuteranopia (green-blind)
#E0CB53
Tritanopia (blue-blind)
#BBCEBC
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #b2d948;
/* rgb */ color: rgb(178, 217, 72);
/* oklch */ color: oklch(83.0% 0.174 123.2);
Tailwind
colors: {
  custom: {
    50: '#cce483',
    500: '#b2d948',
    950: '#000000',
  },
}
SCSS
$custom: #b2d948;
$custom-light: #cce483;
$custom-dark: #000000;
JSON
{
  "hex": "#b2d948",
  "rgb": {
    "r": 178,
    "g": 217,
    "b": 72
  },
  "hsl": {
    "h": 76.138,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.83012,
    "c": 0.17386,
    "h": 123.2
  },
  "luminance": 0.59559
}

Semantic roles & 50–950 ramp

primary
#B2D948
secondary
#4E3590
accent
#3FE96D
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #B2D948

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

Preview Lab → · Contrast checker → · Palette generator →

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