#B2D258#B2D258

#B2D258 is a light, vivid yellow-green. Relative luminance 0.563; OKLCH L 81.6% C 0.153 H 122.2°. Best body text is #000000 at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#B2D258
RGBrgb(178, 210, 88)
HSLhsl(76, 58%, 58%)
HSVhsv(76, 58%, 82%)
CMYKcmyk(15.2%, 0%, 58.1%, 17.6%)
CIE-LABlab(79.76, -28.43, 55.72)
CIE-LCHlch(79.76, 62.55, 117.04°)
OKLaboklab(81.58% -0.0814 0.1293)
OKLCHoklch(81.58% 0.153 122.2)
XYZxyz(43.1685, 56.2627, 17.8162)
Luminance0.5626 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2D258 #7858D2
analogous
#D2B558 #B2D258 #75D258
triadic
#B2D258 #58B2D2 #D258B2
tetradic
#B2D258 #58D2B5 #7858D2 #D25875
square
#B2D258 #58D2B5 #7858D2 #D25875
split-complementary
#B2D258 #5875D2 #B558D2
monochromatic
#708A25 #97BB32 #B2D258 #C8DF88 #DEECB8

Accessibility & contrast

On white

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

On black

12.25
#B2D258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2D258
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2D258#FFFFFF#000000##000000
##B2D2581.001.7112.2512.25
#FFFFFF1.711.0021.0021.00
#00000012.2521.001.001.00
##00000012.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC64B
Deuteranopia (green-blind)
#D9C660
Tritanopia (blue-blind)
#BAC8B8
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #b2d258;
/* rgb */ color: rgb(178, 210, 88);
/* oklch */ color: oklch(81.6% 0.153 122.2);
Tailwind
colors: {
  custom: {
    50: '#cbdf8b',
    500: '#b2d258',
    950: '#000000',
  },
}
SCSS
$custom: #b2d258;
$custom-light: #cbdf8b;
$custom-dark: #000000;
JSON
{
  "hex": "#b2d258",
  "rgb": {
    "r": 178,
    "g": 210,
    "b": 88
  },
  "hsl": {
    "h": 75.738,
    "s": 57.547,
    "l": 58.431
  },
  "oklch": {
    "l": 0.81575,
    "c": 0.1528,
    "h": 122.2
  },
  "luminance": 0.56263
}

Semantic roles & 50–950 ramp

primary
#B2D258
secondary
#533E91
accent
#47E16F
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #B2D258

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

Preview Lab → · Contrast checker → · Palette generator →

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