#B6E228#B6E228

#B6E228 is a very light, vivid yellow-green. Relative luminance 0.645; OKLCH L 85.1% C 0.199 H 123.1°. Best body text is #000000 at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#B6E228
RGBrgb(182, 226, 40)
HSLhsl(74, 76%, 52%)
HSVhsv(74, 82%, 89%)
CMYKcmyk(19.5%, 0%, 82.3%, 11.4%)
CIE-LABlab(84.22, -36.96, 76.94)
CIE-LCHlch(84.22, 85.36, 115.66°)
OKLaboklab(85.14% -0.109 0.167)
OKLCHoklch(85.14% 0.199 123.1)
XYZxyz(46.8715, 64.4907, 11.9857)
Luminance0.6449 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6E228 #5428E2
analogous
#E2B128 #B6E228 #59E228
triadic
#B6E228 #28B6E2 #E228B6
tetradic
#B6E228 #28E2B1 #5428E2 #E22859
square
#B6E228 #28E2B1 #5428E2 #E22859
split-complementary
#B6E228 #2859E2 #B128E2
monochromatic
#657F11 #90B418 #B6E228 #C8E95E #DBF194

Accessibility & contrast

On white

1.51
#B6E228 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.90
#B6E228 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6E228
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6E228#FFFFFF#000000##000000
##B6E2281.001.5113.9013.90
#FFFFFF1.511.0021.0021.00
#00000013.9021.001.001.00
##00000013.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D300
Deuteranopia (green-blind)
#EAD23E
Tritanopia (blue-blind)
#C0D6C1
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #b6e228;
/* rgb */ color: rgb(182, 226, 40);
/* oklch */ color: oklch(85.1% 0.199 123.1);
Tailwind
colors: {
  custom: {
    50: '#d0eb75',
    500: '#b6e228',
    950: '#000000',
  },
}
SCSS
$custom: #b6e228;
$custom-light: #d0eb75;
$custom-dark: #000000;
JSON
{
  "hex": "#b6e228",
  "rgb": {
    "r": 182,
    "g": 226,
    "b": 40
  },
  "hsl": {
    "h": 74.194,
    "s": 76.23,
    "l": 52.157
  },
  "oklch": {
    "l": 0.85144,
    "c": 0.19947,
    "h": 123.1
  },
  "luminance": 0.64491
}

Semantic roles & 50–950 ramp

primary
#B6E228
secondary
#3F2986
accent
#35F362
background
#FEFEFB
surface
#FBFDF1
border
#D4D5CB
text
#151609
muted
#84847D

Preview Lab

Preview with #B6E228

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

Preview Lab → · Contrast checker → · Palette generator →

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