#7BD942#7BD942

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

Color values

HEX#7BD942
RGBrgb(123, 217, 66)
HSLhsl(97, 67%, 55%)
HSVhsv(97, 70%, 85%)
CMYKcmyk(43.3%, 0%, 69.6%, 14.9%)
CIE-LABlab(78.59, -52.93, 62.56)
CIE-LCHlch(78.59, 81.94, 130.23°)
OKLaboklab(79.77% -0.1472 0.1419)
OKLCHoklch(79.77% 0.204 136)
XYZxyz(33.9637, 54.2280, 13.8306)
Luminance0.5423 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BD942 #A042D9
analogous
#C6D942 #7BD942 #42D954
triadic
#7BD942 #427BD9 #D9427B
tetradic
#7BD942 #42C6D9 #A042D9 #D95442
square
#7BD942 #42C6D9 #A042D9 #D95442
split-complementary
#7BD942 #5442D9 #D942C6
monochromatic
#43861B #5DB925 #7BD942 #9FE375 #C2EDA8

Accessibility & contrast

On white

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

On black

11.85
#7BD942 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BD942
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BD942#FFFFFF#000000##000000
##7BD9421.001.7711.8511.85
#FFFFFF1.771.0021.0021.00
#00000011.8521.001.001.00
##00000011.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C72A
Deuteranopia (green-blind)
#D4C050
Tritanopia (blue-blind)
#77D1BB
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #7bd942;
/* rgb */ color: rgb(123, 217, 66);
/* oklch */ color: oklch(79.8% 0.204 136.0);
Tailwind
colors: {
  custom: {
    50: '#a8e57f',
    500: '#7bd942',
    950: '#000000',
  },
}
SCSS
$custom: #7bd942;
$custom-light: #a8e57f;
$custom-dark: #000000;
JSON
{
  "hex": "#7bd942",
  "rgb": {
    "r": 123,
    "g": 217,
    "b": 66
  },
  "hsl": {
    "h": 97.351,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.79774,
    "c": 0.20442,
    "h": 136
  },
  "luminance": 0.5423
}

Semantic roles & 50–950 ramp

primary
#7BD942
secondary
#6B338C
accent
#3EE9A9
background
#FDFEFB
surface
#F7FCF2
border
#D0D5CC
text
#10160B
muted
#81847E

Preview Lab

Preview with #7BD942

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

Preview Lab → · Contrast checker → · Palette generator →

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