#4F7D2D#4F7D2D

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

Color values

HEX#4F7D2D
RGBrgb(79, 125, 45)
HSLhsl(95, 47%, 33%)
HSVhsv(95, 64%, 49%)
CMYKcmyk(36.8%, 0%, 64%, 51%)
CIE-LABlab(47.65, -30.45, 37.69)
CIE-LCHlch(47.65, 48.45, 128.93°)
OKLaboklab(53.84% -0.0848 0.0874)
OKLCHoklch(53.84% 0.122 134.1)
XYZxyz(11.0315, 16.5185, 5.0893)
Luminance0.1652 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7D2D #5B2D7D
analogous
#777D2D #4F7D2D #2D7D33
triadic
#4F7D2D #2D4F7D #7D2D4F
tetradic
#4F7D2D #2D777D #5B2D7D #7D332D
square
#4F7D2D #2D777D #5B2D7D #7D332D
split-complementary
#4F7D2D #332D7D #7D2D77
monochromatic
#16230D #33501D #4F7D2D #6BAA3D #8BC55F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F7D2D#FFFFFF#000000##FFFFFF
##4F7D2D1.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)
#827324
Deuteranopia (green-blind)
#7B7033
Tritanopia (blue-blind)
#4F786C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4f7d2d;
/* rgb */ color: rgb(79, 125, 45);
/* oklch */ color: oklch(53.8% 0.122 134.1);
Tailwind
colors: {
  custom: {
    50: '#84a369',
    500: '#4f7d2d',
    950: '#000000',
  },
}
SCSS
$custom: #4f7d2d;
$custom-light: #84a369;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7d2d",
  "rgb": {
    "r": 79,
    "g": 125,
    "b": 45
  },
  "hsl": {
    "h": 94.5,
    "s": 47.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53836,
    "c": 0.12178,
    "h": 134.1
  },
  "luminance": 0.16519
}

Semantic roles & 50–950 ramp

primary
#4F7D2D
secondary
#895AAC
accent
#51D79E
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4F7D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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