#7CB157#7CB157

#7CB157 is a light, vivid yellow-green. Relative luminance 0.364; OKLCH L 70.3% C 0.134 H 133.9°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#7CB157
RGBrgb(124, 177, 87)
HSLhsl(95, 37%, 52%)
HSVhsv(95, 51%, 69%)
CMYKcmyk(29.9%, 0%, 50.8%, 30.6%)
CIE-LABlab(66.84, -33.51, 40.25)
CIE-LCHlch(66.84, 52.37, 129.78°)
OKLaboklab(70.26% -0.0926 0.0963)
OKLCHoklch(70.26% 0.134 133.9)
XYZxyz(25.7541, 36.4166, 14.6872)
Luminance0.3642 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CB157 #8C57B1
analogous
#A9B157 #7CB157 #57B15F
triadic
#7CB157 #577CB1 #B1577C
tetradic
#7CB157 #57A9B1 #8C57B1 #B15F57
square
#7CB157 #57A9B1 #8C57B1 #B15F57
split-complementary
#7CB157 #5F57B1 #B157A9
monochromatic
#42612D #5F8A40 #7CB157 #9DC481 #BDD8AB

Accessibility & contrast

On white

2.54
#7CB157 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#7CB157 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CB157
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CB157#FFFFFF#000000##000000
##7CB1571.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A54F
Deuteranopia (green-blind)
#AFA15D
Tritanopia (blue-blind)
#7CAB9C
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7cb157;
/* rgb */ color: rgb(124, 177, 87);
/* oklch */ color: oklch(70.3% 0.134 133.9);
Tailwind
colors: {
  custom: {
    50: '#a4c888',
    500: '#7cb157',
    950: '#000000',
  },
}
SCSS
$custom: #7cb157;
$custom-light: #a4c888;
$custom-dark: #000000;
JSON
{
  "hex": "#7cb157",
  "rgb": {
    "r": 124,
    "g": 177,
    "b": 87
  },
  "hsl": {
    "h": 95.333,
    "s": 36.585,
    "l": 51.765
  },
  "oklch": {
    "l": 0.70259,
    "c": 0.13363,
    "h": 133.9
  },
  "luminance": 0.36417
}

Semantic roles & 50–950 ramp

primary
#7CB157
secondary
#B59EC6
accent
#5BCD9E
background
#FAFCF8
surface
#F4F8F0
border
#CED1CB
text
#0F130B
muted
#7F827C

Preview Lab

Preview with #7CB157

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

Preview Lab → · Contrast checker → · Palette generator →

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