#4F7C1E#4F7C1E

#4F7C1E is a mid, vivid yellow-green. Relative luminance 0.162; OKLCH L 53.4% C 0.132 H 132.0°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#4F7C1E
RGBrgb(79, 124, 30)
HSLhsl(89, 61%, 30%)
HSVhsv(89, 76%, 49%)
CMYKcmyk(36.3%, 0%, 75.8%, 51.4%)
CIE-LABlab(47.20, -31.23, 43.68)
CIE-LCHlch(47.20, 53.69, 125.57°)
OKLaboklab(53.43% -0.0882 0.0979)
OKLCHoklch(53.43% 0.132 132)
XYZxyz(10.6663, 16.1709, 3.7873)
Luminance0.1617 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7C1E #4B1E7C
analogous
#7C7A1E #4F7C1E #207C1E
triadic
#4F7C1E #1E4F7C #7C1E4F
tetradic
#4F7C1E #1E7C7A #4B1E7C #7C1E20
square
#4F7C1E #1E7C7A #4B1E7C #7C1E20
split-complementary
#4F7C1E #1E207C #7A1E7C
monochromatic
#101906 #304B12 #4F7C1E #6EAD2A #8DD143

Accessibility & contrast

On white

4.96
#4F7C1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#4F7C1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7C1E
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7C1E#FFFFFF#000000##FFFFFF
##4F7C1E1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82720C
Deuteranopia (green-blind)
#7B6F27
Tritanopia (blue-blind)
#50776A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4f7c1e;
/* rgb */ color: rgb(79, 124, 30);
/* oklch */ color: oklch(53.4% 0.132 132.0);
Tailwind
colors: {
  custom: {
    50: '#84a261',
    500: '#4f7c1e',
    950: '#000000',
  },
}
SCSS
$custom: #4f7c1e;
$custom-light: #84a261;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7c1e",
  "rgb": {
    "r": 79,
    "g": 124,
    "b": 30
  },
  "hsl": {
    "h": 88.723,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.5343,
    "c": 0.13175,
    "h": 132
  },
  "luminance": 0.16171
}

Semantic roles & 50–950 ramp

primary
#4F7C1E
secondary
#7946AF
accent
#44E490
background
#F8FAF5
surface
#EFF3EA
border
#CACDC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4F7C1E

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

Preview Lab → · Contrast checker → · Palette generator →

#4F7C1E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva