#7CB159#7CB159

#7CB159 is a light, vivid yellow-green. Relative luminance 0.365; OKLCH L 70.3% C 0.132 H 134.2°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#7CB159
RGBrgb(124, 177, 89)
HSLhsl(96, 36%, 52%)
HSVhsv(96, 50%, 69%)
CMYKcmyk(29.9%, 0%, 49.7%, 30.6%)
CIE-LABlab(66.86, -33.27, 39.29)
CIE-LCHlch(66.86, 51.48, 130.26°)
OKLaboklab(70.29% -0.0918 0.0944)
OKLCHoklch(70.29% 0.132 134.2)
XYZxyz(25.8370, 36.4498, 15.1235)
Luminance0.3645 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CB159 #8E59B1
analogous
#A8B159 #7CB159 #59B162
triadic
#7CB159 #597CB1 #B1597C
tetradic
#7CB159 #59A8B1 #8E59B1 #B16259
square
#7CB159 #59A8B1 #8E59B1 #B16259
split-complementary
#7CB159 #6259B1 #B159A8
monochromatic
#43622E #5F8B41 #7CB159 #9DC583 #BED8AC

Accessibility & contrast

On white

2.53
#7CB159 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#7CB159 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CB159
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CB159#FFFFFF#000000##000000
##7CB1591.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A551
Deuteranopia (green-blind)
#AFA15F
Tritanopia (blue-blind)
#7CAB9D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7cb159;
/* rgb */ color: rgb(124, 177, 89);
/* oklch */ color: oklch(70.3% 0.132 134.2);
Tailwind
colors: {
  custom: {
    50: '#a4c88a',
    500: '#7cb159',
    950: '#000000',
  },
}
SCSS
$custom: #7cb159;
$custom-light: #a4c88a;
$custom-dark: #000000;
JSON
{
  "hex": "#7cb159",
  "rgb": {
    "r": 124,
    "g": 177,
    "b": 89
  },
  "hsl": {
    "h": 96.136,
    "s": 36.066,
    "l": 52.157
  },
  "oklch": {
    "l": 0.70288,
    "c": 0.13165,
    "h": 134.2
  },
  "luminance": 0.36451
}

Semantic roles & 50–950 ramp

primary
#7CB159
secondary
#B7A0C6
accent
#5CCC9F
background
#FAFCF8
surface
#F4F8F0
border
#CED1CB
text
#0F130C
muted
#7F827D

Preview Lab

Preview with #7CB159

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

Preview Lab → · Contrast checker → · Palette generator →

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