#7CB945#7CB945

#7CB945 is a light, vivid yellow-green. Relative luminance 0.394; OKLCH L 72.0% C 0.161 H 132.7°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#7CB945
RGBrgb(124, 185, 69)
HSLhsl(92, 46%, 50%)
HSVhsv(92, 63%, 73%)
CMYKcmyk(33%, 0%, 62.7%, 27.5%)
CIE-LABlab(69.05, -38.98, 51.21)
CIE-LCHlch(69.05, 64.36, 127.28°)
OKLaboklab(72% -0.109 0.1183)
OKLCHoklch(72% 0.161 132.7)
XYZxyz(26.7349, 39.4117, 11.8277)
Luminance0.3941 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CB945 #8245B9
analogous
#B6B945 #7CB945 #45B948
triadic
#7CB945 #457CB9 #B9457C
tetradic
#7CB945 #45B6B9 #8245B9 #B94845
square
#7CB945 #45B6B9 #8245B9 #B94845
split-complementary
#7CB945 #4845B9 #B945B6
monochromatic
#406024 #5E8C34 #7CB945 #9BCA71 #BBDB9E

Accessibility & contrast

On white

2.36
#7CB945 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#7CB945 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CB945
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CB945#FFFFFF#000000##000000
##7CB9451.002.368.888.88
#FFFFFF2.361.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AC37
Deuteranopia (green-blind)
#B8A74E
Tritanopia (blue-blind)
#7DB2A1
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #7cb945;
/* rgb */ color: rgb(124, 185, 69);
/* oklch */ color: oklch(72.0% 0.161 132.7);
Tailwind
colors: {
  custom: {
    50: '#a6ce7d',
    500: '#7cb945',
    950: '#000000',
  },
}
SCSS
$custom: #7cb945;
$custom-light: #a6ce7d;
$custom-dark: #000000;
JSON
{
  "hex": "#7cb945",
  "rgb": {
    "r": 124,
    "g": 185,
    "b": 69
  },
  "hsl": {
    "h": 91.552,
    "s": 45.669,
    "l": 49.804
  },
  "oklch": {
    "l": 0.71995,
    "c": 0.16091,
    "h": 132.7
  },
  "luminance": 0.39413
}

Semantic roles & 50–950 ramp

primary
#7CB945
secondary
#AE93C7
accent
#52D597
background
#FAFCF7
surface
#F4F9EE
border
#CED2C9
text
#10130A
muted
#7F827C

Preview Lab

Preview with #7CB945

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

Preview Lab → · Contrast checker → · Palette generator →

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