#7CAA2C#7CAA2C

#7CAA2C is a light, vivid yellow-green. Relative luminance 0.332; OKLCH L 68.1% C 0.159 H 127.9°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#7CAA2C
RGBrgb(124, 170, 44)
HSLhsl(82, 59%, 42%)
HSVhsv(82, 74%, 67%)
CMYKcmyk(27.1%, 0%, 74.1%, 33.3%)
CIE-LABlab(64.34, -34.06, 56.25)
CIE-LCHlch(64.34, 65.76, 121.19°)
OKLaboklab(68.1% -0.0976 0.1255)
OKLCHoklch(68.1% 0.159 127.9)
XYZxyz(23.1415, 33.2159, 7.5745)
Luminance0.3322 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CAA2C #5A2CAA
analogous
#AA992C #7CAA2C #3DAA2C
triadic
#7CAA2C #2C7CAA #AA2C7C
tetradic
#7CAA2C #2CAA99 #5A2CAA #AA2C3D
square
#7CAA2C #2CAA99 #5A2CAA #AA2C3D
split-complementary
#7CAA2C #2C3DAA #992CAA
monochromatic
#354913 #59791F #7CAA2C #9CCF44 #B6DB75

Accessibility & contrast

On white

2.75
#7CAA2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#7CAA2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CAA2C
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CAA2C#FFFFFF#000000##000000
##7CAA2C1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E13
Deuteranopia (green-blind)
#AC9B38
Tritanopia (blue-blind)
#81A292
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7caa2c;
/* rgb */ color: rgb(124, 170, 44);
/* oklch */ color: oklch(68.1% 0.159 127.9);
Tailwind
colors: {
  custom: {
    50: '#a6c36e',
    500: '#7caa2c',
    950: '#000000',
  },
}
SCSS
$custom: #7caa2c;
$custom-light: #a6c36e;
$custom-dark: #000000;
JSON
{
  "hex": "#7caa2c",
  "rgb": {
    "r": 124,
    "g": 170,
    "b": 44
  },
  "hsl": {
    "h": 81.905,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.68102,
    "c": 0.159,
    "h": 127.9
  },
  "luminance": 0.33216
}

Semantic roles & 50–950 ramp

primary
#7CAA2C
secondary
#8E6FC3
accent
#46E27F
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7CAA2C

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

Preview Lab → · Contrast checker → · Palette generator →

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