#4F7D2F#4F7D2F

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

Color values

HEX#4F7D2F
RGBrgb(79, 125, 47)
HSLhsl(95, 45%, 34%)
HSVhsv(95, 62%, 49%)
CMYKcmyk(36.8%, 0%, 62.4%, 51%)
CIE-LABlab(47.67, -30.25, 36.76)
CIE-LCHlch(47.67, 47.60, 129.45°)
OKLaboklab(53.86% -0.0841 0.0857)
OKLCHoklch(53.86% 0.12 134.5)
XYZxyz(11.0709, 16.5343, 5.2969)
Luminance0.1653 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7D2F #5D2F7D
analogous
#767D2F #4F7D2F #2F7D36
triadic
#4F7D2F #2F4F7D #7D2F4F
tetradic
#4F7D2F #2F767D #5D2F7D #7D362F
square
#4F7D2F #2F767D #5D2F7D #7D362F
split-complementary
#4F7D2F #362F7D #7D2F76
monochromatic
#17240E #33511E #4F7D2F #6BA940 #8AC462

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F7D2F#FFFFFF#000000##FFFFFF
##4F7D2F1.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)
#827326
Deuteranopia (green-blind)
#7B7035
Tritanopia (blue-blind)
#4F786C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4f7d2f;
/* rgb */ color: rgb(79, 125, 47);
/* oklch */ color: oklch(53.9% 0.120 134.5);
Tailwind
colors: {
  custom: {
    50: '#84a36b',
    500: '#4f7d2f',
    950: '#000000',
  },
}
SCSS
$custom: #4f7d2f;
$custom-light: #84a36b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7d2f",
  "rgb": {
    "r": 79,
    "g": 125,
    "b": 47
  },
  "hsl": {
    "h": 95.385,
    "s": 45.349,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53859,
    "c": 0.12002,
    "h": 134.5
  },
  "luminance": 0.16535
}

Semantic roles & 50–950 ramp

primary
#4F7D2F
secondary
#8B5DAB
accent
#53D5A0
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #4F7D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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