#B7D155#B7D155

#B7D155 is a light, vivid yellow-green. Relative luminance 0.563; OKLCH L 81.7% C 0.152 H 119.9°. Best body text is #000000 at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#B7D155
RGBrgb(183, 209, 85)
HSLhsl(73, 57%, 58%)
HSVhsv(73, 59%, 82%)
CMYKcmyk(12.4%, 0%, 59.3%, 18%)
CIE-LABlab(79.80, -26.22, 57.16)
CIE-LCHlch(79.80, 62.89, 114.64°)
OKLaboklab(81.68% -0.0758 0.132)
OKLCHoklch(81.68% 0.152 119.9)
XYZxyz(43.9692, 56.3243, 17.1479)
Luminance0.5632 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7D155 #6F55D1
analogous
#D1AD55 #B7D155 #79D155
triadic
#B7D155 #55B7D1 #D155B7
tetradic
#B7D155 #55D1AD #6F55D1 #D15579
square
#B7D155 #55D1AD #6F55D1 #D15579
split-complementary
#B7D155 #5579D1 #AD55D1
monochromatic
#728725 #9BB732 #B7D155 #CBDE85 #E0EBB5

Accessibility & contrast

On white

1.71
#B7D155 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.26
#B7D155 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7D155
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7D155#FFFFFF#000000##000000
##B7D1551.001.7112.2612.26
#FFFFFF1.711.0021.0021.00
#00000012.2621.001.001.00
##00000012.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC647
Deuteranopia (green-blind)
#DAC65D
Tritanopia (blue-blind)
#C0C7B7
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #b7d155;
/* rgb */ color: rgb(183, 209, 85);
/* oklch */ color: oklch(81.7% 0.152 119.9);
Tailwind
colors: {
  custom: {
    50: '#cfdf8a',
    500: '#b7d155',
    950: '#000000',
  },
}
SCSS
$custom: #b7d155;
$custom-light: #cfdf8a;
$custom-dark: #000000;
JSON
{
  "hex": "#b7d155",
  "rgb": {
    "r": 183,
    "g": 209,
    "b": 85
  },
  "hsl": {
    "h": 72.581,
    "s": 57.407,
    "l": 57.647
  },
  "oklch": {
    "l": 0.81681,
    "c": 0.15218,
    "h": 119.9
  },
  "luminance": 0.56324
}

Semantic roles & 50–950 ramp

primary
#B7D155
secondary
#4E3C8E
accent
#47E167
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #B7D155

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

Preview Lab → · Contrast checker → · Palette generator →

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