#7BD940#7BD940

#7BD940 is a light, highly saturated yellow-green. Relative luminance 0.542; OKLCH L 79.8% C 0.206 H 135.9°. Best body text is #000000 at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#7BD940
RGBrgb(123, 217, 64)
HSLhsl(97, 67%, 55%)
HSVhsv(97, 71%, 85%)
CMYKcmyk(43.3%, 0%, 70.5%, 14.9%)
CIE-LABlab(78.58, -53.07, 63.28)
CIE-LCHlch(78.58, 82.59, 129.98°)
OKLaboklab(79.76% -0.1477 0.1431)
OKLCHoklch(79.76% 0.206 135.9)
XYZxyz(33.9058, 54.2048, 13.5255)
Luminance0.5421 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BD940 #9E40D9
analogous
#C7D940 #7BD940 #40D952
triadic
#7BD940 #407BD9 #D9407B
tetradic
#7BD940 #40C7D9 #9E40D9 #D95240
square
#7BD940 #40C7D9 #9E40D9 #D95240
split-complementary
#7BD940 #5240D9 #D940C7
monochromatic
#43841A #5DB724 #7BD940 #9EE373 #C2EDA6

Accessibility & contrast

On white

1.77
#7BD940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.84
#7BD940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BD940
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BD940#FFFFFF#000000##000000
##7BD9401.001.7711.8411.84
#FFFFFF1.771.0021.0021.00
#00000011.8421.001.001.00
##00000011.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C726
Deuteranopia (green-blind)
#D4C04E
Tritanopia (blue-blind)
#78D1BB
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #7bd940;
/* rgb */ color: rgb(123, 217, 64);
/* oklch */ color: oklch(79.8% 0.206 135.9);
Tailwind
colors: {
  custom: {
    50: '#a8e57e',
    500: '#7bd940',
    950: '#000000',
  },
}
SCSS
$custom: #7bd940;
$custom-light: #a8e57e;
$custom-dark: #000000;
JSON
{
  "hex": "#7bd940",
  "rgb": {
    "r": 123,
    "g": 217,
    "b": 64
  },
  "hsl": {
    "h": 96.863,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.79759,
    "c": 0.20567,
    "h": 135.9
  },
  "luminance": 0.54207
}

Semantic roles & 50–950 ramp

primary
#7BD940
secondary
#69328B
accent
#3EEAA8
background
#FDFEFB
surface
#F7FCF2
border
#D0D5CC
text
#10160A
muted
#81847D

Preview Lab

Preview with #7BD940

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

Preview Lab → · Contrast checker → · Palette generator →

#7BD940 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva