#7CA340#7CA340

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

Color values

HEX#7CA340
RGBrgb(124, 163, 64)
HSLhsl(84, 44%, 45%)
HSVhsv(84, 61%, 64%)
CMYKcmyk(23.9%, 0%, 60.7%, 36.1%)
CIE-LABlab(62.38, -29.30, 46.04)
CIE-LCHlch(62.38, 54.57, 122.47°)
OKLaboklab(66.57% -0.0828 0.1068)
OKLCHoklch(66.57% 0.135 127.8)
XYZxyz(22.3347, 30.8492, 9.6273)
Luminance0.3085 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA340 #6740A3
analogous
#A39840 #7CA340 #4BA340
triadic
#7CA340 #407CA3 #A3407C
tetradic
#7CA340 #40A398 #6740A3 #A3404B
square
#7CA340 #40A398 #6740A3 #A3404B
split-complementary
#7CA340 #404BA3 #9840A3
monochromatic
#394B1D #5B772F #7CA340 #9AC060 #B6D28C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7CA340#FFFFFF#000000##000000
##7CA3401.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)
#AB9835
Deuteranopia (green-blind)
#A59647
Tritanopia (blue-blind)
#809C8E
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7ca340;
/* rgb */ color: rgb(124, 163, 64);
/* oklch */ color: oklch(66.6% 0.135 127.8);
Tailwind
colors: {
  custom: {
    50: '#a4be79',
    500: '#7ca340',
    950: '#000000',
  },
}
SCSS
$custom: #7ca340;
$custom-light: #a4be79;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca340",
  "rgb": {
    "r": 124,
    "g": 163,
    "b": 64
  },
  "hsl": {
    "h": 83.636,
    "s": 43.612,
    "l": 44.51
  },
  "oklch": {
    "l": 0.66566,
    "c": 0.13512,
    "h": 127.8
  },
  "luminance": 0.3085
}

Semantic roles & 50–950 ramp

primary
#7CA340
secondary
#9982BD
accent
#54D386
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#0F1209
muted
#7F817B

Preview Lab

Preview with #7CA340

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

Preview Lab → · Contrast checker → · Palette generator →

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