#7CAC2A#7CAC2A

#7CAC2A is a light, vivid yellow-green. Relative luminance 0.340; OKLCH L 68.6% C 0.163 H 128.2°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#7CAC2A
RGBrgb(124, 172, 42)
HSLhsl(82, 61%, 42%)
HSVhsv(82, 76%, 67%)
CMYKcmyk(27.9%, 0%, 75.6%, 32.5%)
CIE-LABlab(64.93, -35.09, 57.52)
CIE-LCHlch(64.93, 67.38, 121.38°)
OKLaboklab(68.58% -0.1006 0.1279)
OKLCHoklch(68.58% 0.163 128.2)
XYZxyz(23.4826, 33.9567, 7.5071)
Luminance0.3396 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CAC2A #5A2AAC
analogous
#AC9B2A #7CAC2A #3BAC2A
triadic
#7CAC2A #2A7CAC #AC2A7C
tetradic
#7CAC2A #2AAC9B #5A2AAC #AC2A3B
square
#7CAC2A #2AAC9B #5A2AAC #AC2A3B
split-complementary
#7CAC2A #2A3BAC #9B2AAC
monochromatic
#354A12 #597B1E #7CAC2A #9CD142 #B6DD73

Accessibility & contrast

On white

2.70
#7CAC2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#7CAC2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CAC2A
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CAC2A#FFFFFF#000000##000000
##7CAC2A1.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A00C
Deuteranopia (green-blind)
#AE9D37
Tritanopia (blue-blind)
#80A493
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #7cac2a;
/* rgb */ color: rgb(124, 172, 42);
/* oklch */ color: oklch(68.6% 0.163 128.2);
Tailwind
colors: {
  custom: {
    50: '#a6c56d',
    500: '#7cac2a',
    950: '#000000',
  },
}
SCSS
$custom: #7cac2a;
$custom-light: #a6c56d;
$custom-dark: #000000;
JSON
{
  "hex": "#7cac2a",
  "rgb": {
    "r": 124,
    "g": 172,
    "b": 42
  },
  "hsl": {
    "h": 82.154,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.6858,
    "c": 0.16267,
    "h": 128.2
  },
  "luminance": 0.33957
}

Semantic roles & 50–950 ramp

primary
#7CAC2A
secondary
#8E6DC4
accent
#44E47F
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101308
muted
#7F827B

Preview Lab

Preview with #7CAC2A

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

Preview Lab → · Contrast checker → · Palette generator →

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