#7CAC2B#7CAC2B

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

Color values

HEX#7CAC2B
RGBrgb(124, 172, 43)
HSLhsl(82, 60%, 42%)
HSVhsv(82, 75%, 67%)
CMYKcmyk(27.9%, 0%, 75%, 32.5%)
CIE-LABlab(64.93, -35.03, 57.19)
CIE-LCHlch(64.93, 67.06, 121.49°)
OKLaboklab(68.59% -0.1003 0.1273)
OKLCHoklch(68.59% 0.162 128.2)
XYZxyz(23.5007, 33.9640, 7.6026)
Luminance0.3397 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CAC2B #5B2BAC
analogous
#AC9C2B #7CAC2B #3BAC2B
triadic
#7CAC2B #2B7CAC #AC2B7C
tetradic
#7CAC2B #2BAC9C #5B2BAC #AC2B3B
square
#7CAC2B #2BAC9C #5B2BAC #AC2B3B
split-complementary
#7CAC2B #2B3BAC #9C2BAC
monochromatic
#354A13 #597B1F #7CAC2B #9CD044 #B6DC75

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7CAC2B#FFFFFF#000000##000000
##7CAC2B1.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)
#B5A00F
Deuteranopia (green-blind)
#AE9D37
Tritanopia (blue-blind)
#80A493
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #7cac2b;
/* rgb */ color: rgb(124, 172, 43);
/* oklch */ color: oklch(68.6% 0.162 128.2);
Tailwind
colors: {
  custom: {
    50: '#a6c56e',
    500: '#7cac2b',
    950: '#000000',
  },
}
SCSS
$custom: #7cac2b;
$custom-light: #a6c56e;
$custom-dark: #000000;
JSON
{
  "hex": "#7cac2b",
  "rgb": {
    "r": 124,
    "g": 172,
    "b": 43
  },
  "hsl": {
    "h": 82.326,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.68586,
    "c": 0.1621,
    "h": 128.2
  },
  "luminance": 0.33965
}

Semantic roles & 50–950 ramp

primary
#7CAC2B
secondary
#8E6FC4
accent
#45E380
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101308
muted
#7F827B

Preview Lab

Preview with #7CAC2B

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

Preview Lab → · Contrast checker → · Palette generator →

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