#4F7D2C#4F7D2C

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

Color values

HEX#4F7D2C
RGBrgb(79, 125, 44)
HSLhsl(94, 48%, 33%)
HSVhsv(94, 65%, 49%)
CMYKcmyk(36.8%, 0%, 64.8%, 51%)
CIE-LABlab(47.64, -30.55, 38.15)
CIE-LCHlch(47.64, 48.87, 128.68°)
OKLaboklab(53.83% -0.0851 0.0883)
OKLCHoklch(53.83% 0.123 134)
XYZxyz(11.0125, 16.5109, 4.9891)
Luminance0.1651 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7D2C #5A2C7D
analogous
#777D2C #4F7D2C #2C7D31
triadic
#4F7D2C #2C4F7D #7D2C4F
tetradic
#4F7D2C #2C777D #5A2C7D #7D312C
square
#4F7D2C #2C777D #5A2C7D #7D312C
split-complementary
#4F7D2C #312C7D #7D2C77
monochromatic
#16220C #32501C #4F7D2C #6CAA3C #8BC65D

Accessibility & contrast

On white

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

On black

4.30
#4F7D2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4F7D2C#FFFFFF#000000##FFFFFF
##4F7D2C1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f7d2c;
/* rgb */ color: rgb(79, 125, 44);
/* oklch */ color: oklch(53.8% 0.123 134.0);
Tailwind
colors: {
  custom: {
    50: '#84a369',
    500: '#4f7d2c',
    950: '#000000',
  },
}
SCSS
$custom: #4f7d2c;
$custom-light: #84a369;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7d2c",
  "rgb": {
    "r": 79,
    "g": 125,
    "b": 44
  },
  "hsl": {
    "h": 94.074,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53825,
    "c": 0.12264,
    "h": 134
  },
  "luminance": 0.16511
}

Semantic roles & 50–950 ramp

primary
#4F7D2C
secondary
#8859AC
accent
#50D89D
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4F7D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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