#7CA142#7CA142

#7CA142 is a light, vivid yellow-green. Relative luminance 0.302; OKLCH L 66.1% C 0.131 H 127.5°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#7CA142
RGBrgb(124, 161, 66)
HSLhsl(83, 42%, 45%)
HSVhsv(83, 59%, 63%)
CMYKcmyk(23%, 0%, 59%, 36.9%)
CIE-LABlab(61.80, -28.16, 44.46)
CIE-LCHlch(61.80, 52.63, 122.35°)
OKLaboklab(66.1% -0.0795 0.1036)
OKLCHoklch(66.1% 0.131 127.5)
XYZxyz(22.0404, 30.1678, 9.8150)
Luminance0.3017 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA142 #6742A1
analogous
#A19642 #7CA142 #4DA142
triadic
#7CA142 #427CA1 #A1427C
tetradic
#7CA142 #42A196 #6742A1 #A1424D
square
#7CA142 #42A196 #6742A1 #A1424D
split-complementary
#7CA142 #424DA1 #9642A1
monochromatic
#394A1E #5B7630 #7CA142 #9ABF62 #B6D08D

Accessibility & contrast

On white

2.99
#7CA142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#7CA142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CA142
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CA142#FFFFFF#000000##000000
##7CA1421.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99738
Deuteranopia (green-blind)
#A39548
Tritanopia (blue-blind)
#809A8C
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7ca142;
/* rgb */ color: rgb(124, 161, 66);
/* oklch */ color: oklch(66.1% 0.131 127.5);
Tailwind
colors: {
  custom: {
    50: '#a4bd7a',
    500: '#7ca142',
    950: '#000000',
  },
}
SCSS
$custom: #7ca142;
$custom-light: #a4bd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca142",
  "rgb": {
    "r": 124,
    "g": 161,
    "b": 66
  },
  "hsl": {
    "h": 83.368,
    "s": 41.85,
    "l": 44.51
  },
  "oklch": {
    "l": 0.66102,
    "c": 0.13058,
    "h": 127.5
  },
  "luminance": 0.30168
}

Semantic roles & 50–950 ramp

primary
#7CA142
secondary
#9983BB
accent
#56D286
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#0F1209
muted
#7F817B

Preview Lab

Preview with #7CA142

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

Preview Lab → · Contrast checker → · Palette generator →

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