#B2D348#B2D348

#B2D348 is a light, vivid yellow-green. Relative luminance 0.565; OKLCH L 81.7% C 0.167 H 121.7°. Best body text is #000000 at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#B2D348
RGBrgb(178, 211, 72)
HSLhsl(74, 61%, 55%)
HSVhsv(74, 66%, 83%)
CMYKcmyk(15.6%, 0%, 65.9%, 17.3%)
CIE-LABlab(79.91, -30.09, 62.57)
CIE-LCHlch(79.91, 69.43, 115.68°)
OKLaboklab(81.65% -0.0875 0.1418)
OKLCHoklch(81.65% 0.167 121.7)
XYZxyz(42.8246, 56.5214, 14.7833)
Luminance0.5652 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2D348 #6948D3
analogous
#D3AF48 #B2D348 #6CD348
triadic
#B2D348 #48B2D3 #D348B2
tetradic
#B2D348 #48D3AF #6948D3 #D3486C
square
#B2D348 #48D3AF #6948D3 #D3486C
split-complementary
#B2D348 #486CD3 #AF48D3
monochromatic
#6A811F #93B32B #B2D348 #C7DF79 #DCEBAB

Accessibility & contrast

On white

1.71
#B2D348 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.30
#B2D348 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2D348
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2D348#FFFFFF#000000##000000
##B2D3481.001.7112.3012.30
#FFFFFF1.711.0021.0021.00
#00000012.3021.001.001.00
##00000012.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC735
Deuteranopia (green-blind)
#DBC653
Tritanopia (blue-blind)
#BBC9B7
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #b2d348;
/* rgb */ color: rgb(178, 211, 72);
/* oklch */ color: oklch(81.7% 0.167 121.7);
Tailwind
colors: {
  custom: {
    50: '#cce082',
    500: '#b2d348',
    950: '#000000',
  },
}
SCSS
$custom: #b2d348;
$custom-light: #cce082;
$custom-dark: #000000;
JSON
{
  "hex": "#b2d348",
  "rgb": {
    "r": 178,
    "g": 211,
    "b": 72
  },
  "hsl": {
    "h": 74.245,
    "s": 61.233,
    "l": 55.49
  },
  "oklch": {
    "l": 0.8165,
    "c": 0.1666,
    "h": 121.7
  },
  "luminance": 0.56521
}

Semantic roles & 50–950 ramp

primary
#B2D348
secondary
#4A3789
accent
#43E46A
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #B2D348

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

Preview Lab → · Contrast checker → · Palette generator →

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