#7BC842#7BC842

#7BC842 is a light, vivid yellow-green. Relative luminance 0.459; OKLCH L 75.6% C 0.183 H 134.5°. Best body text is #000000 at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#7BC842
RGBrgb(123, 200, 66)
HSLhsl(94, 55%, 52%)
HSVhsv(94, 67%, 78%)
CMYKcmyk(38.5%, 0%, 67%, 21.6%)
CIE-LABlab(73.49, -46.03, 57.23)
CIE-LCHlch(73.49, 73.44, 128.81°)
OKLaboklab(75.59% -0.1284 0.1307)
OKLCHoklch(75.59% 0.183 134.5)
XYZxyz(29.8054, 45.9114, 12.4445)
Luminance0.4591 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BC842 #8F42C8
analogous
#BEC842 #7BC842 #42C84C
triadic
#7BC842 #427BC8 #C8427B
tetradic
#7BC842 #42BEC8 #8F42C8 #C84C42
square
#7BC842 #42BEC8 #8F42C8 #C84C42
split-complementary
#7BC842 #4C42C8 #C842BE
monochromatic
#426F20 #5E9F2E #7BC842 #9CD671 #BDE4A1

Accessibility & contrast

On white

2.06
#7BC842 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.18
#7BC842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BC842
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BC842#FFFFFF#000000##000000
##7BC8421.002.0610.1810.18
#FFFFFF2.061.0021.0021.00
#00000010.1821.001.001.00
##00000010.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB82F
Deuteranopia (green-blind)
#C5B24E
Tritanopia (blue-blind)
#7AC0AD
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #7bc842;
/* rgb */ color: rgb(123, 200, 66);
/* oklch */ color: oklch(75.6% 0.183 134.5);
Tailwind
colors: {
  custom: {
    50: '#a6d97d',
    500: '#7bc842',
    950: '#000000',
  },
}
SCSS
$custom: #7bc842;
$custom-light: #a6d97d;
$custom-dark: #000000;
JSON
{
  "hex": "#7bc842",
  "rgb": {
    "r": 123,
    "g": 200,
    "b": 66
  },
  "hsl": {
    "h": 94.478,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.75594,
    "c": 0.18325,
    "h": 134.5
  },
  "luminance": 0.45913
}

Semantic roles & 50–950 ramp

primary
#7BC842
secondary
#B796D0
accent
#4ADE9F
background
#FAFDF7
surface
#F4FAEE
border
#CED3C9
text
#10150A
muted
#7F837C

Preview Lab

Preview with #7BC842

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

Preview Lab → · Contrast checker → · Palette generator →

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