#B2D23B#B2D23B

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

Color values

HEX#B2D23B
RGBrgb(178, 210, 59)
HSLhsl(73, 63%, 53%)
HSVhsv(73, 72%, 82%)
CMYKcmyk(15.2%, 0%, 71.9%, 17.6%)
CIE-LABlab(79.54, -30.39, 67.01)
CIE-LCHlch(79.54, 73.58, 114.39°)
OKLaboklab(81.33% -0.0895 0.1492)
OKLCHoklch(81.33% 0.174 121)
XYZxyz(42.1968, 55.8740, 12.6986)
Luminance0.5587 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2D23B #5B3BD2
analogous
#D2A63B #B2D23B #67D23B
triadic
#B2D23B #3BB2D2 #D23BB2
tetradic
#B2D23B #3BD2A6 #5B3BD2 #D23B67
square
#B2D23B #3BD2A6 #5B3BD2 #D23B67
split-complementary
#B2D23B #3B67D2 #A63BD2
monochromatic
#64771B #8DA927 #B2D23B #C6DD6D #D9E99F

Accessibility & contrast

On white

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

On black

12.17
#B2D23B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2D23B
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2D23B#FFFFFF#000000##000000
##B2D23B1.001.7212.1712.17
#FFFFFF1.721.0021.0021.00
#00000012.1721.001.001.00
##00000012.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2d23b;
/* rgb */ color: rgb(178, 210, 59);
/* oklch */ color: oklch(81.3% 0.174 121.0);
Tailwind
colors: {
  custom: {
    50: '#cddf7b',
    500: '#b2d23b',
    950: '#000000',
  },
}
SCSS
$custom: #b2d23b;
$custom-light: #cddf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#b2d23b",
  "rgb": {
    "r": 178,
    "g": 210,
    "b": 59
  },
  "hsl": {
    "h": 72.715,
    "s": 62.656,
    "l": 52.745
  },
  "oklch": {
    "l": 0.81326,
    "c": 0.17394,
    "h": 121
  },
  "luminance": 0.55874
}

Semantic roles & 50–950 ramp

primary
#B2D23B
secondary
#42327F
accent
#42E665
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B2D23B

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

Preview Lab → · Contrast checker → · Palette generator →

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