#7BB126#7BB126

#7BB126 is a light, vivid yellow-green. Relative luminance 0.358; OKLCH L 69.7% C 0.171 H 129.3°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#7BB126
RGBrgb(123, 177, 38)
HSLhsl(83, 65%, 42%)
HSVhsv(83, 79%, 69%)
CMYKcmyk(30.5%, 0%, 78.5%, 30.6%)
CIE-LABlab(66.36, -37.93, 60.15)
CIE-LCHlch(66.36, 71.11, 122.24°)
OKLaboklab(69.72% -0.1085 0.1328)
OKLCHoklch(69.72% 0.171 129.3)
XYZxyz(24.2403, 35.7945, 7.4652)
Luminance0.3579 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BB126 #5C26B1
analogous
#B1A126 #7BB126 #36B126
triadic
#7BB126 #267BB1 #B1267B
tetradic
#7BB126 #26B1A1 #5C26B1 #B12636
square
#7BB126 #26B1A1 #5C26B1 #B12636
split-complementary
#7BB126 #2636B1 #A126B1
monochromatic
#354C10 #587F1B #7BB126 #9BD63F #B5E071

Accessibility & contrast

On white

2.57
#7BB126 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#7BB126 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BB126
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BB126#FFFFFF#000000##000000
##7BB1261.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#B2A035
Tritanopia (blue-blind)
#7FA997
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7bb126;
/* rgb */ color: rgb(123, 177, 38);
/* oklch */ color: oklch(69.7% 0.171 129.3);
Tailwind
colors: {
  custom: {
    50: '#a6c86c',
    500: '#7bb126',
    950: '#000000',
  },
}
SCSS
$custom: #7bb126;
$custom-light: #a6c86c;
$custom-dark: #000000;
JSON
{
  "hex": "#7bb126",
  "rgb": {
    "r": 123,
    "g": 177,
    "b": 38
  },
  "hsl": {
    "h": 83.309,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.69724,
    "c": 0.17147,
    "h": 129.3
  },
  "luminance": 0.35795
}

Semantic roles & 50–950 ramp

primary
#7BB126
secondary
#8F6BC7
accent
#40E881
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101308
muted
#7F827B

Preview Lab

Preview with #7BB126

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

Preview Lab → · Contrast checker → · Palette generator →

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