#7BC042#7BC042

#7BC042 is a light, vivid yellow-green. Relative luminance 0.423; OKLCH L 73.6% C 0.173 H 133.6°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#7BC042
RGBrgb(123, 192, 66)
HSLhsl(93, 50%, 51%)
HSVhsv(93, 66%, 75%)
CMYKcmyk(35.9%, 0%, 65.6%, 24.7%)
CIE-LABlab(71.08, -42.64, 54.67)
CIE-LCHlch(71.08, 69.33, 127.96°)
OKLaboklab(73.63% -0.1192 0.1253)
OKLCHoklch(73.63% 0.173 133.6)
XYZxyz(28.0009, 42.3024, 11.8430)
Luminance0.4230 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BC042 #8742C0
analogous
#BAC042 #7BC042 #42C048
triadic
#7BC042 #427BC0 #C0427B
tetradic
#7BC042 #42BAC0 #8742C0 #C04842
square
#7BC042 #42BAC0 #8742C0 #C04842
split-complementary
#7BC042 #4842C0 #C042BA
monochromatic
#416622 #5E9431 #7BC042 #9BCF70 #BBDF9E

Accessibility & contrast

On white

2.22
#7BC042 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.46
#7BC042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BC042
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BC042#FFFFFF#000000##000000
##7BC0421.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B231
Deuteranopia (green-blind)
#BEAC4C
Tritanopia (blue-blind)
#7BB9A6
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #7bc042;
/* rgb */ color: rgb(123, 192, 66);
/* oklch */ color: oklch(73.6% 0.173 133.6);
Tailwind
colors: {
  custom: {
    50: '#a6d37c',
    500: '#7bc042',
    950: '#000000',
  },
}
SCSS
$custom: #7bc042;
$custom-light: #a6d37c;
$custom-dark: #000000;
JSON
{
  "hex": "#7bc042",
  "rgb": {
    "r": 123,
    "g": 192,
    "b": 66
  },
  "hsl": {
    "h": 92.857,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.73627,
    "c": 0.17296,
    "h": 133.6
  },
  "luminance": 0.42304
}

Semantic roles & 50–950 ramp

primary
#7BC042
secondary
#B293CB
accent
#4EDA9B
background
#FAFDF7
surface
#F4FAEE
border
#CED3C9
text
#10140A
muted
#7F837C

Preview Lab

Preview with #7BC042

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

Preview Lab → · Contrast checker → · Palette generator →

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