#7CB158#7CB158

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

Color values

HEX#7CB158
RGBrgb(124, 177, 88)
HSLhsl(96, 36%, 52%)
HSVhsv(96, 50%, 69%)
CMYKcmyk(29.9%, 0%, 50.3%, 30.6%)
CIE-LABlab(66.85, -33.39, 39.77)
CIE-LCHlch(66.85, 51.93, 130.01°)
OKLaboklab(70.27% -0.0922 0.0954)
OKLCHoklch(70.27% 0.133 134)
XYZxyz(25.7952, 36.4331, 14.9038)
Luminance0.3643 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CB158 #8D58B1
analogous
#A9B158 #7CB158 #58B160
triadic
#7CB158 #587CB1 #B1587C
tetradic
#7CB158 #58A9B1 #8D58B1 #B16058
square
#7CB158 #58A9B1 #8D58B1 #B16058
split-complementary
#7CB158 #6058B1 #B158A9
monochromatic
#42612D #5F8B41 #7CB158 #9DC482 #BDD8AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7CB158#FFFFFF#000000##000000
##7CB1581.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)
#B7A550
Deuteranopia (green-blind)
#AFA15E
Tritanopia (blue-blind)
#7CAB9C
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7cb158;
/* rgb */ color: rgb(124, 177, 88);
/* oklch */ color: oklch(70.3% 0.133 134.0);
Tailwind
colors: {
  custom: {
    50: '#a4c889',
    500: '#7cb158',
    950: '#000000',
  },
}
SCSS
$custom: #7cb158;
$custom-light: #a4c889;
$custom-dark: #000000;
JSON
{
  "hex": "#7cb158",
  "rgb": {
    "r": 124,
    "g": 177,
    "b": 88
  },
  "hsl": {
    "h": 95.73,
    "s": 36.327,
    "l": 51.961
  },
  "oklch": {
    "l": 0.70274,
    "c": 0.13264,
    "h": 134
  },
  "luminance": 0.36434
}

Semantic roles & 50–950 ramp

primary
#7CB158
secondary
#B69FC6
accent
#5BCC9F
background
#FAFCF8
surface
#F4F8F0
border
#CED1CB
text
#0F130C
muted
#7F827D

Preview Lab

Preview with #7CB158

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

Preview Lab → · Contrast checker → · Palette generator →

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