#B6D540#B6D540

#B6D540 is a very light, vivid yellow-green. Relative luminance 0.579; OKLCH L 82.3% C 0.173 H 120.6°. Best body text is #000000 at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#B6D540
RGBrgb(182, 213, 64)
HSLhsl(72, 64%, 54%)
HSVhsv(72, 70%, 84%)
CMYKcmyk(14.6%, 0%, 70%, 16.5%)
CIE-LABlab(80.69, -29.92, 66.46)
CIE-LCHlch(80.69, 72.89, 114.24°)
OKLaboklab(82.33% -0.088 0.1487)
OKLCHoklch(82.33% 0.173 120.6)
XYZxyz(44.0118, 57.9038, 13.7075)
Luminance0.5790 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6D540 #5F40D5
analogous
#D5A940 #B6D540 #6CD540
triadic
#B6D540 #40B6D5 #D540B6
tetradic
#B6D540 #40D5A9 #5F40D5 #D5406C
square
#B6D540 #40D5A9 #5F40D5 #D5406C
split-complementary
#B6D540 #406CD5 #A940D5
monochromatic
#6A7F1C #94B127 #B6D540 #C9E072 #DCEBA4

Accessibility & contrast

On white

1.67
#B6D540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.58
#B6D540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6D540
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6D540#FFFFFF#000000##000000
##B6D5401.001.6712.5812.58
#FFFFFF1.671.0021.0021.00
#00000012.5821.001.001.00
##00000012.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C927
Deuteranopia (green-blind)
#DEC94C
Tritanopia (blue-blind)
#C0CAB8
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #b6d540;
/* rgb */ color: rgb(182, 213, 64);
/* oklch */ color: oklch(82.3% 0.173 120.6);
Tailwind
colors: {
  custom: {
    50: '#cfe27e',
    500: '#b6d540',
    950: '#000000',
  },
}
SCSS
$custom: #b6d540;
$custom-light: #cfe27e;
$custom-dark: #000000;
JSON
{
  "hex": "#b6d540",
  "rgb": {
    "r": 182,
    "g": 213,
    "b": 64
  },
  "hsl": {
    "h": 72.483,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.82326,
    "c": 0.17276,
    "h": 120.6
  },
  "luminance": 0.57904
}

Semantic roles & 50–950 ramp

primary
#B6D540
secondary
#443386
accent
#41E763
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B6D540

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

Preview Lab → · Contrast checker → · Palette generator →

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