#7CA52F#7CA52F

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

Color values

HEX#7CA52F
RGBrgb(124, 165, 47)
HSLhsl(81, 56%, 42%)
HSVhsv(81, 72%, 65%)
CMYKcmyk(24.8%, 0%, 71.5%, 35.3%)
CIE-LABlab(62.84, -31.55, 53.68)
CIE-LCHlch(62.84, 62.26, 120.45°)
OKLaboklab(66.9% -0.0905 0.1206)
OKLCHoklch(66.9% 0.151 126.9)
XYZxyz(22.2805, 31.4002, 7.5758)
Luminance0.3140 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA52F #582FA5
analogous
#A5932F #7CA52F #41A52F
triadic
#7CA52F #2F7CA5 #A52F7C
tetradic
#7CA52F #2FA593 #582FA5 #A52F41
square
#7CA52F #2FA593 #582FA5 #A52F41
split-complementary
#7CA52F #2F41A5 #932FA5
monochromatic
#344614 #587521 #7CA52F #9DCB47 #B6D876

Accessibility & contrast

On white

2.88
#7CA52F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7CA52F#FFFFFF#000000##000000
##7CA52F1.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7ca52f;
/* rgb */ color: rgb(124, 165, 47);
/* oklch */ color: oklch(66.9% 0.151 126.9);
Tailwind
colors: {
  custom: {
    50: '#a5c06f',
    500: '#7ca52f',
    950: '#000000',
  },
}
SCSS
$custom: #7ca52f;
$custom-light: #a5c06f;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca52f",
  "rgb": {
    "r": 124,
    "g": 165,
    "b": 47
  },
  "hsl": {
    "h": 80.847,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.66898,
    "c": 0.15078,
    "h": 126.9
  },
  "luminance": 0.31401
}

Semantic roles & 50–950 ramp

primary
#7CA52F
secondary
#8C70C0
accent
#49DF7D
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7CA52F

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

Preview Lab → · Contrast checker → · Palette generator →

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