#7CAC2F#7CAC2F

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

Color values

HEX#7CAC2F
RGBrgb(124, 172, 47)
HSLhsl(83, 57%, 43%)
HSVhsv(83, 73%, 67%)
CMYKcmyk(27.9%, 0%, 72.7%, 32.5%)
CIE-LABlab(64.96, -34.79, 55.79)
CIE-LCHlch(64.96, 65.75, 121.95°)
OKLaboklab(68.61% -0.0994 0.125)
OKLCHoklch(68.61% 0.16 128.5)
XYZxyz(23.5778, 33.9948, 8.0082)
Luminance0.3399 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CAC2F #5F2FAC
analogous
#AC9D2F #7CAC2F #3DAC2F
triadic
#7CAC2F #2F7CAC #AC2F7C
tetradic
#7CAC2F #2FAC9D #5F2FAC #AC2F3D
square
#7CAC2F #2FAC9D #5F2FAC #AC2F3D
split-complementary
#7CAC2F #2F3DAC #9D2FAC
monochromatic
#374C15 #597C22 #7CAC2F #9BCE4B #B6DB7B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7CAC2F#FFFFFF#000000##000000
##7CAC2F1.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)
#B4A018
Deuteranopia (green-blind)
#AE9D3A
Tritanopia (blue-blind)
#80A494
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #7cac2f;
/* rgb */ color: rgb(124, 172, 47);
/* oklch */ color: oklch(68.6% 0.160 128.5);
Tailwind
colors: {
  custom: {
    50: '#a6c570',
    500: '#7cac2f',
    950: '#000000',
  },
}
SCSS
$custom: #7cac2f;
$custom-light: #a6c570;
$custom-dark: #000000;
JSON
{
  "hex": "#7cac2f",
  "rgb": {
    "r": 124,
    "g": 172,
    "b": 47
  },
  "hsl": {
    "h": 83.04,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.68614,
    "c": 0.15969,
    "h": 128.5
  },
  "luminance": 0.33995
}

Semantic roles & 50–950 ramp

primary
#7CAC2F
secondary
#9274C3
accent
#47E082
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7CAC2F

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

Preview Lab → · Contrast checker → · Palette generator →

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