#7CAA42#7CAA42

#7CAA42 is a light, vivid yellow-green. Relative luminance 0.334; OKLCH L 68.3% C 0.143 H 129.7°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#7CAA42
RGBrgb(124, 170, 66)
HSLhsl(87, 44%, 46%)
HSVhsv(87, 61%, 67%)
CMYKcmyk(27.1%, 0%, 61.2%, 33.3%)
CIE-LABlab(64.51, -32.43, 47.50)
CIE-LCHlch(64.51, 57.52, 124.32°)
OKLaboklab(68.29% -0.0913 0.1101)
OKLCHoklch(68.29% 0.143 129.7)
XYZxyz(23.6701, 33.4273, 10.3582)
Luminance0.3343 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CAA42 #7042AA
analogous
#AAA442 #7CAA42 #48AA42
triadic
#7CAA42 #427CAA #AA427C
tetradic
#7CAA42 #42AAA4 #7042AA #AA4248
square
#7CAA42 #42AAA4 #7042AA #AA4248
split-complementary
#7CAA42 #4248AA #A442AA
monochromatic
#3C5220 #5C7E31 #7CAA42 #9AC366 #B7D592

Accessibility & contrast

On white

2.73
#7CAA42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#7CAA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CAA42
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CAA42#FFFFFF#000000##000000
##7CAA421.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29F36
Deuteranopia (green-blind)
#AB9B4A
Tritanopia (blue-blind)
#7FA394
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7caa42;
/* rgb */ color: rgb(124, 170, 66);
/* oklch */ color: oklch(68.3% 0.143 129.7);
Tailwind
colors: {
  custom: {
    50: '#a5c37a',
    500: '#7caa42',
    950: '#000000',
  },
}
SCSS
$custom: #7caa42;
$custom-light: #a5c37a;
$custom-dark: #000000;
JSON
{
  "hex": "#7caa42",
  "rgb": {
    "r": 124,
    "g": 170,
    "b": 66
  },
  "hsl": {
    "h": 86.538,
    "s": 44.068,
    "l": 46.275
  },
  "oklch": {
    "l": 0.68294,
    "c": 0.14303,
    "h": 129.7
  },
  "luminance": 0.33428
}

Semantic roles & 50–950 ramp

primary
#7CAA42
secondary
#A188C0
accent
#54D48D
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#101209
muted
#7F817B

Preview Lab

Preview with #7CAA42

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

Preview Lab → · Contrast checker → · Palette generator →

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