#4F7C1A#4F7C1A

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

Color values

HEX#4F7C1A
RGBrgb(79, 124, 26)
HSLhsl(88, 65%, 29%)
HSVhsv(88, 79%, 49%)
CMYKcmyk(36.3%, 0%, 79%, 51.4%)
CIE-LABlab(47.17, -31.49, 45.11)
CIE-LCHlch(47.17, 55.02, 124.91°)
OKLaboklab(53.4% -0.0892 0.1003)
OKLCHoklch(53.4% 0.134 131.6)
XYZxyz(10.6184, 16.1517, 3.5352)
Luminance0.1615 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7C1A #471A7C
analogous
#7C781A #4F7C1A #1E7C1A
triadic
#4F7C1A #1A4F7C #7C1A4F
tetradic
#4F7C1A #1A7C78 #471A7C #7C1A1E
square
#4F7C1A #1A7C78 #471A7C #7C1A1E
split-complementary
#4F7C1A #1A1E7C #781A7C
monochromatic
#101905 #2F490F #4F7C1A #6FAF25 #8FD63B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F7C1A#FFFFFF#000000##FFFFFF
##4F7C1A1.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)
#827203
Deuteranopia (green-blind)
#7C6F24
Tritanopia (blue-blind)
#50776A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4f7c1a;
/* rgb */ color: rgb(79, 124, 26);
/* oklch */ color: oklch(53.4% 0.134 131.6);
Tailwind
colors: {
  custom: {
    50: '#85a25f',
    500: '#4f7c1a',
    950: '#000000',
  },
}
SCSS
$custom: #4f7c1a;
$custom-light: #85a25f;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7c1a",
  "rgb": {
    "r": 79,
    "g": 124,
    "b": 26
  },
  "hsl": {
    "h": 87.551,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53402,
    "c": 0.13417,
    "h": 131.6
  },
  "luminance": 0.16152
}

Semantic roles & 50–950 ramp

primary
#4F7C1A
secondary
#7442B0
accent
#40E88D
background
#F8FAF5
surface
#F0F3EA
border
#CBCDC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4F7C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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