#7BC940#7BC940

#7BC940 is a light, vivid yellow-green. Relative luminance 0.464; OKLCH L 75.8% C 0.186 H 134.4°. Best body text is #000000 at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#7BC940
RGBrgb(123, 201, 64)
HSLhsl(94, 56%, 52%)
HSVhsv(94, 68%, 79%)
CMYKcmyk(38.8%, 0%, 68.2%, 21.2%)
CIE-LABlab(73.77, -46.60, 58.32)
CIE-LCHlch(73.77, 74.65, 128.63°)
OKLaboklab(75.82% -0.1301 0.1327)
OKLCHoklch(75.82% 0.186 134.4)
XYZxyz(29.9798, 46.3529, 12.2169)
Luminance0.4635 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BC940 #8E40C9
analogous
#BFC940 #7BC940 #40C94A
triadic
#7BC940 #407BC9 #C9407B
tetradic
#7BC940 #40BFC9 #8E40C9 #C94A40
square
#7BC940 #40BFC9 #8E40C9 #C94A40
split-complementary
#7BC940 #4A40C9 #C940BF
monochromatic
#426F1F #5E9F2D #7BC940 #9CD670 #BDE49F

Accessibility & contrast

On white

2.04
#7BC940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.27
#7BC940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BC940
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BC940#FFFFFF#000000##000000
##7BC9401.002.0410.2710.27
#FFFFFF2.041.0021.0021.00
#00000010.2721.001.001.00
##00000010.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B92C
Deuteranopia (green-blind)
#C6B34C
Tritanopia (blue-blind)
#7AC1AD
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #7bc940;
/* rgb */ color: rgb(123, 201, 64);
/* oklch */ color: oklch(75.8% 0.186 134.4);
Tailwind
colors: {
  custom: {
    50: '#a7da7c',
    500: '#7bc940',
    950: '#000000',
  },
}
SCSS
$custom: #7bc940;
$custom-light: #a7da7c;
$custom-dark: #000000;
JSON
{
  "hex": "#7bc940",
  "rgb": {
    "r": 123,
    "g": 201,
    "b": 64
  },
  "hsl": {
    "h": 94.161,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.75823,
    "c": 0.18589,
    "h": 134.4
  },
  "luminance": 0.46354
}

Semantic roles & 50–950 ramp

primary
#7BC940
secondary
#B794D0
accent
#49DF9E
background
#FAFDF7
surface
#F4FBEE
border
#CED4C9
text
#10150A
muted
#7F837C

Preview Lab

Preview with #7BC940

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

Preview Lab → · Contrast checker → · Palette generator →

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