#7CB126#7CB126

#7CB126 is a light, vivid yellow-green. Relative luminance 0.359; OKLCH L 69.8% C 0.171 H 129.0°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#7CB126
RGBrgb(124, 177, 38)
HSLhsl(83, 65%, 42%)
HSVhsv(83, 79%, 69%)
CMYKcmyk(29.9%, 0%, 78.5%, 30.6%)
CIE-LABlab(66.42, -37.55, 60.22)
CIE-LCHlch(66.42, 70.97, 121.94°)
OKLaboklab(69.79% -0.1075 0.1329)
OKLCHoklch(69.79% 0.171 129)
XYZxyz(24.3841, 35.8686, 7.4720)
Luminance0.3587 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CB126 #5B26B1
analogous
#B1A126 #7CB126 #36B126
triadic
#7CB126 #267CB1 #B1267C
tetradic
#7CB126 #26B1A1 #5B26B1 #B12636
square
#7CB126 #26B1A1 #5B26B1 #B12636
split-complementary
#7CB126 #2636B1 #A126B1
monochromatic
#354C10 #597F1B #7CB126 #9CD63F #B6E071

Accessibility & contrast

On white

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

On black

8.17
#7CB126 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CB126
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CB126#FFFFFF#000000##000000
##7CB1261.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#B3A035
Tritanopia (blue-blind)
#80A997
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7cb126;
/* rgb */ color: rgb(124, 177, 38);
/* oklch */ color: oklch(69.8% 0.171 129.0);
Tailwind
colors: {
  custom: {
    50: '#a6c86c',
    500: '#7cb126',
    950: '#000000',
  },
}
SCSS
$custom: #7cb126;
$custom-light: #a6c86c;
$custom-dark: #000000;
JSON
{
  "hex": "#7cb126",
  "rgb": {
    "r": 124,
    "g": 177,
    "b": 38
  },
  "hsl": {
    "h": 82.878,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.69786,
    "c": 0.17096,
    "h": 129
  },
  "luminance": 0.35869
}

Semantic roles & 50–950 ramp

primary
#7CB126
secondary
#8E6BC7
accent
#40E880
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101308
muted
#7F827B

Preview Lab

Preview with #7CB126

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

Preview Lab → · Contrast checker → · Palette generator →

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