#B7D540#B7D540

#B7D540 is a very light, vivid yellow-green. Relative luminance 0.580; OKLCH L 82.4% C 0.172 H 120.3°. Best body text is #000000 at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#B7D540
RGBrgb(183, 213, 64)
HSLhsl(72, 64%, 54%)
HSVhsv(72, 70%, 84%)
CMYKcmyk(14.1%, 0%, 70%, 16.5%)
CIE-LABlab(80.75, -29.52, 66.55)
CIE-LCHlch(80.75, 72.81, 113.92°)
OKLaboklab(82.4% -0.0869 0.1489)
OKLCHoklch(82.4% 0.172 120.3)
XYZxyz(44.2489, 58.0261, 13.7186)
Luminance0.5803 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7D540 #5E40D5
analogous
#D5A940 #B7D540 #6CD540
triadic
#B7D540 #40B7D5 #D540B7
tetradic
#B7D540 #40D5A9 #5E40D5 #D5406C
square
#B7D540 #40D5A9 #5E40D5 #D5406C
split-complementary
#B7D540 #406CD5 #A940D5
monochromatic
#6B7F1C #95B127 #B7D540 #CAE072 #DDEBA4

Accessibility & contrast

On white

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

On black

12.61
#B7D540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7D540
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7D540#FFFFFF#000000##000000
##B7D5401.001.6712.6112.61
#FFFFFF1.671.0021.0021.00
#00000012.6121.001.001.00
##00000012.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b7d540;
/* rgb */ color: rgb(183, 213, 64);
/* oklch */ color: oklch(82.4% 0.172 120.3);
Tailwind
colors: {
  custom: {
    50: '#d0e27e',
    500: '#b7d540',
    950: '#000000',
  },
}
SCSS
$custom: #b7d540;
$custom-light: #d0e27e;
$custom-dark: #000000;
JSON
{
  "hex": "#b7d540",
  "rgb": {
    "r": 183,
    "g": 213,
    "b": 64
  },
  "hsl": {
    "h": 72.081,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.82398,
    "c": 0.17238,
    "h": 120.3
  },
  "luminance": 0.58026
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B7D540

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

Preview Lab → · Contrast checker → · Palette generator →

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