#7CB72A#7CB72A

#7CB72A is a light, vivid yellow-green. Relative luminance 0.383; OKLCH L 71.3% C 0.176 H 130.3°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#7CB72A
RGBrgb(124, 183, 42)
HSLhsl(85, 63%, 44%)
HSVhsv(85, 77%, 72%)
CMYKcmyk(32.2%, 0%, 77%, 28.2%)
CIE-LABlab(68.25, -40.00, 60.69)
CIE-LCHlch(68.25, 72.69, 123.39°)
OKLaboklab(71.29% -0.1139 0.1345)
OKLCHoklch(71.29% 0.176 130.3)
XYZxyz(25.6634, 38.3184, 8.2341)
Luminance0.3832 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CB72A #652AB7
analogous
#B7AC2A #7CB72A #36B72A
triadic
#7CB72A #2A7CB7 #B72A7C
tetradic
#7CB72A #2AB7AC #652AB7 #B72A36
square
#7CB72A #2AB7AC #652AB7 #B72A36
split-complementary
#7CB72A #2A36B7 #AC2AB7
monochromatic
#395313 #5A851F #7CB72A #9BD549 #B6E17B

Accessibility & contrast

On white

2.42
#7CB72A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#7CB72A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CB72A
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CB72A#FFFFFF#000000##000000
##7CB72A1.002.428.668.66
#FFFFFF2.421.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0A903
Deuteranopia (green-blind)
#B7A539
Tritanopia (blue-blind)
#7FAF9D
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #7cb72a;
/* rgb */ color: rgb(124, 183, 42);
/* oklch */ color: oklch(71.3% 0.176 130.3);
Tailwind
colors: {
  custom: {
    50: '#a7cd6f',
    500: '#7cb72a',
    950: '#000000',
  },
}
SCSS
$custom: #7cb72a;
$custom-light: #a7cd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7cb72a",
  "rgb": {
    "r": 124,
    "g": 183,
    "b": 42
  },
  "hsl": {
    "h": 85.106,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.71287,
    "c": 0.17625,
    "h": 130.3
  },
  "luminance": 0.38319
}

Semantic roles & 50–950 ramp

primary
#7CB72A
secondary
#9774C9
accent
#42E687
background
#FAFCF7
surface
#F4F9ED
border
#CED2C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7CB72A

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

Preview Lab → · Contrast checker → · Palette generator →

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