#4F8D2E#4F8D2E

#4F8D2E is a mid, vivid yellow-green. Relative luminance 0.209; OKLCH L 58.1% C 0.143 H 136.5°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#4F8D2E
RGBrgb(79, 141, 46)
HSLhsl(99, 51%, 37%)
HSVhsv(99, 67%, 55%)
CMYKcmyk(44%, 0%, 67.4%, 44.7%)
CIE-LABlab(52.85, -37.56, 42.93)
CIE-LCHlch(52.85, 57.04, 131.18°)
OKLaboklab(58.09% -0.1041 0.0986)
OKLCHoklch(58.09% 0.143 136.5)
XYZxyz(13.2421, 20.9085, 5.9222)
Luminance0.2091 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8D2E #6C2E8D
analogous
#7F8D2E #4F8D2E #2E8D3D
triadic
#4F8D2E #2E4F8D #8D2E4F
tetradic
#4F8D2E #2E7F8D #6C2E8D #8D3D2E
square
#4F8D2E #2E7F8D #6C2E8D #8D3D2E
split-complementary
#4F8D2E #3D2E8D #8D2E7F
monochromatic
#1B3110 #355F1F #4F8D2E #69BB3D #8BCE68

Accessibility & contrast

On white

4.05
#4F8D2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#4F8D2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8D2E
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8D2E#FFFFFF#000000##000000
##4F8D2E1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928122
Deuteranopia (green-blind)
#897C36
Tritanopia (blue-blind)
#4C8879
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4f8d2e;
/* rgb */ color: rgb(79, 141, 46);
/* oklch */ color: oklch(58.1% 0.143 136.5);
Tailwind
colors: {
  custom: {
    50: '#85af6c',
    500: '#4f8d2e',
    950: '#000000',
  },
}
SCSS
$custom: #4f8d2e;
$custom-light: #85af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8d2e",
  "rgb": {
    "r": 79,
    "g": 141,
    "b": 46
  },
  "hsl": {
    "h": 99.158,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.5809,
    "c": 0.14339,
    "h": 136.5
  },
  "luminance": 0.20909
}

Semantic roles & 50–950 ramp

primary
#4F8D2E
secondary
#9862B5
accent
#4EDAA9
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4F8D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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