#7BC540#7BC540

#7BC540 is a light, vivid yellow-green. Relative luminance 0.445; OKLCH L 74.8% C 0.181 H 134.0°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#7BC540
RGBrgb(123, 197, 64)
HSLhsl(93, 53%, 51%)
HSVhsv(93, 68%, 77%)
CMYKcmyk(37.6%, 0%, 67.5%, 22.7%)
CIE-LABlab(72.57, -44.93, 57.06)
CIE-LCHlch(72.57, 72.62, 128.22°)
OKLaboklab(74.84% -0.1256 0.1301)
OKLCHoklch(74.84% 0.181 134)
XYZxyz(29.0595, 44.5123, 11.9101)
Luminance0.4451 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BC540 #8A40C5
analogous
#BEC540 #7BC540 #40C547
triadic
#7BC540 #407BC5 #C5407B
tetradic
#7BC540 #40BEC5 #8A40C5 #C54740
square
#7BC540 #40BEC5 #8A40C5 #C54740
split-complementary
#7BC540 #4740C5 #C540BE
monochromatic
#416A20 #5E992F #7BC540 #9BD36F #BCE29E

Accessibility & contrast

On white

2.12
#7BC540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.90
#7BC540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BC540
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BC540#FFFFFF#000000##000000
##7BC5401.002.129.909.90
#FFFFFF2.121.0021.0021.00
#0000009.9021.001.001.00
##0000009.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB62D
Deuteranopia (green-blind)
#C2B04B
Tritanopia (blue-blind)
#7BBDAA
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #7bc540;
/* rgb */ color: rgb(123, 197, 64);
/* oklch */ color: oklch(74.8% 0.181 134.0);
Tailwind
colors: {
  custom: {
    50: '#a6d77c',
    500: '#7bc540',
    950: '#000000',
  },
}
SCSS
$custom: #7bc540;
$custom-light: #a6d77c;
$custom-dark: #000000;
JSON
{
  "hex": "#7bc540",
  "rgb": {
    "r": 123,
    "g": 197,
    "b": 64
  },
  "hsl": {
    "h": 93.383,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.74839,
    "c": 0.18081,
    "h": 134
  },
  "luminance": 0.44514
}

Semantic roles & 50–950 ramp

primary
#7BC540
secondary
#B493CE
accent
#4BDD9C
background
#FAFDF7
surface
#F4FAEE
border
#CED3C9
text
#10140A
muted
#7F837C

Preview Lab

Preview with #7BC540

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

Preview Lab → · Contrast checker → · Palette generator →

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