#B2D23C#B2D23C

#B2D23C is a light, vivid yellow-green. Relative luminance 0.559; OKLCH L 81.3% C 0.173 H 121.0°. Best body text is #000000 at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#B2D23C
RGBrgb(178, 210, 60)
HSLhsl(73, 63%, 53%)
HSVhsv(73, 71%, 82%)
CMYKcmyk(15.2%, 0%, 71.4%, 17.6%)
CIE-LABlab(79.55, -30.33, 66.67)
CIE-LCHlch(79.55, 73.25, 114.46°)
OKLaboklab(81.33% -0.0892 0.1486)
OKLCHoklch(81.33% 0.173 121)
XYZxyz(42.2230, 55.8845, 12.8365)
Luminance0.5588 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2D23C #5C3CD2
analogous
#D2A73C #B2D23C #67D23C
triadic
#B2D23C #3CB2D2 #D23CB2
tetradic
#B2D23C #3CD2A7 #5C3CD2 #D23C67
square
#B2D23C #3CD2A7 #5C3CD2 #D23C67
split-complementary
#B2D23C #3C67D2 #A73CD2
monochromatic
#64781C #8EAA27 #B2D23C #C6DD6E #D9E99F

Accessibility & contrast

On white

1.72
#B2D23C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.18
#B2D23C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2D23C
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2D23C#FFFFFF#000000##000000
##B2D23C1.001.7212.1812.18
#FFFFFF1.721.0021.0021.00
#00000012.1821.001.001.00
##00000012.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC620
Deuteranopia (green-blind)
#DBC549
Tritanopia (blue-blind)
#BCC7B5
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #b2d23c;
/* rgb */ color: rgb(178, 210, 60);
/* oklch */ color: oklch(81.3% 0.173 121.0);
Tailwind
colors: {
  custom: {
    50: '#cddf7b',
    500: '#b2d23c',
    950: '#000000',
  },
}
SCSS
$custom: #b2d23c;
$custom-light: #cddf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#b2d23c",
  "rgb": {
    "r": 178,
    "g": 210,
    "b": 60
  },
  "hsl": {
    "h": 72.8,
    "s": 62.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.81333,
    "c": 0.17334,
    "h": 121
  },
  "luminance": 0.55884
}

Semantic roles & 50–950 ramp

primary
#B2D23C
secondary
#433280
accent
#42E665
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B2D23C

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

Preview Lab → · Contrast checker → · Palette generator →

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