#7CA42D#7CA42D

#7CA42D is a light, vivid yellow-green. Relative luminance 0.310; OKLCH L 66.6% C 0.151 H 126.5°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#7CA42D
RGBrgb(124, 164, 45)
HSLhsl(80, 57%, 41%)
HSVhsv(80, 73%, 64%)
CMYKcmyk(24.4%, 0%, 72.6%, 35.7%)
CIE-LABlab(62.53, -31.21, 54.11)
CIE-LCHlch(62.53, 62.47, 119.97°)
OKLaboklab(66.64% -0.0897 0.1212)
OKLCHoklch(66.64% 0.151 126.5)
XYZxyz(22.0614, 31.0251, 7.3083)
Luminance0.3103 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA42D #552DA4
analogous
#A4902D #7CA42D #40A42D
triadic
#7CA42D #2D7CA4 #A42D7C
tetradic
#7CA42D #2DA490 #552DA4 #A42D40
square
#7CA42D #2DA490 #552DA4 #A42D40
split-complementary
#7CA42D #2D40A4 #902DA4
monochromatic
#334413 #587420 #7CA42D #9DCB43 #B6D973

Accessibility & contrast

On white

2.91
#7CA42D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#7CA42D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CA42D
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CA42D#FFFFFF#000000##000000
##7CA42D1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9918
Deuteranopia (green-blind)
#A79738
Tritanopia (blue-blind)
#819C8D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7ca42d;
/* rgb */ color: rgb(124, 164, 45);
/* oklch */ color: oklch(66.6% 0.151 126.5);
Tailwind
colors: {
  custom: {
    50: '#a5bf6e',
    500: '#7ca42d',
    950: '#000000',
  },
}
SCSS
$custom: #7ca42d;
$custom-light: #a5bf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca42d",
  "rgb": {
    "r": 124,
    "g": 164,
    "b": 45
  },
  "hsl": {
    "h": 80.168,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.66638,
    "c": 0.15079,
    "h": 126.5
  },
  "luminance": 0.31025
}

Semantic roles & 50–950 ramp

primary
#7CA42D
secondary
#896DC0
accent
#48E07B
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7CA42D

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

Preview Lab → · Contrast checker → · Palette generator →

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