#4F7D1E#4F7D1E

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

Color values

HEX#4F7D1E
RGBrgb(79, 125, 30)
HSLhsl(89, 61%, 30%)
HSVhsv(89, 76%, 49%)
CMYKcmyk(36.8%, 0%, 76%, 51%)
CIE-LABlab(47.52, -31.69, 44.00)
CIE-LCHlch(47.52, 54.22, 125.77°)
OKLaboklab(53.7% -0.0894 0.0986)
OKLCHoklch(53.7% 0.133 132.2)
XYZxyz(10.7923, 16.4228, 3.8293)
Luminance0.1642 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7D1E #4C1E7D
analogous
#7D7B1E #4F7D1E #1F7D1E
triadic
#4F7D1E #1E4F7D #7D1E4F
tetradic
#4F7D1E #1E7D7B #4C1E7D #7D1E1F
square
#4F7D1E #1E7D7B #4C1E7D #7D1E1F
split-complementary
#4F7D1E #1E1F7D #7B1E7D
monochromatic
#111A06 #304C12 #4F7D1E #6EAE2A #8DD243

Accessibility & contrast

On white

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

On black

4.28
#4F7D1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4F7D1E#FFFFFF#000000##FFFFFF
##4F7D1E1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f7d1e;
/* rgb */ color: rgb(79, 125, 30);
/* oklch */ color: oklch(53.7% 0.133 132.2);
Tailwind
colors: {
  custom: {
    50: '#84a361',
    500: '#4f7d1e',
    950: '#000000',
  },
}
SCSS
$custom: #4f7d1e;
$custom-light: #84a361;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7d1e",
  "rgb": {
    "r": 79,
    "g": 125,
    "b": 30
  },
  "hsl": {
    "h": 89.053,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53696,
    "c": 0.13309,
    "h": 132.2
  },
  "luminance": 0.16423
}

Semantic roles & 50–950 ramp

primary
#4F7D1E
secondary
#7A46B0
accent
#43E491
background
#F8FAF5
surface
#EFF3EA
border
#CACDC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4F7D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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