#7BC742#7BC742

#7BC742 is a light, vivid yellow-green. Relative luminance 0.455; OKLCH L 75.3% C 0.182 H 134.4°. Best body text is #000000 at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#7BC742
RGBrgb(123, 199, 66)
HSLhsl(94, 54%, 52%)
HSVhsv(94, 67%, 78%)
CMYKcmyk(38.2%, 0%, 66.8%, 22%)
CIE-LABlab(73.19, -45.61, 56.91)
CIE-LCHlch(73.19, 72.93, 128.71°)
OKLaboklab(75.35% -0.1273 0.13)
OKLCHoklch(75.35% 0.182 134.4)
XYZxyz(29.5746, 45.4497, 12.3676)
Luminance0.4545 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BC742 #8E42C7
analogous
#BDC742 #7BC742 #42C74C
triadic
#7BC742 #427BC7 #C7427B
tetradic
#7BC742 #42BDC7 #8E42C7 #C74C42
square
#7BC742 #42BDC7 #8E42C7 #C74C42
split-complementary
#7BC742 #4C42C7 #C742BD
monochromatic
#426E21 #5E9D2F #7BC742 #9CD571 #BDE3A0

Accessibility & contrast

On white

2.08
#7BC742 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.09
#7BC742 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BC742
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BC742#FFFFFF#000000##000000
##7BC7421.002.0810.0910.09
#FFFFFF2.081.0021.0021.00
#00000010.0921.001.001.00
##00000010.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB830
Deuteranopia (green-blind)
#C4B14D
Tritanopia (blue-blind)
#7AC0AC
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #7bc742;
/* rgb */ color: rgb(123, 199, 66);
/* oklch */ color: oklch(75.3% 0.182 134.4);
Tailwind
colors: {
  custom: {
    50: '#a6d87d',
    500: '#7bc742',
    950: '#000000',
  },
}
SCSS
$custom: #7bc742;
$custom-light: #a6d87d;
$custom-dark: #000000;
JSON
{
  "hex": "#7bc742",
  "rgb": {
    "r": 123,
    "g": 199,
    "b": 66
  },
  "hsl": {
    "h": 94.286,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.75348,
    "c": 0.18198,
    "h": 134.4
  },
  "luminance": 0.45451
}

Semantic roles & 50–950 ramp

primary
#7BC742
secondary
#B795D0
accent
#4ADE9E
background
#FAFDF7
surface
#F4FAEE
border
#CED3C9
text
#10140A
muted
#7F837C

Preview Lab

Preview with #7BC742

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

Preview Lab → · Contrast checker → · Palette generator →

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