#7CA52D#7CA52D

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

Color values

HEX#7CA52D
RGBrgb(124, 165, 45)
HSLhsl(81, 57%, 41%)
HSVhsv(81, 73%, 65%)
CMYKcmyk(24.8%, 0%, 72.7%, 35.3%)
CIE-LABlab(62.83, -31.68, 54.41)
CIE-LCHlch(62.83, 62.96, 120.20°)
OKLaboklab(66.88% -0.091 0.1218)
OKLCHoklch(66.88% 0.152 126.8)
XYZxyz(22.2410, 31.3844, 7.3681)
Luminance0.3139 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA52D #562DA5
analogous
#A5922D #7CA52D #40A52D
triadic
#7CA52D #2D7CA5 #A52D7C
tetradic
#7CA52D #2DA592 #562DA5 #A52D40
square
#7CA52D #2DA592 #562DA5 #A52D40
split-complementary
#7CA52D #2D40A5 #922DA5
monochromatic
#344513 #587520 #7CA52D #9DCC43 #B6D973

Accessibility & contrast

On white

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

On black

7.28
#7CA52D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CA52D
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CA52D#FFFFFF#000000##000000
##7CA52D1.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A17
Deuteranopia (green-blind)
#A89738
Tritanopia (blue-blind)
#819D8E
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7ca52d;
/* rgb */ color: rgb(124, 165, 45);
/* oklch */ color: oklch(66.9% 0.152 126.8);
Tailwind
colors: {
  custom: {
    50: '#a5c06e',
    500: '#7ca52d',
    950: '#000000',
  },
}
SCSS
$custom: #7ca52d;
$custom-light: #a5c06e;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca52d",
  "rgb": {
    "r": 124,
    "g": 165,
    "b": 45
  },
  "hsl": {
    "h": 80.5,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.66883,
    "c": 0.15207,
    "h": 126.8
  },
  "luminance": 0.31385
}

Semantic roles & 50–950 ramp

primary
#7CA52D
secondary
#8A6DC1
accent
#47E07C
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7CA52D

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

Preview Lab → · Contrast checker → · Palette generator →

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