#4F7D20#4F7D20

#4F7D20 is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.7% C 0.132 H 132.4°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#4F7D20
RGBrgb(79, 125, 32)
HSLhsl(90, 59%, 31%)
HSVhsv(90, 74%, 49%)
CMYKcmyk(36.8%, 0%, 74.4%, 51%)
CIE-LABlab(47.54, -31.55, 43.24)
CIE-LCHlch(47.54, 53.53, 126.12°)
OKLaboklab(53.71% -0.0889 0.0973)
OKLCHoklch(53.71% 0.132 132.4)
XYZxyz(10.8186, 16.4333, 3.9681)
Luminance0.1643 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7D20 #4E207D
analogous
#7D7C20 #4F7D20 #217D20
triadic
#4F7D20 #204F7D #7D204F
tetradic
#4F7D20 #207D7C #4E207D #7D2021
square
#4F7D20 #207D7C #4E207D #7D2021
split-complementary
#4F7D20 #20217D #7C207D
monochromatic
#111C07 #304C14 #4F7D20 #6EAE2C #8CD047

Accessibility & contrast

On white

4.90
#4F7D20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#4F7D20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7D20
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7D20#FFFFFF#000000##FFFFFF
##4F7D201.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827310
Deuteranopia (green-blind)
#7C7029
Tritanopia (blue-blind)
#50786B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4f7d20;
/* rgb */ color: rgb(79, 125, 32);
/* oklch */ color: oklch(53.7% 0.132 132.4);
Tailwind
colors: {
  custom: {
    50: '#84a362',
    500: '#4f7d20',
    950: '#000000',
  },
}
SCSS
$custom: #4f7d20;
$custom-light: #84a362;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7d20",
  "rgb": {
    "r": 79,
    "g": 125,
    "b": 32
  },
  "hsl": {
    "h": 89.677,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53712,
    "c": 0.13178,
    "h": 132.4
  },
  "luminance": 0.16434
}

Semantic roles & 50–950 ramp

primary
#4F7D20
secondary
#7C49B0
accent
#45E293
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #4F7D20

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

Preview Lab → · Contrast checker → · Palette generator →

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