#7CA342#7CA342

#7CA342 is a light, vivid yellow-green. Relative luminance 0.309; OKLCH L 66.6% C 0.133 H 128.0°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#7CA342
RGBrgb(124, 163, 66)
HSLhsl(84, 42%, 45%)
HSVhsv(84, 60%, 64%)
CMYKcmyk(23.9%, 0%, 59.5%, 36.1%)
CIE-LABlab(62.40, -29.12, 45.14)
CIE-LCHlch(62.40, 53.72, 122.83°)
OKLaboklab(66.59% -0.0821 0.1051)
OKLCHoklch(66.59% 0.133 128)
XYZxyz(22.3927, 30.8724, 9.9324)
Luminance0.3087 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA342 #6942A3
analogous
#A39A42 #7CA342 #4BA342
triadic
#7CA342 #427CA3 #A3427C
tetradic
#7CA342 #42A39A #6942A3 #A3424B
square
#7CA342 #42A39A #6942A3 #A3424B
split-complementary
#7CA342 #424BA3 #9A42A3
monochromatic
#3A4C1F #5B7730 #7CA342 #9AC063 #B6D18E

Accessibility & contrast

On white

2.93
#7CA342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#7CA342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CA342
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CA342#FFFFFF#000000##000000
##7CA3421.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9938
Deuteranopia (green-blind)
#A59649
Tritanopia (blue-blind)
#809C8E
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7ca342;
/* rgb */ color: rgb(124, 163, 66);
/* oklch */ color: oklch(66.6% 0.133 128.0);
Tailwind
colors: {
  custom: {
    50: '#a4be7a',
    500: '#7ca342',
    950: '#000000',
  },
}
SCSS
$custom: #7ca342;
$custom-light: #a4be7a;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca342",
  "rgb": {
    "r": 124,
    "g": 163,
    "b": 66
  },
  "hsl": {
    "h": 84.124,
    "s": 42.358,
    "l": 44.902
  },
  "oklch": {
    "l": 0.66589,
    "c": 0.13337,
    "h": 128
  },
  "luminance": 0.30873
}

Semantic roles & 50–950 ramp

primary
#7CA342
secondary
#9B84BC
accent
#56D288
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#0F1209
muted
#7F817B

Preview Lab

Preview with #7CA342

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

Preview Lab → · Contrast checker → · Palette generator →

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