#4F7C2E#4F7C2E

#4F7C2E is a mid, moderate yellow-green. Relative luminance 0.163; OKLCH L 53.6% C 0.119 H 134.1°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#4F7C2E
RGBrgb(79, 124, 46)
HSLhsl(95, 46%, 33%)
HSVhsv(95, 63%, 49%)
CMYKcmyk(36.3%, 0%, 62.9%, 51.4%)
CIE-LABlab(47.33, -29.88, 36.87)
CIE-LCHlch(47.33, 47.45, 129.02°)
OKLaboklab(53.58% -0.0831 0.0858)
OKLCHoklch(53.58% 0.119 134.1)
XYZxyz(10.9250, 16.2744, 5.1499)
Luminance0.1628 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7C2E #5B2E7C
analogous
#767C2E #4F7C2E #2E7C34
triadic
#4F7C2E #2E4F7C #7C2E4F
tetradic
#4F7C2E #2E767C #5B2E7C #7C342E
square
#4F7C2E #2E767C #5B2E7C #7C342E
split-complementary
#4F7C2E #342E7C #7C2E76
monochromatic
#16230D #334F1D #4F7C2E #6BA93F #8BC460

Accessibility & contrast

On white

4.94
#4F7C2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#4F7C2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7C2E
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7C2E#FFFFFF#000000##FFFFFF
##4F7C2E1.004.944.264.94
#FFFFFF4.941.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817325
Deuteranopia (green-blind)
#7A6F34
Tritanopia (blue-blind)
#4F776B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4f7c2e;
/* rgb */ color: rgb(79, 124, 46);
/* oklch */ color: oklch(53.6% 0.119 134.1);
Tailwind
colors: {
  custom: {
    50: '#84a26a',
    500: '#4f7c2e',
    950: '#000000',
  },
}
SCSS
$custom: #4f7c2e;
$custom-light: #84a26a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7c2e",
  "rgb": {
    "r": 79,
    "g": 124,
    "b": 46
  },
  "hsl": {
    "h": 94.615,
    "s": 45.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53583,
    "c": 0.11945,
    "h": 134.1
  },
  "luminance": 0.16275
}

Semantic roles & 50–950 ramp

primary
#4F7C2E
secondary
#895BAB
accent
#52D69E
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #4F7C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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