#7BB242#7BB242

#7BB242 is a light, vivid yellow-green. Relative luminance 0.364; OKLCH L 70.2% C 0.154 H 131.5°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#7BB242
RGBrgb(123, 178, 66)
HSLhsl(89, 46%, 48%)
HSVhsv(89, 63%, 70%)
CMYKcmyk(30.9%, 0%, 62.9%, 30.2%)
CIE-LABlab(66.86, -36.48, 50.09)
CIE-LCHlch(66.86, 61.97, 126.07°)
OKLaboklab(70.19% -0.1023 0.1156)
OKLCHoklch(70.19% 0.154 131.5)
XYZxyz(25.0719, 36.4443, 10.8667)
Luminance0.3644 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BB242 #7942B2
analogous
#B2B142 #7BB242 #43B242
triadic
#7BB242 #427BB2 #B2427B
tetradic
#7BB242 #42B2B1 #7942B2 #B24243
square
#7BB242 #42B2B1 #7942B2 #B24243
split-complementary
#7BB242 #4243B2 #B142B2
monochromatic
#3D5921 #5C8531 #7BB242 #99C86A #B8D896

Accessibility & contrast

On white

2.53
#7BB242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#7BB242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BB242
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BB242#FFFFFF#000000##000000
##7BB2421.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A535
Deuteranopia (green-blind)
#B2A14B
Tritanopia (blue-blind)
#7DAB9A
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7bb242;
/* rgb */ color: rgb(123, 178, 66);
/* oklch */ color: oklch(70.2% 0.154 131.5);
Tailwind
colors: {
  custom: {
    50: '#a5c97b',
    500: '#7bb242',
    950: '#000000',
  },
}
SCSS
$custom: #7bb242;
$custom-light: #a5c97b;
$custom-dark: #000000;
JSON
{
  "hex": "#7bb242",
  "rgb": {
    "r": 123,
    "g": 178,
    "b": 66
  },
  "hsl": {
    "h": 89.464,
    "s": 45.902,
    "l": 47.843
  },
  "oklch": {
    "l": 0.70189,
    "c": 0.15442,
    "h": 131.5
  },
  "luminance": 0.36445
}

Semantic roles & 50–950 ramp

primary
#7BB242
secondary
#A78CC4
accent
#52D693
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#10130A
muted
#7F827C

Preview Lab

Preview with #7BB242

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

Preview Lab → · Contrast checker → · Palette generator →

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