#7BC040#7BC040

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

Color values

HEX#7BC040
RGBrgb(123, 192, 64)
HSLhsl(92, 50%, 50%)
HSVhsv(92, 67%, 75%)
CMYKcmyk(35.9%, 0%, 66.7%, 24.7%)
CIE-LABlab(71.06, -42.80, 55.47)
CIE-LCHlch(71.06, 70.06, 127.66°)
OKLaboklab(73.61% -0.1198 0.1267)
OKLCHoklch(73.61% 0.174 133.4)
XYZxyz(27.9430, 42.2792, 11.5379)
Luminance0.4228 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BC040 #8540C0
analogous
#BBC040 #7BC040 #40C045
triadic
#7BC040 #407BC0 #C0407B
tetradic
#7BC040 #40BBC0 #8540C0 #C04540
square
#7BC040 #40BBC0 #8540C0 #C04540
split-complementary
#7BC040 #4540C0 #C040BB
monochromatic
#406421 #5E9230 #7BC040 #9BCF6E #BBDE9C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7BC040#FFFFFF#000000##000000
##7BC0401.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)
#C8B12E
Deuteranopia (green-blind)
#BEAC4B
Tritanopia (blue-blind)
#7BB9A6
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #7bc040;
/* rgb */ color: rgb(123, 192, 64);
/* oklch */ color: oklch(73.6% 0.174 133.4);
Tailwind
colors: {
  custom: {
    50: '#a6d37b',
    500: '#7bc040',
    950: '#000000',
  },
}
SCSS
$custom: #7bc040;
$custom-light: #a6d37b;
$custom-dark: #000000;
JSON
{
  "hex": "#7bc040",
  "rgb": {
    "r": 123,
    "g": 192,
    "b": 64
  },
  "hsl": {
    "h": 92.344,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.73609,
    "c": 0.17441,
    "h": 133.4
  },
  "luminance": 0.4228
}

Semantic roles & 50–950 ramp

primary
#7BC040
secondary
#B091CB
accent
#4EDA99
background
#FAFDF7
surface
#F4FAEE
border
#CED3C9
text
#10140A
muted
#7F837C

Preview Lab

Preview with #7BC040

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

Preview Lab → · Contrast checker → · Palette generator →

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