#7CA42A#7CA42A

#7CA42A is a light, vivid yellow-green. Relative luminance 0.310; OKLCH L 66.6% C 0.153 H 126.3°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#7CA42A
RGBrgb(124, 164, 42)
HSLhsl(80, 59%, 40%)
HSVhsv(80, 74%, 64%)
CMYKcmyk(24.4%, 0%, 74.4%, 35.7%)
CIE-LABlab(62.51, -31.38, 55.19)
CIE-LCHlch(62.51, 63.48, 119.63°)
OKLaboklab(66.62% -0.0905 0.123)
OKLCHoklch(66.62% 0.153 126.3)
XYZxyz(22.0057, 31.0028, 7.0148)
Luminance0.3100 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA42A #522AA4
analogous
#A48F2A #7CA42A #3FA42A
triadic
#7CA42A #2A7CA4 #A42A7C
tetradic
#7CA42A #2AA48F #522AA4 #A42A3F
square
#7CA42A #2AA48F #522AA4 #A42A3F
split-complementary
#7CA42A #2A3FA4 #8F2AA4
monochromatic
#324311 #57731E #7CA42A #9ECD3E #B7DA6E

Accessibility & contrast

On white

2.92
#7CA42A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#7CA42A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CA42A
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CA42A#FFFFFF#000000##000000
##7CA42A1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9911
Deuteranopia (green-blind)
#A79635
Tritanopia (blue-blind)
#819C8D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7ca42a;
/* rgb */ color: rgb(124, 164, 42);
/* oklch */ color: oklch(66.6% 0.153 126.3);
Tailwind
colors: {
  custom: {
    50: '#a6bf6c',
    500: '#7ca42a',
    950: '#000000',
  },
}
SCSS
$custom: #7ca42a;
$custom-light: #a6bf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca42a",
  "rgb": {
    "r": 124,
    "g": 164,
    "b": 42
  },
  "hsl": {
    "h": 79.672,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.66617,
    "c": 0.15265,
    "h": 126.3
  },
  "luminance": 0.31003
}

Semantic roles & 50–950 ramp

primary
#7CA42A
secondary
#8669C1
accent
#45E279
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7CA42A

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

Preview Lab → · Contrast checker → · Palette generator →

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