#7CA72A#7CA72A

#7CA72A is a light, vivid yellow-green. Relative luminance 0.321; OKLCH L 67.4% C 0.156 H 127.1°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#7CA72A
RGBrgb(124, 167, 42)
HSLhsl(81, 60%, 41%)
HSVhsv(81, 75%, 65%)
CMYKcmyk(25.7%, 0%, 74.9%, 34.5%)
CIE-LABlab(63.42, -32.79, 56.06)
CIE-LCHlch(63.42, 64.95, 120.32°)
OKLaboklab(67.35% -0.0943 0.1248)
OKLCHoklch(67.35% 0.156 127.1)
XYZxyz(22.5489, 32.0893, 7.1959)
Luminance0.3209 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA72A #552AA7
analogous
#A7932A #7CA72A #3DA72A
triadic
#7CA72A #2A7CA7 #A72A7C
tetradic
#7CA72A #2AA793 #552AA7 #A72A3D
square
#7CA72A #2AA793 #552AA7 #A72A3D
split-complementary
#7CA72A #2A3DA7 #932AA7
monochromatic
#334511 #58761E #7CA72A #9DCF3F #B6DB70

Accessibility & contrast

On white

2.83
#7CA72A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#7CA72A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CA72A
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CA72A#FFFFFF#000000##000000
##7CA72A1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B10
Deuteranopia (green-blind)
#AA9936
Tritanopia (blue-blind)
#819F8F
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7ca72a;
/* rgb */ color: rgb(124, 167, 42);
/* oklch */ color: oklch(67.4% 0.156 127.1);
Tailwind
colors: {
  custom: {
    50: '#a6c16d',
    500: '#7ca72a',
    950: '#000000',
  },
}
SCSS
$custom: #7ca72a;
$custom-light: #a6c16d;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca72a",
  "rgb": {
    "r": 124,
    "g": 167,
    "b": 42
  },
  "hsl": {
    "h": 80.64,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.67352,
    "c": 0.15642,
    "h": 127.1
  },
  "luminance": 0.3209
}

Semantic roles & 50–950 ramp

primary
#7CA72A
secondary
#896BC2
accent
#45E37B
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7CA72A

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

Preview Lab → · Contrast checker → · Palette generator →

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