#B2D062#B2D062

#B2D062 is a light, vivid yellow-green. Relative luminance 0.555; OKLCH L 81.2% C 0.141 H 122.3°. Best body text is #000000 at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#B2D062
RGBrgb(178, 208, 98)
HSLhsl(76, 54%, 60%)
HSVhsv(76, 53%, 82%)
CMYKcmyk(14.4%, 0%, 52.9%, 18.4%)
CIE-LABlab(79.30, -26.60, 50.66)
CIE-LCHlch(79.30, 57.22, 117.70°)
OKLaboklab(81.24% -0.0753 0.1194)
OKLCHoklch(81.24% 0.141 122.3)
XYZxyz(43.1208, 55.4585, 19.9858)
Luminance0.5546 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2D062 #8062D0
analogous
#D0B762 #B2D062 #7BD062
triadic
#B2D062 #62B2D0 #D062B2
tetradic
#B2D062 #62D0B7 #8062D0 #D0627B
square
#B2D062 #62D0B7 #8062D0 #D0627B
split-complementary
#B2D062 #627BD0 #B762D0
monochromatic
#728D2A #98BC38 #B2D062 #C9DE91 #E0ECC0

Accessibility & contrast

On white

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

On black

12.09
#B2D062 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2D062
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2D062#FFFFFF#000000##000000
##B2D0621.001.7412.0912.09
#FFFFFF1.741.0021.0021.00
#00000012.0921.001.001.00
##00000012.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC557
Deuteranopia (green-blind)
#D7C469
Tritanopia (blue-blind)
#BAC7B7
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #b2d062;
/* rgb */ color: rgb(178, 208, 98);
/* oklch */ color: oklch(81.2% 0.141 122.3);
Tailwind
colors: {
  custom: {
    50: '#cbde92',
    500: '#b2d062',
    950: '#000000',
  },
}
SCSS
$custom: #b2d062;
$custom-light: #cbde92;
$custom-dark: #000000;
JSON
{
  "hex": "#b2d062",
  "rgb": {
    "r": 178,
    "g": 208,
    "b": 98
  },
  "hsl": {
    "h": 76.364,
    "s": 53.922,
    "l": 60
  },
  "oklch": {
    "l": 0.81239,
    "c": 0.1412,
    "h": 122.3
  },
  "luminance": 0.55459
}

Semantic roles & 50–950 ramp

primary
#B2D062
secondary
#594394
accent
#4BDD73
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150D
muted
#83847F

Preview Lab

Preview with #B2D062

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

Preview Lab → · Contrast checker → · Palette generator →

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