#7CA52A#7CA52A

#7CA52A is a light, vivid yellow-green. Relative luminance 0.314; OKLCH L 66.9% C 0.154 H 126.6°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#7CA52A
RGBrgb(124, 165, 42)
HSLhsl(80, 59%, 41%)
HSVhsv(80, 75%, 65%)
CMYKcmyk(24.8%, 0%, 74.5%, 35.3%)
CIE-LABlab(62.81, -31.85, 55.48)
CIE-LCHlch(62.81, 63.97, 119.86°)
OKLaboklab(66.86% -0.0918 0.1236)
OKLCHoklch(66.86% 0.154 126.6)
XYZxyz(22.1853, 31.3621, 7.0747)
Luminance0.3136 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA52A #532AA5
analogous
#A5902A #7CA52A #3EA52A
triadic
#7CA52A #2A7CA5 #A52A7C
tetradic
#7CA52A #2AA590 #532AA5 #A52A3E
square
#7CA52A #2AA590 #532AA5 #A52A3E
split-complementary
#7CA52A #2A3EA5 #902AA5
monochromatic
#334311 #57741E #7CA52A #9ECE3E #B7DA6F

Accessibility & contrast

On white

2.89
#7CA52A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#7CA52A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CA52A
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CA52A#FFFFFF#000000##000000
##7CA52A1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A11
Deuteranopia (green-blind)
#A89735
Tritanopia (blue-blind)
#819D8D
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7ca52a;
/* rgb */ color: rgb(124, 165, 42);
/* oklch */ color: oklch(66.9% 0.154 126.6);
Tailwind
colors: {
  custom: {
    50: '#a6c06d',
    500: '#7ca52a',
    950: '#000000',
  },
}
SCSS
$custom: #7ca52a;
$custom-light: #a6c06d;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca52a",
  "rgb": {
    "r": 124,
    "g": 165,
    "b": 42
  },
  "hsl": {
    "h": 80,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.66862,
    "c": 0.15391,
    "h": 126.6
  },
  "luminance": 0.31363
}

Semantic roles & 50–950 ramp

primary
#7CA52A
secondary
#8769C1
accent
#45E37A
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7CA52A

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

Preview Lab → · Contrast checker → · Palette generator →

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