#7CAC2E#7CAC2E

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

Color values

HEX#7CAC2E
RGBrgb(124, 172, 46)
HSLhsl(83, 58%, 43%)
HSVhsv(83, 73%, 67%)
CMYKcmyk(27.9%, 0%, 73.3%, 32.5%)
CIE-LABlab(64.95, -34.85, 56.14)
CIE-LCHlch(64.95, 66.08, 121.83°)
OKLaboklab(68.61% -0.0996 0.1256)
OKLCHoklch(68.61% 0.16 128.4)
XYZxyz(23.5578, 33.9868, 7.9032)
Luminance0.3399 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CAC2E #5E2EAC
analogous
#AC9D2E #7CAC2E #3DAC2E
triadic
#7CAC2E #2E7CAC #AC2E7C
tetradic
#7CAC2E #2EAC9D #5E2EAC #AC2E3D
square
#7CAC2E #2EAC9D #5E2EAC #AC2E3D
split-complementary
#7CAC2E #2E3DAC #9D2EAC
monochromatic
#364B14 #597C21 #7CAC2E #9BCE49 #B6DB79

Accessibility & contrast

On white

2.69
#7CAC2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#7CAC2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CAC2E
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CAC2E#FFFFFF#000000##000000
##7CAC2E1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A016
Deuteranopia (green-blind)
#AE9D3A
Tritanopia (blue-blind)
#80A494
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #7cac2e;
/* rgb */ color: rgb(124, 172, 46);
/* oklch */ color: oklch(68.6% 0.160 128.4);
Tailwind
colors: {
  custom: {
    50: '#a6c56f',
    500: '#7cac2e',
    950: '#000000',
  },
}
SCSS
$custom: #7cac2e;
$custom-light: #a6c56f;
$custom-dark: #000000;
JSON
{
  "hex": "#7cac2e",
  "rgb": {
    "r": 124,
    "g": 172,
    "b": 46
  },
  "hsl": {
    "h": 82.857,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.68607,
    "c": 0.16031,
    "h": 128.4
  },
  "luminance": 0.33987
}

Semantic roles & 50–950 ramp

primary
#7CAC2E
secondary
#9172C3
accent
#47E182
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7CAC2E

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

Preview Lab → · Contrast checker → · Palette generator →

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