#7CA12D#7CA12D

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

Color values

HEX#7CA12D
RGBrgb(124, 161, 45)
HSLhsl(79, 56%, 40%)
HSVhsv(79, 72%, 63%)
CMYKcmyk(23%, 0%, 72%, 36.9%)
CIE-LABlab(61.62, -29.79, 53.21)
CIE-LCHlch(61.62, 60.98, 119.24°)
OKLaboklab(65.9% -0.0858 0.1193)
OKLCHoklch(65.9% 0.147 125.7)
XYZxyz(21.5308, 29.9640, 7.1314)
Luminance0.2996 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA12D #522DA1
analogous
#A18C2D #7CA12D #42A12D
triadic
#7CA12D #2D7CA1 #A12D7C
tetradic
#7CA12D #2DA18C #522DA1 #A12D42
square
#7CA12D #2DA18C #522DA1 #A12D42
split-complementary
#7CA12D #2D42A1 #8C2DA1
monochromatic
#324112 #577120 #7CA12D #9ECA41 #B7D771

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7CA12D#FFFFFF#000000##000000
##7CA12D1.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)
#AA9619
Deuteranopia (green-blind)
#A59437
Tritanopia (blue-blind)
#81998A
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7ca12d;
/* rgb */ color: rgb(124, 161, 45);
/* oklch */ color: oklch(65.9% 0.147 125.7);
Tailwind
colors: {
  custom: {
    50: '#a5bd6e',
    500: '#7ca12d',
    950: '#000000',
  },
}
SCSS
$custom: #7ca12d;
$custom-light: #a5bd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca12d",
  "rgb": {
    "r": 124,
    "g": 161,
    "b": 45
  },
  "hsl": {
    "h": 79.138,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.65904,
    "c": 0.14697,
    "h": 125.7
  },
  "luminance": 0.29964
}

Semantic roles & 50–950 ramp

primary
#7CA12D
secondary
#866BBF
accent
#48E078
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7CA12D

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

Preview Lab → · Contrast checker → · Palette generator →

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