#7CB45C#7CB45C

#7CB45C is a light, vivid yellow-green. Relative luminance 0.377; OKLCH L 71.1% C 0.133 H 135.2°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#7CB45C
RGBrgb(124, 180, 92)
HSLhsl(98, 37%, 53%)
HSVhsv(98, 49%, 71%)
CMYKcmyk(31.1%, 0%, 48.9%, 29.4%)
CIE-LABlab(67.80, -34.29, 38.94)
CIE-LCHlch(67.80, 51.89, 131.37°)
OKLaboklab(71.06% -0.0945 0.0938)
OKLCHoklch(71.06% 0.133 135.2)
XYZxyz(26.5646, 37.6993, 16.0002)
Luminance0.3770 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CB45C #945CB4
analogous
#A8B45C #7CB45C #5CB468
triadic
#7CB45C #5C7CB4 #B45C7C
tetradic
#7CB45C #5CA8B4 #945CB4 #B4685C
square
#7CB45C #5CA8B4 #945CB4 #B4685C
split-complementary
#7CB45C #685CB4 #B45CA8
monochromatic
#43662F #5F9042 #7CB45C #9EC786 #BFDBB0

Accessibility & contrast

On white

2.46
#7CB45C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#7CB45C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CB45C
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CB45C#FFFFFF#000000##000000
##7CB45C1.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA855
Deuteranopia (green-blind)
#B2A362
Tritanopia (blue-blind)
#7BAE9F
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #7cb45c;
/* rgb */ color: rgb(124, 180, 92);
/* oklch */ color: oklch(71.1% 0.133 135.2);
Tailwind
colors: {
  custom: {
    50: '#a4cb8c',
    500: '#7cb45c',
    950: '#000000',
  },
}
SCSS
$custom: #7cb45c;
$custom-light: #a4cb8c;
$custom-dark: #000000;
JSON
{
  "hex": "#7cb45c",
  "rgb": {
    "r": 124,
    "g": 180,
    "b": 92
  },
  "hsl": {
    "h": 98.182,
    "s": 36.975,
    "l": 53.333
  },
  "oklch": {
    "l": 0.7106,
    "c": 0.13309,
    "h": 135.2
  },
  "luminance": 0.377
}

Semantic roles & 50–950 ramp

primary
#7CB45C
secondary
#BBA3C9
accent
#5BCDA3
background
#FAFCF8
surface
#F4F8F0
border
#CED1CB
text
#0F130C
muted
#7F827D

Preview Lab

Preview with #7CB45C

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

Preview Lab → · Contrast checker → · Palette generator →

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