#7CA12C#7CA12C

#7CA12C is a light, vivid yellow-green. Relative luminance 0.300; OKLCH L 65.9% C 0.148 H 125.7°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#7CA12C
RGBrgb(124, 161, 44)
HSLhsl(79, 57%, 40%)
HSVhsv(79, 73%, 63%)
CMYKcmyk(23%, 0%, 72.7%, 36.9%)
CIE-LABlab(61.62, -29.85, 53.58)
CIE-LCHlch(61.62, 61.33, 119.12°)
OKLaboklab(65.9% -0.0861 0.1199)
OKLCHoklch(65.9% 0.148 125.7)
XYZxyz(21.5118, 29.9564, 7.0312)
Luminance0.2996 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA12C #512CA1
analogous
#A18B2C #7CA12C #42A12C
triadic
#7CA12C #2C7CA1 #A12C7C
tetradic
#7CA12C #2CA18B #512CA1 #A12C42
square
#7CA12C #2CA18B #512CA1 #A12C42
split-complementary
#7CA12C #2C42A1 #8B2CA1
monochromatic
#324112 #57711F #7CA12C #9FCB40 #B7D870

Accessibility & contrast

On white

3.00
#7CA12C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#7CA12C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7CA12C
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CA12C#FFFFFF#000000##000000
##7CA12C1.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9617
Deuteranopia (green-blind)
#A59436
Tritanopia (blue-blind)
#81998A
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7ca12c;
/* rgb */ color: rgb(124, 161, 44);
/* oklch */ color: oklch(65.9% 0.148 125.7);
Tailwind
colors: {
  custom: {
    50: '#a5bd6d',
    500: '#7ca12c',
    950: '#000000',
  },
}
SCSS
$custom: #7ca12c;
$custom-light: #a5bd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca12c",
  "rgb": {
    "r": 124,
    "g": 161,
    "b": 44
  },
  "hsl": {
    "h": 78.974,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.65897,
    "c": 0.14763,
    "h": 125.7
  },
  "luminance": 0.29957
}

Semantic roles & 50–950 ramp

primary
#7CA12C
secondary
#856ABF
accent
#47E078
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7CA12C

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

Preview Lab → · Contrast checker → · Palette generator →

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