#7CA040#7CA040

#7CA040 is a light, vivid yellow-green. Relative luminance 0.298; OKLCH L 65.8% C 0.131 H 127.0°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#7CA040
RGBrgb(124, 160, 64)
HSLhsl(83, 43%, 44%)
HSVhsv(83, 60%, 63%)
CMYKcmyk(22.5%, 0%, 60%, 37.3%)
CIE-LABlab(61.48, -27.86, 45.03)
CIE-LCHlch(61.48, 52.95, 121.74°)
OKLaboklab(65.84% -0.0788 0.1046)
OKLCHoklch(65.84% 0.131 127)
XYZxyz(21.8084, 29.7965, 9.4518)
Luminance0.2980 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA040 #6440A0
analogous
#A09440 #7CA040 #4CA040
triadic
#7CA040 #407CA0 #A0407C
tetradic
#7CA040 #40A094 #6440A0 #A0404C
square
#7CA040 #40A094 #6440A0 #A0404C
split-complementary
#7CA040 #404CA0 #9440A0
monochromatic
#38491D #5A742F #7CA040 #9BBF5E #B6D08A

Accessibility & contrast

On white

3.02
#7CA040 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#7CA040 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7CA040
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CA040#FFFFFF#000000##000000
##7CA0401.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89635
Deuteranopia (green-blind)
#A39447
Tritanopia (blue-blind)
#80998B
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7ca040;
/* rgb */ color: rgb(124, 160, 64);
/* oklch */ color: oklch(65.8% 0.131 127.0);
Tailwind
colors: {
  custom: {
    50: '#a4bc78',
    500: '#7ca040',
    950: '#000000',
  },
}
SCSS
$custom: #7ca040;
$custom-light: #a4bc78;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca040",
  "rgb": {
    "r": 124,
    "g": 160,
    "b": 64
  },
  "hsl": {
    "h": 82.5,
    "s": 42.857,
    "l": 43.922
  },
  "oklch": {
    "l": 0.65837,
    "c": 0.13098,
    "h": 127
  },
  "luminance": 0.29797
}

Semantic roles & 50–950 ramp

primary
#7CA040
secondary
#9781BB
accent
#55D384
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#0F1209
muted
#7F817B

Preview Lab

Preview with #7CA040

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

Preview Lab → · Contrast checker → · Palette generator →

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