#7CB127#7CB127

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

Color values

HEX#7CB127
RGBrgb(124, 177, 39)
HSLhsl(83, 64%, 42%)
HSVhsv(83, 78%, 69%)
CMYKcmyk(29.9%, 0%, 78%, 30.6%)
CIE-LABlab(66.42, -37.50, 59.92)
CIE-LCHlch(66.42, 70.68, 122.04°)
OKLaboklab(69.79% -0.1073 0.1324)
OKLCHoklch(69.79% 0.17 129)
XYZxyz(24.4005, 35.8752, 7.5581)
Luminance0.3588 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CB127 #5C27B1
analogous
#B1A127 #7CB127 #37B127
triadic
#7CB127 #277CB1 #B1277C
tetradic
#7CB127 #27B1A1 #5C27B1 #B12737
square
#7CB127 #27B1A1 #5C27B1 #B12737
split-complementary
#7CB127 #2737B1 #A127B1
monochromatic
#364D11 #597F1C #7CB127 #9CD540 #B6E072

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7CB127#FFFFFF#000000##000000
##7CB1271.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)
#BAA400
Deuteranopia (green-blind)
#B2A035
Tritanopia (blue-blind)
#80A997
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7cb127;
/* rgb */ color: rgb(124, 177, 39);
/* oklch */ color: oklch(69.8% 0.170 129.0);
Tailwind
colors: {
  custom: {
    50: '#a6c86d',
    500: '#7cb127',
    950: '#000000',
  },
}
SCSS
$custom: #7cb127;
$custom-light: #a6c86d;
$custom-dark: #000000;
JSON
{
  "hex": "#7cb127",
  "rgb": {
    "r": 124,
    "g": 177,
    "b": 39
  },
  "hsl": {
    "h": 83.043,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.69791,
    "c": 0.17046,
    "h": 129
  },
  "luminance": 0.35876
}

Semantic roles & 50–950 ramp

primary
#7CB127
secondary
#8F6DC7
accent
#41E781
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101308
muted
#7F827B

Preview Lab

Preview with #7CB127

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

Preview Lab → · Contrast checker → · Palette generator →

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