#4F7D2E#4F7D2E

#4F7D2E is a mid, vivid yellow-green. Relative luminance 0.165; OKLCH L 53.8% C 0.121 H 134.3°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#4F7D2E
RGBrgb(79, 125, 46)
HSLhsl(95, 46%, 34%)
HSVhsv(95, 63%, 49%)
CMYKcmyk(36.8%, 0%, 63.2%, 51%)
CIE-LABlab(47.66, -30.35, 37.23)
CIE-LCHlch(47.66, 48.03, 129.19°)
OKLaboklab(53.85% -0.0844 0.0866)
OKLCHoklch(53.85% 0.121 134.3)
XYZxyz(11.0510, 16.5263, 5.1919)
Luminance0.1653 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7D2E #5C2E7D
analogous
#767D2E #4F7D2E #2E7D34
triadic
#4F7D2E #2E4F7D #7D2E4F
tetradic
#4F7D2E #2E767D #5C2E7D #7D342E
square
#4F7D2E #2E767D #5C2E7D #7D342E
split-complementary
#4F7D2E #342E7D #7D2E76
monochromatic
#16240D #33501E #4F7D2E #6BAA3E #8AC561

Accessibility & contrast

On white

4.88
#4F7D2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#4F7D2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7D2E
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7D2E#FFFFFF#000000##FFFFFF
##4F7D2E1.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827325
Deuteranopia (green-blind)
#7B7034
Tritanopia (blue-blind)
#4F786C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4f7d2e;
/* rgb */ color: rgb(79, 125, 46);
/* oklch */ color: oklch(53.8% 0.121 134.3);
Tailwind
colors: {
  custom: {
    50: '#84a36a',
    500: '#4f7d2e',
    950: '#000000',
  },
}
SCSS
$custom: #4f7d2e;
$custom-light: #84a36a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7d2e",
  "rgb": {
    "r": 79,
    "g": 125,
    "b": 46
  },
  "hsl": {
    "h": 94.937,
    "s": 46.199,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53848,
    "c": 0.1209,
    "h": 134.3
  },
  "luminance": 0.16527
}

Semantic roles & 50–950 ramp

primary
#4F7D2E
secondary
#8A5BAB
accent
#52D69F
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #4F7D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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