#4F7D1D#4F7D1D

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

Color values

HEX#4F7D1D
RGBrgb(79, 125, 29)
HSLhsl(89, 62%, 30%)
HSVhsv(89, 77%, 49%)
CMYKcmyk(36.8%, 0%, 76.8%, 51%)
CIE-LABlab(47.52, -31.76, 44.37)
CIE-LCHlch(47.52, 54.56, 125.60°)
OKLaboklab(53.69% -0.0897 0.0992)
OKLCHoklch(53.69% 0.134 132.1)
XYZxyz(10.7797, 16.4178, 3.7631)
Luminance0.1642 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7D1D #4B1D7D
analogous
#7D7B1D #4F7D1D #1F7D1D
triadic
#4F7D1D #1D4F7D #7D1D4F
tetradic
#4F7D1D #1D7D7B #4B1D7D #7D1D1F
square
#4F7D1D #1D7D7B #4B1D7D #7D1D1F
split-complementary
#4F7D1D #1D1F7D #7B1D7D
monochromatic
#101A06 #304B11 #4F7D1D #6EAF29 #8DD341

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F7D1D#FFFFFF#000000##FFFFFF
##4F7D1D1.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)
#837309
Deuteranopia (green-blind)
#7C6F26
Tritanopia (blue-blind)
#50786B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4f7d1d;
/* rgb */ color: rgb(79, 125, 29);
/* oklch */ color: oklch(53.7% 0.134 132.1);
Tailwind
colors: {
  custom: {
    50: '#85a360',
    500: '#4f7d1d',
    950: '#000000',
  },
}
SCSS
$custom: #4f7d1d;
$custom-light: #85a360;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7d1d",
  "rgb": {
    "r": 79,
    "g": 125,
    "b": 29
  },
  "hsl": {
    "h": 88.75,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.53689,
    "c": 0.13371,
    "h": 132.1
  },
  "luminance": 0.16418
}

Semantic roles & 50–950 ramp

primary
#4F7D1D
secondary
#7945B1
accent
#42E591
background
#F8FAF5
surface
#F0F3EA
border
#CBCDC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4F7D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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