#7CA12A#7CA12A

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

Color values

HEX#7CA12A
RGBrgb(124, 161, 42)
HSLhsl(79, 59%, 40%)
HSVhsv(79, 74%, 63%)
CMYKcmyk(23%, 0%, 73.9%, 36.9%)
CIE-LABlab(61.60, -29.97, 54.30)
CIE-LCHlch(61.60, 62.02, 118.89°)
OKLaboklab(65.88% -0.0866 0.1211)
OKLCHoklch(65.88% 0.149 125.6)
XYZxyz(21.4751, 29.9417, 6.8380)
Luminance0.2994 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA12A #4F2AA1
analogous
#A18A2A #7CA12A #41A12A
triadic
#7CA12A #2A7CA1 #A12A7C
tetradic
#7CA12A #2AA18A #4F2AA1 #A12A41
square
#7CA12A #2AA18A #4F2AA1 #A12A41
split-complementary
#7CA12A #2A41A1 #8A2AA1
monochromatic
#314011 #57701D #7CA12A #9FCC3C #B7D96D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7CA12A#FFFFFF#000000##000000
##7CA12A1.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)
#AA9613
Deuteranopia (green-blind)
#A59435
Tritanopia (blue-blind)
#82998A
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7ca12a;
/* rgb */ color: rgb(124, 161, 42);
/* oklch */ color: oklch(65.9% 0.149 125.6);
Tailwind
colors: {
  custom: {
    50: '#a5bd6c',
    500: '#7ca12a',
    950: '#000000',
  },
}
SCSS
$custom: #7ca12a;
$custom-light: #a5bd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca12a",
  "rgb": {
    "r": 124,
    "g": 161,
    "b": 42
  },
  "hsl": {
    "h": 78.655,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.65882,
    "c": 0.14888,
    "h": 125.6
  },
  "luminance": 0.29942
}

Semantic roles & 50–950 ramp

primary
#7CA12A
secondary
#8367C0
accent
#46E276
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7CA12A

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

Preview Lab → · Contrast checker → · Palette generator →

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