#7CA840#7CA840

#7CA840 is a light, vivid yellow-green. Relative luminance 0.327; OKLCH L 67.8% C 0.142 H 129.0°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#7CA840
RGBrgb(124, 168, 64)
HSLhsl(85, 45%, 45%)
HSVhsv(85, 62%, 66%)
CMYKcmyk(26.2%, 0%, 61.9%, 34.1%)
CIE-LABlab(63.88, -31.67, 47.71)
CIE-LCHlch(63.88, 57.27, 123.58°)
OKLaboklab(67.79% -0.0893 0.1103)
OKLCHoklch(67.79% 0.142 129)
XYZxyz(23.2401, 32.6600, 9.9291)
Luminance0.3266 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA840 #6C40A8
analogous
#A8A040 #7CA840 #48A840
triadic
#7CA840 #407CA8 #A8407C
tetradic
#7CA840 #40A8A0 #6C40A8 #A84048
square
#7CA840 #40A8A0 #6C40A8 #A84048
split-complementary
#7CA840 #4048A8 #A040A8
monochromatic
#3B4F1E #5B7C2F #7CA840 #9AC362 #B7D48E

Accessibility & contrast

On white

2.79
#7CA840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#7CA840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CA840
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CA840#FFFFFF#000000##000000
##7CA8401.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D34
Deuteranopia (green-blind)
#A99A48
Tritanopia (blue-blind)
#7FA192
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7ca840;
/* rgb */ color: rgb(124, 168, 64);
/* oklch */ color: oklch(67.8% 0.142 129.0);
Tailwind
colors: {
  custom: {
    50: '#a5c279',
    500: '#7ca840',
    950: '#000000',
  },
}
SCSS
$custom: #7ca840;
$custom-light: #a5c279;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca840",
  "rgb": {
    "r": 124,
    "g": 168,
    "b": 64
  },
  "hsl": {
    "h": 85.385,
    "s": 44.828,
    "l": 45.49
  },
  "oklch": {
    "l": 0.67785,
    "c": 0.14198,
    "h": 129
  },
  "luminance": 0.32661
}

Semantic roles & 50–950 ramp

primary
#7CA840
secondary
#9D85BF
accent
#53D58A
background
#FAFBF7
surface
#F4F7EE
border
#CED0C9
text
#101209
muted
#7F817B

Preview Lab

Preview with #7CA840

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

Preview Lab → · Contrast checker → · Palette generator →

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