#7CB128#7CB128

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

Color values

HEX#7CB128
RGBrgb(124, 177, 40)
HSLhsl(83, 63%, 43%)
HSVhsv(83, 77%, 69%)
CMYKcmyk(29.9%, 0%, 77.4%, 30.6%)
CIE-LABlab(66.43, -37.45, 59.61)
CIE-LCHlch(66.43, 70.39, 122.14°)
OKLaboklab(69.8% -0.1071 0.1319)
OKLCHoklch(69.8% 0.17 129.1)
XYZxyz(24.4173, 35.8819, 7.6465)
Luminance0.3588 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CB128 #5D28B1
analogous
#B1A228 #7CB128 #37B128
triadic
#7CB128 #287CB1 #B1287C
tetradic
#7CB128 #28B1A2 #5D28B1 #B12837
square
#7CB128 #28B1A2 #5D28B1 #B12837
split-complementary
#7CB128 #2837B1 #A228B1
monochromatic
#364D11 #597F1D #7CB128 #9CD442 #B6E074

Accessibility & contrast

On white

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

On black

8.18
#7CB128 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CB128
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CB128#FFFFFF#000000##000000
##7CB1281.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7cb128;
/* rgb */ color: rgb(124, 177, 40);
/* oklch */ color: oklch(69.8% 0.170 129.1);
Tailwind
colors: {
  custom: {
    50: '#a6c86d',
    500: '#7cb128',
    950: '#000000',
  },
}
SCSS
$custom: #7cb128;
$custom-light: #a6c86d;
$custom-dark: #000000;
JSON
{
  "hex": "#7cb128",
  "rgb": {
    "r": 124,
    "g": 177,
    "b": 40
  },
  "hsl": {
    "h": 83.212,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.69797,
    "c": 0.16994,
    "h": 129.1
  },
  "luminance": 0.35883
}

Semantic roles & 50–950 ramp

primary
#7CB128
secondary
#906EC7
accent
#42E681
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101308
muted
#7F827B

Preview Lab

Preview with #7CB128

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

Preview Lab → · Contrast checker → · Palette generator →

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