#7CAC2C#7CAC2C

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

Color values

HEX#7CAC2C
RGBrgb(124, 172, 44)
HSLhsl(83, 59%, 42%)
HSVhsv(83, 74%, 67%)
CMYKcmyk(27.9%, 0%, 74.4%, 32.5%)
CIE-LABlab(64.94, -34.97, 56.84)
CIE-LCHlch(64.94, 66.74, 121.60°)
OKLaboklab(68.59% -0.1001 0.1268)
OKLCHoklch(68.59% 0.162 128.3)
XYZxyz(23.5193, 33.9714, 7.7004)
Luminance0.3397 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CAC2C #5C2CAC
analogous
#AC9C2C #7CAC2C #3CAC2C
triadic
#7CAC2C #2C7CAC #AC2C7C
tetradic
#7CAC2C #2CAC9C #5C2CAC #AC2C3C
square
#7CAC2C #2CAC9C #5C2CAC #AC2C3C
split-complementary
#7CAC2C #2C3CAC #9C2CAC
monochromatic
#364B13 #597B20 #7CAC2C #9CD046 #B6DC76

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7CAC2C#FFFFFF#000000##000000
##7CAC2C1.002.697.797.79
#FFFFFF2.691.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7cac2c;
/* rgb */ color: rgb(124, 172, 44);
/* oklch */ color: oklch(68.6% 0.162 128.3);
Tailwind
colors: {
  custom: {
    50: '#a6c56e',
    500: '#7cac2c',
    950: '#000000',
  },
}
SCSS
$custom: #7cac2c;
$custom-light: #a6c56e;
$custom-dark: #000000;
JSON
{
  "hex": "#7cac2c",
  "rgb": {
    "r": 124,
    "g": 172,
    "b": 44
  },
  "hsl": {
    "h": 82.5,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.68593,
    "c": 0.16152,
    "h": 128.3
  },
  "luminance": 0.33972
}

Semantic roles & 50–950 ramp

primary
#7CAC2C
secondary
#8F70C4
accent
#45E280
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7CAC2C

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

Preview Lab → · Contrast checker → · Palette generator →

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