#7CA12F#7CA12F

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

Color values

HEX#7CA12F
RGBrgb(124, 161, 47)
HSLhsl(79, 55%, 41%)
HSVhsv(79, 71%, 63%)
CMYKcmyk(23%, 0%, 70.8%, 36.9%)
CIE-LABlab(61.64, -29.66, 52.46)
CIE-LCHlch(61.64, 60.27, 119.48°)
OKLaboklab(65.92% -0.0853 0.118)
OKLCHoklch(65.92% 0.146 125.9)
XYZxyz(21.5702, 29.9798, 7.3390)
Luminance0.2998 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA12F #542FA1
analogous
#A18D2F #7CA12F #43A12F
triadic
#7CA12F #2F7CA1 #A12F7C
tetradic
#7CA12F #2FA18D #542FA1 #A12F43
square
#7CA12F #2FA18D #542FA1 #A12F43
split-complementary
#7CA12F #2F43A1 #8D2FA1
monochromatic
#334213 #587221 #7CA12F #9EC945 #B6D674

Accessibility & contrast

On white

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

On black

7.00
#7CA12F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CA12F
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CA12F#FFFFFF#000000##000000
##7CA12F1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7ca12f;
/* rgb */ color: rgb(124, 161, 47);
/* oklch */ color: oklch(65.9% 0.146 125.9);
Tailwind
colors: {
  custom: {
    50: '#a5bd6f',
    500: '#7ca12f',
    950: '#000000',
  },
}
SCSS
$custom: #7ca12f;
$custom-light: #a5bd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca12f",
  "rgb": {
    "r": 124,
    "g": 161,
    "b": 47
  },
  "hsl": {
    "h": 79.474,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.65919,
    "c": 0.14564,
    "h": 125.9
  },
  "luminance": 0.2998
}

Semantic roles & 50–950 ramp

primary
#7CA12F
secondary
#886EBE
accent
#4ADE7A
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7CA12F

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

Preview Lab → · Contrast checker → · Palette generator →

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