#7CA72F#7CA72F

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

Color values

HEX#7CA72F
RGBrgb(124, 167, 47)
HSLhsl(82, 56%, 42%)
HSVhsv(82, 72%, 65%)
CMYKcmyk(25.7%, 0%, 71.9%, 34.5%)
CIE-LABlab(63.45, -32.49, 54.28)
CIE-LCHlch(63.45, 63.26, 120.90°)
OKLaboklab(67.39% -0.0931 0.1219)
OKLCHoklch(67.39% 0.153 127.4)
XYZxyz(22.6440, 32.1273, 7.6970)
Luminance0.3213 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA72F #5A2FA7
analogous
#A7962F #7CA72F #40A72F
triadic
#7CA72F #2F7CA7 #A72F7C
tetradic
#7CA72F #2FA796 #5A2FA7 #A72F40
square
#7CA72F #2FA796 #5A2FA7 #A72F40
split-complementary
#7CA72F #2F40A7 #962FA7
monochromatic
#354714 #597722 #7CA72F #9CCB48 #B6D978

Accessibility & contrast

On white

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

On black

7.43
#7CA72F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CA72F
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CA72F#FFFFFF#000000##000000
##7CA72F1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7ca72f;
/* rgb */ color: rgb(124, 167, 47);
/* oklch */ color: oklch(67.4% 0.153 127.4);
Tailwind
colors: {
  custom: {
    50: '#a5c16f',
    500: '#7ca72f',
    950: '#000000',
  },
}
SCSS
$custom: #7ca72f;
$custom-light: #a5c16f;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca72f",
  "rgb": {
    "r": 124,
    "g": 167,
    "b": 47
  },
  "hsl": {
    "h": 81.5,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.67387,
    "c": 0.15333,
    "h": 127.4
  },
  "luminance": 0.32128
}

Semantic roles & 50–950 ramp

primary
#7CA72F
secondary
#8E71C1
accent
#48DF7F
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7CA72F

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

Preview Lab → · Contrast checker → · Palette generator →

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