#7CAC2D#7CAC2D

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

Color values

HEX#7CAC2D
RGBrgb(124, 172, 45)
HSLhsl(83, 59%, 43%)
HSVhsv(83, 74%, 67%)
CMYKcmyk(27.9%, 0%, 73.8%, 32.5%)
CIE-LABlab(64.95, -34.91, 56.50)
CIE-LCHlch(64.95, 66.41, 121.72°)
OKLaboklab(68.6% -0.0999 0.1262)
OKLCHoklch(68.6% 0.161 128.4)
XYZxyz(23.5383, 33.9790, 7.8006)
Luminance0.3398 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CAC2D #5D2DAC
analogous
#AC9C2D #7CAC2D #3DAC2D
triadic
#7CAC2D #2D7CAC #AC2D7C
tetradic
#7CAC2D #2DAC9C #5D2DAC #AC2D3D
square
#7CAC2D #2DAC9C #5D2DAC #AC2D3D
split-complementary
#7CAC2D #2D3DAC #9C2DAC
monochromatic
#364B14 #597B20 #7CAC2D #9CCF47 #B6DC78

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7CAC2D#FFFFFF#000000##000000
##7CAC2D1.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)
#B5A014
Deuteranopia (green-blind)
#AE9D39
Tritanopia (blue-blind)
#80A494
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #7cac2d;
/* rgb */ color: rgb(124, 172, 45);
/* oklch */ color: oklch(68.6% 0.161 128.4);
Tailwind
colors: {
  custom: {
    50: '#a6c56f',
    500: '#7cac2d',
    950: '#000000',
  },
}
SCSS
$custom: #7cac2d;
$custom-light: #a6c56f;
$custom-dark: #000000;
JSON
{
  "hex": "#7cac2d",
  "rgb": {
    "r": 124,
    "g": 172,
    "b": 45
  },
  "hsl": {
    "h": 82.677,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.686,
    "c": 0.16092,
    "h": 128.4
  },
  "luminance": 0.3398
}

Semantic roles & 50–950 ramp

primary
#7CAC2D
secondary
#9071C4
accent
#46E281
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7CAC2D

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

Preview Lab → · Contrast checker → · Palette generator →

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