#7CB245#7CB245

#7CB245 is a light, vivid yellow-green. Relative luminance 0.366; OKLCH L 70.3% C 0.151 H 131.5°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#7CB245
RGBrgb(124, 178, 69)
HSLhsl(90, 44%, 48%)
HSVhsv(90, 61%, 70%)
CMYKcmyk(30.3%, 0%, 61.2%, 30.2%)
CIE-LABlab(66.94, -35.84, 48.87)
CIE-LCHlch(66.94, 60.61, 126.26°)
OKLaboklab(70.28% -0.1004 0.1134)
OKLCHoklch(70.28% 0.151 131.5)
XYZxyz(25.3065, 36.5547, 11.3515)
Luminance0.3656 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CB245 #7B45B2
analogous
#B2B145 #7CB245 #45B245
triadic
#7CB245 #457CB2 #B2457C
tetradic
#7CB245 #45B2B1 #7B45B2 #B24545
square
#7CB245 #45B2B1 #7B45B2 #B24545
split-complementary
#7CB245 #4545B2 #B145B2
monochromatic
#3F5A23 #5D8634 #7CB245 #9BC76E #B9D89A

Accessibility & contrast

On white

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

On black

8.31
#7CB245 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CB245
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CB245#FFFFFF#000000##000000
##7CB2451.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A639
Deuteranopia (green-blind)
#B2A14D
Tritanopia (blue-blind)
#7EAB9B
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7cb245;
/* rgb */ color: rgb(124, 178, 69);
/* oklch */ color: oklch(70.3% 0.151 131.5);
Tailwind
colors: {
  custom: {
    50: '#a5c97d',
    500: '#7cb245',
    950: '#000000',
  },
}
SCSS
$custom: #7cb245;
$custom-light: #a5c97d;
$custom-dark: #000000;
JSON
{
  "hex": "#7cb245",
  "rgb": {
    "r": 124,
    "g": 178,
    "b": 69
  },
  "hsl": {
    "h": 89.725,
    "s": 44.13,
    "l": 48.431
  },
  "oklch": {
    "l": 0.70281,
    "c": 0.15145,
    "h": 131.5
  },
  "luminance": 0.36556
}

Semantic roles & 50–950 ramp

primary
#7CB245
secondary
#A98FC4
accent
#54D493
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#10130A
muted
#7F827C

Preview Lab

Preview with #7CB245

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

Preview Lab → · Contrast checker → · Palette generator →

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